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
I found this online: <https://github.com/jupyter/notebook/issues/1524> seems to be the same issue
2017-12-06T14:33:35.000623
Cecille
pythondev_help_Cecille_2017-12-06T14:33:35.000623
1,512,570,815.000623
102,503
pythondev
help
Yeah so basically you need to figure out what python interpreter it's using
2017-12-06T14:34:21.000179
Myong
pythondev_help_Myong_2017-12-06T14:34:21.000179
1,512,570,861.000179
102,504
pythondev
help
how would I go about doing that?
2017-12-06T14:34:55.000344
Cecille
pythondev_help_Cecille_2017-12-06T14:34:55.000344
1,512,570,895.000344
102,505
pythondev
help
maybe ```import sys print sys.version```
2017-12-06T14:36:46.000216
Sirena
pythondev_help_Sirena_2017-12-06T14:36:46.000216
1,512,571,006.000216
102,506
pythondev
help
?
2017-12-06T14:36:57.000007
Sirena
pythondev_help_Sirena_2017-12-06T14:36:57.000007
1,512,571,017.000007
102,507
pythondev
help
```import sys sys.executable ```
2017-12-06T14:37:34.000005
Seema
pythondev_help_Seema_2017-12-06T14:37:34.000005
1,512,571,054.000005
102,508
pythondev
help
Interesting
2017-12-06T14:37:53.000223
Cecille
pythondev_help_Cecille_2017-12-06T14:37:53.000223
1,512,571,073.000223
102,509
pythondev
help
So i’m getting that it’s reading from ```/usr/bin/python'```
2017-12-06T14:38:08.000111
Cecille
pythondev_help_Cecille_2017-12-06T14:38:08.000111
1,512,571,088.000111
102,510
pythondev
help
anaconda installs a pseudo-environment, I find it easier to use the whole thing in a virtualenv
2017-12-06T14:38:22.000142
Seema
pythondev_help_Seema_2017-12-06T14:38:22.000142
1,512,571,102.000142
102,511
pythondev
help
then it will conda install things into its own path and that may or may not be the same sys.path as the repl
2017-12-06T14:38:45.000218
Seema
pythondev_help_Seema_2017-12-06T14:38:45.000218
1,512,571,125.000218
102,512
pythondev
help
Thats fine, I just need to temporarily use these packages for some projects
2017-12-06T14:39:11.000483
Cecille
pythondev_help_Cecille_2017-12-06T14:39:11.000483
1,512,571,151.000483
102,513
pythondev
help
If I need to install everything into the psuedo enviornment that is fine
2017-12-06T14:39:29.000310
Cecille
pythondev_help_Cecille_2017-12-06T14:39:29.000310
1,512,571,169.00031
102,514
pythondev
help
Should I be using the conda cli then and installing the packages?
2017-12-06T14:39:47.000041
Cecille
pythondev_help_Cecille_2017-12-06T14:39:47.000041
1,512,571,187.000041
102,515
pythondev
help
you can cd anaconda and then source bin/activate then go pip install crazy
2017-12-06T14:39:57.000366
Seema
pythondev_help_Seema_2017-12-06T14:39:57.000366
1,512,571,197.000366
102,516
pythondev
help
I've had too many of the issues you've described and I find doing a clean anaconda environment is the cleanest way for me to manage the different packages (and their installs)
2017-12-06T14:40:37.000285
Seema
pythondev_help_Seema_2017-12-06T14:40:37.000285
1,512,571,237.000285
102,517
pythondev
help
Hmm
2017-12-06T14:41:16.000755
Cecille
pythondev_help_Cecille_2017-12-06T14:41:16.000755
1,512,571,276.000755
102,518
pythondev
help
I see that <#C23BP95K9|bots> is dead, are there any other good resources for slack bots here?
2017-12-06T15:23:48.000412
Glinda
pythondev_help_Glinda_2017-12-06T15:23:48.000412
1,512,573,828.000412
102,519
pythondev
help
in <#C2FMLUBEU|community_projects> we have sir-bot-a-lot which is our friendly neighborhood community bot.
2017-12-06T15:29:39.000218
Johana
pythondev_help_Johana_2017-12-06T15:29:39.000218
1,512,574,179.000218
102,520
pythondev
help
Oh wow, it looks much better than the official slack framwork.
2017-12-06T16:29:52.000191
Glinda
pythondev_help_Glinda_2017-12-06T16:29:52.000191
1,512,577,792.000191
102,521
pythondev
help
Thank you.
2017-12-06T16:29:53.000387
Glinda
pythondev_help_Glinda_2017-12-06T16:29:53.000387
1,512,577,793.000387
102,522
pythondev
help
<@Glinda> if you are looking into building a slack bot I created a slack client that you can find on the pyslackers github. <@Alesia> is not yet build on it but once I got time it will
2017-12-06T16:32:43.000382
Ciera
pythondev_help_Ciera_2017-12-06T16:32:43.000382
1,512,577,963.000382
102,523
pythondev
help
This one? <https://github.com/pyslackers/slack-sansio>
2017-12-06T17:14:20.000374
Glinda
pythondev_help_Glinda_2017-12-06T17:14:20.000374
1,512,580,460.000374
102,524
pythondev
help
yes
2017-12-06T18:28:43.000264
Ciera
pythondev_help_Ciera_2017-12-06T18:28:43.000264
1,512,584,923.000264
102,525
pythondev
help
feel free to ask if you have any questions on it
2017-12-06T18:34:22.000116
Ciera
pythondev_help_Ciera_2017-12-06T18:34:22.000116
1,512,585,262.000116
102,526
pythondev
help
How do you deal with tokens? I'm doing this for a slack I don't own but contribute to their projects. Do I use my personal test slack working, and then commit the code to them and tell them to add their token to the environment?
2017-12-06T19:03:20.000387
Glinda
pythondev_help_Glinda_2017-12-06T19:03:20.000387
1,512,587,000.000387
102,527
pythondev
help
I've been using the `xoxb-` tokens in a local environment with ngrok.
2017-12-06T19:04:30.000142
Glinda
pythondev_help_Glinda_2017-12-06T19:04:30.000142
1,512,587,070.000142
102,528
pythondev
help
Hello, does anyone have experience with `Celery`? Basically, we want to publish an arbitrary data structure to a queue, SQS for the queue, and the object could be `{"foo": "bar"}`. But, Celery expects objects to be in certain format, per the "Messaging Protocol" below: <http://docs.celeryproject.org/en/latest/intern...
2017-12-06T20:07:29.000031
Carmella
pythondev_help_Carmella_2017-12-06T20:07:29.000031
1,512,590,849.000031
102,529
pythondev
help
nobody has ever used Celery
2017-12-06T21:35:41.000147
Lucilla
pythondev_help_Lucilla_2017-12-06T21:35:41.000147
1,512,596,141.000147
102,530
pythondev
help
is a Slack tutorial to create one
2017-12-06T21:36:57.000019
Lucilla
pythondev_help_Lucilla_2017-12-06T21:36:57.000019
1,512,596,217.000019
102,531
pythondev
help
<@Carmella> you could use a lambda function as translation between the two
2017-12-06T21:51:05.000024
Marcie
pythondev_help_Marcie_2017-12-06T21:51:05.000024
1,512,597,065.000024
102,532
pythondev
help
<@Marcie> ok got it. AWS Lambda. I was hoping there'd be a hook in Celery though
2017-12-06T22:00:23.000060
Carmella
pythondev_help_Carmella_2017-12-06T22:00:23.000060
1,512,597,623.00006
102,533
pythondev
help
Hey everyone
2017-12-06T22:55:25.000052
Ricki
pythondev_help_Ricki_2017-12-06T22:55:25.000052
1,512,600,925.000052
102,534
pythondev
help
I’m writing a django query that returns a large amount of results. When I try to print those results, i get three results and “remaining elements truncated.” How can I print out all of the results? Im using something like: n = Example.objects.filter(name__contains = ‘John’).exclude(‘Smith’).values_list(‘name’) prin...
2017-12-06T22:59:38.000056
Sunni
pythondev_help_Sunni_2017-12-06T22:59:38.000056
1,512,601,178.000056
102,535
pythondev
help
<@Sunni> thats default behaviour for queryset objects, you could print the whole list with `print(list(n))`
2017-12-06T23:20:03.000111
Marcie
pythondev_help_Marcie_2017-12-06T23:20:03.000111
1,512,602,403.000111
102,536
pythondev
help
that’s really helpful, thank you!
2017-12-06T23:20:44.000118
Sunni
pythondev_help_Sunni_2017-12-06T23:20:44.000118
1,512,602,444.000118
102,537
pythondev
help
I am trying to write a python wrapper for a java maven project. Any pointers on how to go about it? how to write it so that the resulting library has optimal performance.
2017-12-07T02:45:40.000178
Jacquelyn
pythondev_help_Jacquelyn_2017-12-07T02:45:40.000178
1,512,614,740.000178
102,538
pythondev
help
How do I properly download a `.gz` file? My code below: ``` import requests response = requests.get(map_url, headers=headers) print(response.status_code) if response.status_code == 200: print('Downloading...') file_name = 'file.xml.gz' ``` it does download gz file but it's corrupted, only 1KB a...
2017-12-07T02:55:45.000182
Pasquale
pythondev_help_Pasquale_2017-12-07T02:55:45.000182
1,512,615,345.000182
102,539
pythondev
help
<https://stackoverflow.com/a/16696317/6223515>
2017-12-07T03:02:13.000062
Suellen
pythondev_help_Suellen_2017-12-07T03:02:13.000062
1,512,615,733.000062
102,540
pythondev
help
yeah, stream for the rescue
2017-12-07T03:03:02.000013
Wade
pythondev_help_Wade_2017-12-07T03:03:02.000013
1,512,615,782.000013
102,541
pythondev
help
same issue :confused:
2017-12-07T03:15:50.000092
Pasquale
pythondev_help_Pasquale_2017-12-07T03:15:50.000092
1,512,616,550.000092
102,542
pythondev
help
when unzip it creates `file-reports_2.xml.gz.cpgz`
2017-12-07T03:17:31.000105
Pasquale
pythondev_help_Pasquale_2017-12-07T03:17:31.000105
1,512,616,651.000105
102,543
pythondev
help
<@Glinda> depending on what features you want you should ask them to create you a `bot` or a `workspace` token (see <https://api.slack.com/docs/token-types>)
2017-12-07T03:20:41.000116
Ciera
pythondev_help_Ciera_2017-12-07T03:20:41.000116
1,512,616,841.000116
102,544
pythondev
help
I made a private team for dev, it's much easier that way. And once your are finish ask them the token with the needed permissions
2017-12-07T03:21:52.000063
Ciera
pythondev_help_Ciera_2017-12-07T03:21:52.000063
1,512,616,912.000063
102,545
pythondev
help
In the end the guy hosting the bot will need a token
2017-12-07T03:22:46.000433
Ciera
pythondev_help_Ciera_2017-12-07T03:22:46.000433
1,512,616,966.000433
102,546
pythondev
help
<@Pasquale> what you're trying to download is an HTML page
2017-12-07T03:25:04.000141
Suellen
pythondev_help_Suellen_2017-12-07T03:25:04.000141
1,512,617,104.000141
102,547
pythondev
help
&gt; As you were browsing, something about your browser made us think you were a bot.
2017-12-07T03:26:02.000038
Suellen
pythondev_help_Suellen_2017-12-07T03:26:02.000038
1,512,617,162.000038
102,548
pythondev
help
And there's a captcha
2017-12-07T03:26:06.000259
Suellen
pythondev_help_Suellen_2017-12-07T03:26:06.000259
1,512,617,166.000259
102,549
pythondev
help
hmm but if that's the case, if I download manually it gets downloaded?
2017-12-07T03:41:13.000066
Pasquale
pythondev_help_Pasquale_2017-12-07T03:41:13.000066
1,512,618,073.000066
102,550
pythondev
help
Hi team I need help understanding why my code loops through 20 times…I thought the items(1) cause it to loop once? ```#open/create csv file to append data to csvFile = open('./logs/links.csv', 'a') #use csv writer, reader, example csvWriter = csv.writer(csvFile) screener = api.user_timeline(screen_name = 'TechCrunch'...
2017-12-07T04:15:16.000210
Theressa
pythondev_help_Theressa_2017-12-07T04:15:16.000210
1,512,620,116.00021
102,551
pythondev
help
you also loop over `for tweets in screener`. Is this expected ?
2017-12-07T04:17:04.000153
Ciera
pythondev_help_Ciera_2017-12-07T04:17:04.000153
1,512,620,224.000153
102,552
pythondev
help
I’m not sure if it is intended by I wanted to first get to the user (‘TechCrunch’)
2017-12-07T04:25:31.000076
Theressa
pythondev_help_Theressa_2017-12-07T04:25:31.000076
1,512,620,731.000076
102,553
pythondev
help
So my thinking was `for tweets in TechCrunch` user time line search for tweet with #cruchreport
2017-12-07T04:26:57.000498
Theressa
pythondev_help_Theressa_2017-12-07T04:26:57.000498
1,512,620,817.000498
102,554
pythondev
help
I’m not really sure how else I would implement
2017-12-07T04:27:14.000052
Theressa
pythondev_help_Theressa_2017-12-07T04:27:14.000052
1,512,620,834.000052
102,555
pythondev
help
Sure, since you are using the real browser. And the script isn't a real browser and fails a couple of checks probably.
2017-12-07T04:32:27.000246
Suellen
pythondev_help_Suellen_2017-12-07T04:32:27.000246
1,512,621,147.000246
102,556
pythondev
help
<@Theressa> I'm not familliar with the tweeter API but what I think this does is loop over the timeline of TechCrunch and for each tweet in the timeline query twitter for a tweet with `#crunchreport`
2017-12-07T04:33:56.000143
Ciera
pythondev_help_Ciera_2017-12-07T04:33:56.000143
1,512,621,236.000143
102,557
pythondev
help
There might be a way to search a specific user timeline
2017-12-07T04:34:15.000036
Ciera
pythondev_help_Ciera_2017-12-07T04:34:15.000036
1,512,621,255.000036
102,558
pythondev
help
good point I’ll check the documents
2017-12-07T04:34:42.000348
Theressa
pythondev_help_Theressa_2017-12-07T04:34:42.000348
1,512,621,282.000348
102,559
pythondev
help
<@Ciera> thanks
2017-12-07T04:35:14.000112
Theressa
pythondev_help_Theressa_2017-12-07T04:35:14.000112
1,512,621,314.000112
102,560
pythondev
help
Hey, Can anyone help me out with a Query? I have a table called Component supplier and im getting errors telling me that some components have the same supplier twice. So i need to make a query that will search either the components table or the Component supplirt table and highlight the records with duplicate suppl...
2017-12-07T06:39:26.000349
Robbin
pythondev_help_Robbin_2017-12-07T06:39:26.000349
1,512,628,766.000349
102,561
pythondev
help
```SupplierComponent.objects.values('component_supplier').annotate(name_count=Count('id')).order_by().filter(name_count__gt=1) ``` I have this which lists the supplier and how many components they supply. Now i just need to compare the component, if they have the same part_no and same supplier then i know that record ...
2017-12-07T06:56:38.000352
Robbin
pythondev_help_Robbin_2017-12-07T06:56:38.000352
1,512,629,798.000352
102,562
pythondev
help
Hi! Does anyone know library to build http request string (I mean I need plain http request string; I need to make a payload for goreplay)?
2017-12-07T10:03:06.000290
Chu
pythondev_help_Chu_2017-12-07T10:03:06.000290
1,512,640,986.00029
102,563
pythondev
help
I don't know one but maybe `requests` provide this ?
2017-12-07T10:10:41.000525
Ciera
pythondev_help_Ciera_2017-12-07T10:10:41.000525
1,512,641,441.000525
102,564
pythondev
help
Anyone have a particular `.xlsx` python module they like?
2017-12-07T10:22:31.000889
Myong
pythondev_help_Myong_2017-12-07T10:22:31.000889
1,512,642,151.000889
102,565
pythondev
help
I'm currently writing data to a csv, but I'd like to port it into a workbook with templating/formatting etc
2017-12-07T10:23:04.000028
Myong
pythondev_help_Myong_2017-12-07T10:23:04.000028
1,512,642,184.000028
102,566
pythondev
help
<http://xlsxwriter.readthedocs.io/>
2017-12-07T10:23:21.000126
Winnifred
pythondev_help_Winnifred_2017-12-07T10:23:21.000126
1,512,642,201.000126
102,567
pythondev
help
xlsxwriter
2017-12-07T10:23:22.000875
Meg
pythondev_help_Meg_2017-12-07T10:23:22.000875
1,512,642,202.000875
102,568
pythondev
help
downside, that’s write-onluy
2017-12-07T10:23:40.000104
Meg
pythondev_help_Meg_2017-12-07T10:23:40.000104
1,512,642,220.000104
102,569
pythondev
help
Can I append with it?
2017-12-07T10:23:49.000398
Myong
pythondev_help_Myong_2017-12-07T10:23:49.000398
1,512,642,229.000398
102,570
pythondev
help
so you can’t use it to modify an existing workbook
2017-12-07T10:23:49.000631
Meg
pythondev_help_Meg_2017-12-07T10:23:49.000631
1,512,642,229.000631
102,571
pythondev
help
well, it’s not `xlsxreadwriter`
2017-12-07T10:23:54.000220
Patty
pythondev_help_Patty_2017-12-07T10:23:54.000220
1,512,642,234.00022
102,572
pythondev
help
lol
2017-12-07T10:23:58.000115
Myong
pythondev_help_Myong_2017-12-07T10:23:58.000115
1,512,642,238.000115
102,573
pythondev
help
True
2017-12-07T10:23:59.000439
Myong
pythondev_help_Myong_2017-12-07T10:23:59.000439
1,512,642,239.000439
102,574
pythondev
help
Oh <@Patty> btw I think I figured out what the final project will be for next semester
2017-12-07T10:25:07.000502
Myong
pythondev_help_Myong_2017-12-07T10:25:07.000502
1,512,642,307.000502
102,575
pythondev
help
whats that?
2017-12-07T10:25:27.000056
Patty
pythondev_help_Patty_2017-12-07T10:25:27.000056
1,512,642,327.000056
102,576
pythondev
help
xlsx reader?
2017-12-07T10:25:34.000065
Patty
pythondev_help_Patty_2017-12-07T10:25:34.000065
1,512,642,334.000065
102,577
pythondev
help
:troll:
2017-12-07T10:25:39.000133
Patty
pythondev_help_Patty_2017-12-07T10:25:39.000133
1,512,642,339.000133
102,578
pythondev
help
:smile:
2017-12-07T10:25:40.000091
Meg
pythondev_help_Meg_2017-12-07T10:25:40.000091
1,512,642,340.000091
102,579
pythondev
help
<http://xlsxwriter.readthedocs.io/introduction.html>
2017-12-07T10:25:43.000460
Meg
pythondev_help_Meg_2017-12-07T10:25:43.000460
1,512,642,343.00046
102,580
pythondev
help
check ‘disadvantages’
2017-12-07T10:25:49.000850
Meg
pythondev_help_Meg_2017-12-07T10:25:49.000850
1,512,642,349.00085
102,581
pythondev
help
Same sort of beacon networking using the LoRa stuff, but found thse micro python embedded chips with native LoRa radios <https://pycom.io/product/lopy/>
2017-12-07T10:26:01.000760
Myong
pythondev_help_Myong_2017-12-07T10:26:01.000760
1,512,642,361.00076
102,582
pythondev
help
ah nice!
2017-12-07T10:26:31.000477
Patty
pythondev_help_Patty_2017-12-07T10:26:31.000477
1,512,642,391.000477
102,583
pythondev
help
i actually saw a job posting about LoRa the other day, lol
2017-12-07T10:26:46.000599
Patty
pythondev_help_Patty_2017-12-07T10:26:46.000599
1,512,642,406.000599
102,584
pythondev
help
Oh that's interesting. Friends company down here in Florida does a lot of work with embedded devices and IoT. I don't think they work with LoRa in particular but they have some proprietary devices they implement
2017-12-07T10:27:47.000641
Myong
pythondev_help_Myong_2017-12-07T10:27:47.000641
1,512,642,467.000641
102,585
pythondev
help
For xlsxwriter is there a function similar to `writerow()` in the `csv` module where I can simply pass in a list of row items?\
2017-12-07T10:33:35.000240
Myong
pythondev_help_Myong_2017-12-07T10:33:35.000240
1,512,642,815.00024
102,586
pythondev
help
I guess I can always do something like...
2017-12-07T10:34:02.000191
Myong
pythondev_help_Myong_2017-12-07T10:34:02.000191
1,512,642,842.000191
102,587
pythondev
help
<@Myong> I went to a talk by the auther of pyexcel the other day, seemed pretty cool
2017-12-07T10:40:29.000635
Fabiola
pythondev_help_Fabiola_2017-12-07T10:40:29.000635
1,512,643,229.000635
102,588
pythondev
help
<https://github.com/pyexcel/pyexcel>
2017-12-07T10:40:39.000232
Fabiola
pythondev_help_Fabiola_2017-12-07T10:40:39.000232
1,512,643,239.000232
102,589
pythondev
help
I've used openpyxl in the past and it was ok. <http://openpyxl.readthedocs.io/en/default/>
2017-12-07T10:40:58.000268
Fabiola
pythondev_help_Fabiola_2017-12-07T10:40:58.000268
1,512,643,258.000268
102,590
pythondev
help
Actually looks interesting
2017-12-07T10:41:32.000471
Myong
pythondev_help_Myong_2017-12-07T10:41:32.000471
1,512,643,292.000471
102,591
pythondev
help
Yeah, can't comment on the API ergonomics, but the objective of pluggable functionality is pretty cool
2017-12-07T10:42:37.000529
Fabiola
pythondev_help_Fabiola_2017-12-07T10:42:37.000529
1,512,643,357.000529
102,592
pythondev
help
It looks like it's really modular so you use what you need
2017-12-07T10:43:19.000625
Myong
pythondev_help_Myong_2017-12-07T10:43:19.000625
1,512,643,399.000625
102,593
pythondev
help
Wow you legitimately just add a list of list to an ordered dict and it does everything else for you
2017-12-07T10:45:17.000002
Myong
pythondev_help_Myong_2017-12-07T10:45:17.000002
1,512,643,517.000002
102,594
pythondev
help
<@Marg> check out line 35 in your snippet
2017-12-07T11:16:10.000288
Myong
pythondev_help_Myong_2017-12-07T11:16:10.000288
1,512,645,370.000288
102,595
pythondev
help
You're missing an indent
2017-12-07T11:16:32.000307
Myong
pythondev_help_Myong_2017-12-07T11:16:32.000307
1,512,645,392.000307
102,596
pythondev
help
noted
2017-12-07T11:17:40.000254
Marg
pythondev_help_Marg_2017-12-07T11:17:40.000254
1,512,645,460.000254
102,597
pythondev
help
Also may be a good time to mention <https://www.python.org/dev/peps/pep-0008/> to get some more consistency
2017-12-07T11:18:57.000831
Patty
pythondev_help_Patty_2017-12-07T11:18:57.000831
1,512,645,537.000831
102,598
pythondev
help
I started using pep8 a while back, But I've seen that even with pep8 there's stylistic choices and then pycharm will regularly yell at me for things that idk what is going on.
2017-12-07T12:01:16.000403
Glinda
pythondev_help_Glinda_2017-12-07T12:01:16.000403
1,512,648,076.000403
102,599
pythondev
help
like this ```def on_open(ws): logger.debug('Connection Started - Auto Greeting new joiners to the network') def run_bot(): setup_logging() url_response = start_rtm() web_socket = websocket.WebSocketApp(url_response, on_message=on_message, ...
2017-12-07T12:01:37.000055
Glinda
pythondev_help_Glinda_2017-12-07T12:01:37.000055
1,512,648,097.000055
102,600
pythondev
help
it doesn't like the `ws` in on_open.
2017-12-07T12:01:50.000907
Glinda
pythondev_help_Glinda_2017-12-07T12:01:50.000907
1,512,648,110.000907
102,601
pythondev
help
in the comments because of scope?
2017-12-07T12:02:32.000613
Seema
pythondev_help_Seema_2017-12-07T12:02:32.000613
1,512,648,152.000613
102,602