workspace
stringclasses
1 value
channel
stringclasses
1 value
sentences
stringlengths
1
3.93k
ts
stringlengths
26
26
user
stringlengths
2
11
sentence_id
stringlengths
44
53
timestamp
float64
1.5B
1.56B
__index_level_0__
int64
0
106k
pythondev
help
sorii i don't mention period ```.constants``` , but i was using it
2019-02-03T09:22:15.724700
Carissa
pythondev_help_Carissa_2019-02-03T09:22:15.724700
1,549,185,735.7247
6,221
pythondev
help
so, when you do `import constants`, that means everything inside `constants` is available in that namespace
2019-02-03T09:24:50.725300
Hiroko
pythondev_help_Hiroko_2019-02-03T09:24:50.725300
1,549,185,890.7253
6,222
pythondev
help
so, `constants.Constant` is usable inside the file you’re importing to
2019-02-03T09:25:08.725700
Hiroko
pythondev_help_Hiroko_2019-02-03T09:25:08.725700
1,549,185,908.7257
6,223
pythondev
help
but if you want to use just the class, you’d do `from .constants import Constant`, which would say “Hey, go to this file in this same package and get me the class named Constant”
2019-02-03T09:25:55.726700
Hiroko
pythondev_help_Hiroko_2019-02-03T09:25:55.726700
1,549,185,955.7267
6,224
pythondev
help
then you;d use it like `c = Constant(...)`
2019-02-03T09:26:12.727100
Hiroko
pythondev_help_Hiroko_2019-02-03T09:26:12.727100
1,549,185,972.7271
6,225
pythondev
help
thanks <@Hiroko>, but i was doing just you tell me, but that's doesn't resolve ``` ValueError: Attempted relative import in non-package ```
2019-02-03T09:37:28.728300
Carissa
pythondev_help_Carissa_2019-02-03T09:37:28.728300
1,549,186,648.7283
6,226
pythondev
help
do you have `__init__.py` in the same folder as everything else?
2019-02-03T09:37:55.729000
Hiroko
pythondev_help_Hiroko_2019-02-03T09:37:55.729000
1,549,186,675.729
6,227
pythondev
help
yup
2019-02-03T09:38:03.729200
Carissa
pythondev_help_Carissa_2019-02-03T09:38:03.729200
1,549,186,683.7292
6,228
pythondev
help
show your folder structure and files
2019-02-03T09:38:48.730100
Hiroko
pythondev_help_Hiroko_2019-02-03T09:38:48.730100
1,549,186,728.7301
6,229
pythondev
help
because that error usually only pops up when you don’t have an `__init__.py` file in the folder
2019-02-03T09:39:12.730800
Hiroko
pythondev_help_Hiroko_2019-02-03T09:39:12.730800
1,549,186,752.7308
6,230
pythondev
help
None
2019-02-03T09:41:29.730900
Carissa
pythondev_help_Carissa_2019-02-03T09:41:29.730900
1,549,186,889.7309
6,231
pythondev
help
i was using ``` from .constants import constants ``` in feconf file
2019-02-03T09:42:46.731800
Carissa
pythondev_help_Carissa_2019-02-03T09:42:46.731800
1,549,186,966.7318
6,232
pythondev
help
and i wan't to inform ``` constants ``` is not class it is object in ```constants.py ``` file
2019-02-03T09:43:34.732600
Carissa
pythondev_help_Carissa_2019-02-03T09:43:34.732600
1,549,187,014.7326
6,233
pythondev
help
Can anyone please help me? I am getting a syntax error in the following code: ``` student = { "name": "Mark" "student_id":15163, "feedback": None } try: last_name - student["last_name"] = "Kowalski" numbered_last_name = 3 + last_name except KeyError: #an error that is being handled print("Err...
2019-02-03T11:09:13.733800
Kali
pythondev_help_Kali_2019-02-03T11:09:13.733800
1,549,192,153.7338
6,234
pythondev
help
syntax error lies within the "student_id":15163,
2019-02-03T11:09:43.734300
Kali
pythondev_help_Kali_2019-02-03T11:09:43.734300
1,549,192,183.7343
6,235
pythondev
help
missing a comma after the `"name": "Mark"` line
2019-02-03T11:15:30.734800
Kiera
pythondev_help_Kiera_2019-02-03T11:15:30.734800
1,549,192,530.7348
6,236
pythondev
help
thanks!
2019-02-03T11:54:02.735200
Kali
pythondev_help_Kali_2019-02-03T11:54:02.735200
1,549,194,842.7352
6,237
pythondev
help
please put period ``` , ``` after ``` "name": "Mark" ```
2019-02-03T12:09:43.736000
Carissa
pythondev_help_Carissa_2019-02-03T12:09:43.736000
1,549,195,783.736
6,238
pythondev
help
```set_push = partial(copy_files,to_local=False) with ThreadPoolExecutor(max_workers=workers) as executor: result = list(executor.map(set_push, source_split, destination_split))``` is there a way to use timeout for this?
2019-02-03T14:17:09.737300
Lanelle
pythondev_help_Lanelle_2019-02-03T14:17:09.737300
1,549,203,429.7373
6,239
pythondev
help
I am not able to directly use `signal` module as my above snippet uses threading
2019-02-03T14:17:27.737700
Lanelle
pythondev_help_Lanelle_2019-02-03T14:17:27.737700
1,549,203,447.7377
6,240
pythondev
help
<https://stackoverflow.com/questions/25976350/timeout-for-each-thread-in-threadpool-in-python>
2019-02-03T14:58:13.737900
Hiroko
pythondev_help_Hiroko_2019-02-03T14:58:13.737900
1,549,205,893.7379
6,241
pythondev
help
hmm tried using that.. somehow its not getting timed out.. never mind
2019-02-03T15:15:05.738500
Lanelle
pythondev_help_Lanelle_2019-02-03T15:15:05.738500
1,549,206,905.7385
6,242
pythondev
help
can I get some help on this?
2019-02-04T03:40:40.743600
Brittny
pythondev_help_Brittny_2019-02-04T03:40:40.743600
1,549,251,640.7436
6,243
pythondev
help
Please don’t @ everyone
2019-02-04T03:40:50.743900
Brittanie
pythondev_help_Brittanie_2019-02-04T03:40:50.743900
1,549,251,650.7439
6,244
pythondev
help
you just pinged 19K users
2019-02-04T03:41:02.744500
Brittanie
pythondev_help_Brittanie_2019-02-04T03:41:02.744500
1,549,251,662.7445
6,245
pythondev
help
hmm
2019-02-04T03:41:06.744800
Marget
pythondev_help_Marget_2019-02-04T03:41:06.744800
1,549,251,666.7448
6,246
pythondev
help
Every time you use @ everyone a kitten dies.
2019-02-04T03:41:08.744900
Vernell
pythondev_help_Vernell_2019-02-04T03:41:08.744900
1,549,251,668.7449
6,247
pythondev
help
:cry:
2019-02-04T03:41:13.745300
Judi
pythondev_help_Judi_2019-02-04T03:41:13.745300
1,549,251,673.7453
6,248
pythondev
help
Pls do not use everyone handle...
2019-02-04T03:41:13.745400
Waldo
pythondev_help_Waldo_2019-02-04T03:41:13.745400
1,549,251,673.7454
6,249
pythondev
help
i dont like cats so thats okay
2019-02-04T03:41:20.745900
Brittny
pythondev_help_Brittny_2019-02-04T03:41:20.745900
1,549,251,680.7459
6,250
pythondev
help
that should be disabled here
2019-02-04T03:41:21.746000
Jimmy
pythondev_help_Jimmy_2019-02-04T03:41:21.746000
1,549,251,681.746
6,251
pythondev
help
weird
2019-02-04T03:41:27.746300
Jimmy
pythondev_help_Jimmy_2019-02-04T03:41:27.746300
1,549,251,687.7463
6,252
pythondev
help
yeet
2019-02-04T03:41:35.746900
Mica
pythondev_help_Mica_2019-02-04T03:41:35.746900
1,549,251,695.7469
6,253
pythondev
help
Is @ channel disabled?
2019-02-04T03:41:41.747500
Malena
pythondev_help_Malena_2019-02-04T03:41:41.747500
1,549,251,701.7475
6,254
pythondev
help
&gt;i dont like cats so thats okay chaotic evil
2019-02-04T03:41:44.747700
Conrad
pythondev_help_Conrad_2019-02-04T03:41:44.747700
1,549,251,704.7477
6,255
pythondev
help
your first function name could do with some work
2019-02-04T03:41:44.747800
Waldo
pythondev_help_Waldo_2019-02-04T03:41:44.747800
1,549,251,704.7478
6,256
pythondev
help
<@Malena> I'm too afraid to test :joy:
2019-02-04T03:42:05.748700
Mica
pythondev_help_Mica_2019-02-04T03:42:05.748700
1,549,251,725.7487
6,257
pythondev
help
jesus...
2019-02-04T03:42:23.749600
Mica
pythondev_help_Mica_2019-02-04T03:42:23.749600
1,549,251,743.7496
6,258
pythondev
help
Well everyone's probably here now anyway... :wink:
2019-02-04T03:42:24.749700
Malena
pythondev_help_Malena_2019-02-04T03:42:24.749700
1,549,251,744.7497
6,259
pythondev
help
only just noticed the name of the first func....
2019-02-04T03:42:31.750000
Mica
pythondev_help_Mica_2019-02-04T03:42:31.750000
1,549,251,751.75
6,260
pythondev
help
I didn't write it, its my friends
2019-02-04T03:42:46.750500
Brittny
pythondev_help_Brittny_2019-02-04T03:42:46.750500
1,549,251,766.7505
6,261
pythondev
help
for class
2019-02-04T03:42:49.750800
Brittny
pythondev_help_Brittny_2019-02-04T03:42:49.750800
1,549,251,769.7508
6,262
pythondev
help
that old chestnut
2019-02-04T03:42:59.751400
Waldo
pythondev_help_Waldo_2019-02-04T03:42:59.751400
1,549,251,779.7514
6,263
pythondev
help
yh i wouldn't recommend submitting that
2019-02-04T03:43:02.751700
Mica
pythondev_help_Mica_2019-02-04T03:43:02.751700
1,549,251,782.7517
6,264
pythondev
help
'asking for a friend'
2019-02-04T03:43:03.751800
Waldo
pythondev_help_Waldo_2019-02-04T03:43:03.751800
1,549,251,783.7518
6,265
pythondev
help
I was hoping it's some sort of language thing. Hope he's not anglozone.
2019-02-04T03:43:03.751900
Malena
pythondev_help_Malena_2019-02-04T03:43:03.751900
1,549,251,783.7519
6,266
pythondev
help
im spain
2019-02-04T03:43:14.752200
Brittny
pythondev_help_Brittny_2019-02-04T03:43:14.752200
1,549,251,794.7522
6,267
pythondev
help
probably sent you that to see you submit it :joy:
2019-02-04T03:43:18.752400
Mica
pythondev_help_Mica_2019-02-04T03:43:18.752400
1,549,251,798.7524
6,268
pythondev
help
What do you think that word means?
2019-02-04T03:43:28.752800
Malena
pythondev_help_Malena_2019-02-04T03:43:28.752800
1,549,251,808.7528
6,269
pythondev
help
rename the first function - chorizo
2019-02-04T03:43:32.753000
Waldo
pythondev_help_Waldo_2019-02-04T03:43:32.753000
1,549,251,812.753
6,270
pythondev
help
idk
2019-02-04T03:43:34.753400
Brittny
pythondev_help_Brittny_2019-02-04T03:43:34.753400
1,549,251,814.7534
6,271
pythondev
help
what it mean
2019-02-04T03:43:40.753700
Brittny
pythondev_help_Brittny_2019-02-04T03:43:40.753700
1,549,251,820.7537
6,272
pythondev
help
it has *huge* racial conitations
2019-02-04T03:43:43.754100
Mica
pythondev_help_Mica_2019-02-04T03:43:43.754100
1,549,251,823.7541
6,273
pythondev
help
is that why code not working
2019-02-04T03:43:45.754200
Brittny
pythondev_help_Brittny_2019-02-04T03:43:45.754200
1,549,251,825.7542
6,274
pythondev
help
?
2019-02-04T03:43:46.754400
Brittny
pythondev_help_Brittny_2019-02-04T03:43:46.754400
1,549,251,826.7544
6,275
pythondev
help
lol no
2019-02-04T03:43:49.754600
Mica
pythondev_help_Mica_2019-02-04T03:43:49.754600
1,549,251,829.7546
6,276
pythondev
help
so what is issue
2019-02-04T03:43:55.754900
Brittny
pythondev_help_Brittny_2019-02-04T03:43:55.754900
1,549,251,835.7549
6,277
pythondev
help
the interpreter isn't rejecting your code because of that :stuck_out_tongue:
2019-02-04T03:44:08.755500
Mica
pythondev_help_Mica_2019-02-04T03:44:08.755500
1,549,251,848.7555
6,278
pythondev
help
You should probably Google it and educate yourselves so you don't offend people accidentally.
2019-02-04T03:44:09.755600
Malena
pythondev_help_Malena_2019-02-04T03:44:09.755600
1,549,251,849.7556
6,279
pythondev
help
what happens why you run it?
2019-02-04T03:44:16.755900
Mica
pythondev_help_Mica_2019-02-04T03:44:16.755900
1,549,251,856.7559
6,280
pythondev
help
what error are you getting?
2019-02-04T03:44:22.756200
Mica
pythondev_help_Mica_2019-02-04T03:44:22.756200
1,549,251,862.7562
6,281
pythondev
help
WHat is the error when you run the code
2019-02-04T03:44:24.756500
Waldo
pythondev_help_Waldo_2019-02-04T03:44:24.756500
1,549,251,864.7565
6,282
pythondev
help
this what I found on google
2019-02-04T03:44:28.757000
Brittny
pythondev_help_Brittny_2019-02-04T03:44:28.757000
1,549,251,868.757
6,283
pythondev
help
i dont see how this help me
2019-02-04T03:44:33.757300
Brittny
pythondev_help_Brittny_2019-02-04T03:44:33.757300
1,549,251,873.7573
6,284
pythondev
help
I think this is slowly getting worse.
2019-02-04T03:44:41.757700
Malena
pythondev_help_Malena_2019-02-04T03:44:41.757700
1,549,251,881.7577
6,285
pythondev
help
Y I K E S
2019-02-04T03:44:41.757800
Mica
pythondev_help_Mica_2019-02-04T03:44:41.757800
1,549,251,881.7578
6,286
pythondev
help
the `n-word` is a racially derogatory/offence term for a black person
2019-02-04T03:44:58.758200
Mica
pythondev_help_Mica_2019-02-04T03:44:58.758200
1,549,251,898.7582
6,287
pythondev
help
I'm sensing a troll.
2019-02-04T03:45:07.758600
Malena
pythondev_help_Malena_2019-02-04T03:45:07.758600
1,549,251,907.7586
6,288
pythondev
help
ok I see, its bad. But why is my code not working
2019-02-04T03:45:15.759100
Brittny
pythondev_help_Brittny_2019-02-04T03:45:15.759100
1,549,251,915.7591
6,289
pythondev
help
alexa - play gordocito
2019-02-04T03:45:21.759300
Conrad
pythondev_help_Conrad_2019-02-04T03:45:21.759300
1,549,251,921.7593
6,290
pythondev
help
what error are you getting?
2019-02-04T03:45:23.759400
Mica
pythondev_help_Mica_2019-02-04T03:45:23.759400
1,549,251,923.7594
6,291
pythondev
help
:wave:
2019-02-04T03:45:36.760000
Jimmy
pythondev_help_Jimmy_2019-02-04T03:45:36.760000
1,549,251,936.76
6,292
pythondev
help
I don't have the patience to deal with that today
2019-02-04T03:45:53.760300
Jimmy
pythondev_help_Jimmy_2019-02-04T03:45:53.760300
1,549,251,953.7603
6,293
pythondev
help
it's too early
2019-02-04T03:46:00.760500
Mica
pythondev_help_Mica_2019-02-04T03:46:00.760500
1,549,251,960.7605
6,294
pythondev
help
Make it go away, <@Jimmy>.
2019-02-04T03:46:07.760800
Malena
pythondev_help_Malena_2019-02-04T03:46:07.760800
1,549,251,967.7608
6,295
pythondev
help
if serious, plz rename that to *anything* else
2019-02-04T03:46:17.761600
Mica
pythondev_help_Mica_2019-02-04T03:46:17.761600
1,549,251,977.7616
6,296
pythondev
help
I'd probably remove the second comment with the word in it too
2019-02-04T03:46:46.762100
Mica
pythondev_help_Mica_2019-02-04T03:46:46.762100
1,549,252,006.7621
6,297
pythondev
help
thanks!
2019-02-04T03:47:10.762400
Mica
pythondev_help_Mica_2019-02-04T03:47:10.762400
1,549,252,030.7624
6,298
pythondev
help
but on another note it look like we can't disable @ anymore ...
2019-02-04T03:47:34.762900
Jimmy
pythondev_help_Jimmy_2019-02-04T03:47:34.762900
1,549,252,054.7629
6,299
pythondev
help
it's not coming up as an option for me
2019-02-04T03:47:54.763200
Mica
pythondev_help_Mica_2019-02-04T03:47:54.763200
1,549,252,074.7632
6,300
pythondev
help
might still work though, just not come up as a suggestion
2019-02-04T03:48:08.763900
Mica
pythondev_help_Mica_2019-02-04T03:48:08.763900
1,549,252,088.7639
6,301
pythondev
help
Oh, same here. Ditto with @ channel.
2019-02-04T03:48:18.764300
Malena
pythondev_help_Malena_2019-02-04T03:48:18.764300
1,549,252,098.7643
6,302
pythondev
help
it's something in the admin pannel but I can't find the option back
2019-02-04T03:48:24.764500
Jimmy
pythondev_help_Jimmy_2019-02-04T03:48:24.764500
1,549,252,104.7645
6,303
pythondev
help
and I doubt anyone changed it. So maybe slack removed that feature
2019-02-04T03:48:39.765000
Jimmy
pythondev_help_Jimmy_2019-02-04T03:48:39.765000
1,549,252,119.765
6,304
pythondev
help
I would guess @ channel would still work too then. If we had a _really_ empty channel we could test it.
2019-02-04T03:49:17.765700
Malena
pythondev_help_Malena_2019-02-04T03:49:17.765700
1,549,252,157.7657
6,305
pythondev
help
But anyway :taco: for you <@Jimmy>.
2019-02-04T03:49:43.766100
Malena
pythondev_help_Malena_2019-02-04T03:49:43.766100
1,549,252,183.7661
6,306
pythondev
help
ye, cheers <@Jimmy> :taco:!
2019-02-04T03:50:57.766800
Mica
pythondev_help_Mica_2019-02-04T03:50:57.766800
1,549,252,257.7668
6,307
pythondev
help
thanks
2019-02-04T03:51:12.767200
Jimmy
pythondev_help_Jimmy_2019-02-04T03:51:12.767200
1,549,252,272.7672
6,308
pythondev
help
<@Jimmy> ^^^
2019-02-04T03:53:42.768800
Mica
pythondev_help_Mica_2019-02-04T03:53:42.768800
1,549,252,422.7688
6,309
pythondev
help
haalllp
2019-02-04T03:53:45.769000
Mica
pythondev_help_Mica_2019-02-04T03:53:45.769000
1,549,252,425.769
6,310
pythondev
help
wtf
2019-02-04T03:53:49.769200
Waldo
pythondev_help_Waldo_2019-02-04T03:53:49.769200
1,549,252,429.7692
6,311
pythondev
help
might be the same individual
2019-02-04T03:54:18.769900
Mica
pythondev_help_Mica_2019-02-04T03:54:18.769900
1,549,252,458.7699
6,312
pythondev
help
double check for recent emails
2019-02-04T03:54:36.770600
Mica
pythondev_help_Mica_2019-02-04T03:54:36.770600
1,549,252,476.7706
6,313
pythondev
help
asking to join etc.
2019-02-04T03:54:43.770800
Mica
pythondev_help_Mica_2019-02-04T03:54:43.770800
1,549,252,483.7708
6,314
pythondev
help
<@Jimmy> cheers! :taco:
2019-02-04T03:54:57.771100
Mica
pythondev_help_Mica_2019-02-04T03:54:57.771100
1,549,252,497.7711
6,315
pythondev
help
I killed nginx, should disabled the invite for now
2019-02-04T03:55:21.771400
Jimmy
pythondev_help_Jimmy_2019-02-04T03:55:21.771400
1,549,252,521.7714
6,316
pythondev
help
will that affect all new invites?
2019-02-04T03:55:51.771700
Mica
pythondev_help_Mica_2019-02-04T03:55:51.771700
1,549,252,551.7717
6,317
pythondev
help
the website if offline
2019-02-04T03:56:03.771900
Jimmy
pythondev_help_Jimmy_2019-02-04T03:56:03.771900
1,549,252,563.7719
6,318
pythondev
help
so for now yeah
2019-02-04T03:56:09.772300
Jimmy
pythondev_help_Jimmy_2019-02-04T03:56:09.772300
1,549,252,569.7723
6,319
pythondev
help
ok cool
2019-02-04T03:56:22.772500
Mica
pythondev_help_Mica_2019-02-04T03:56:22.772500
1,549,252,582.7725
6,320