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
or whatever you call it
2017-12-18T10:18:10.000627
Corrinne
pythondev_help_Corrinne_2017-12-18T10:18:10.000627
1,513,592,290.000627
104,503
pythondev
help
oh nice another dba. i came into python via the database world too!
2017-12-18T10:18:31.000835
Johana
pythondev_help_Johana_2017-12-18T10:18:31.000835
1,513,592,311.000835
104,504
pythondev
help
Do I need to save my scripts to a specific location based off of my PATH ?
2017-12-18T10:18:35.000580
Hassie
pythondev_help_Hassie_2017-12-18T10:18:35.000580
1,513,592,315.00058
104,505
pythondev
help
no
2017-12-18T10:18:41.000024
Meg
pythondev_help_Meg_2017-12-18T10:18:41.000024
1,513,592,321.000024
104,506
pythondev
help
No you can save them anywhere
2017-12-18T10:18:46.000026
Corrinne
pythondev_help_Corrinne_2017-12-18T10:18:46.000026
1,513,592,326.000026
104,507
pythondev
help
"ahead b/c of changes not yet in original master" "changes made for PR" "created forked master when inro'd changes" So in my head, this is how it all went down: 1) I forked, and a new "forked master" (as you called it) was created. 2) I made changes and committed to MY forked master (my fork; my local copy). 3) I did ...
2017-12-18T10:19:01.000345
Deedee
pythondev_help_Deedee_2017-12-18T10:19:01.000345
1,513,592,341.000345
104,508
pythondev
help
just cd into the same directory from your terminal
2017-12-18T10:19:08.000034
Corrinne
pythondev_help_Corrinne_2017-12-18T10:19:08.000034
1,513,592,348.000034
104,509
pythondev
help
So another ignorant question... if I see "./path/file.py" what does the "./" mean ?
2017-12-18T10:19:51.000006
Hassie
pythondev_help_Hassie_2017-12-18T10:19:51.000006
1,513,592,391.000006
104,510
pythondev
help
where are you seeing this?
2017-12-18T10:20:08.000051
Corrinne
pythondev_help_Corrinne_2017-12-18T10:20:08.000051
1,513,592,408.000051
104,511
pythondev
help
I'm not seeing it right now but I see it a lot in the dev community
2017-12-18T10:20:29.000682
Hassie
pythondev_help_Hassie_2017-12-18T10:20:29.000682
1,513,592,429.000682
104,512
pythondev
help
`./` means execute the file at the given path starting current directory
2017-12-18T10:20:37.000409
Meg
pythondev_help_Meg_2017-12-18T10:20:37.000409
1,513,592,437.000409
104,513
pythondev
help
if you omit the `.`, it means start from the root directory
2017-12-18T10:20:59.000704
Meg
pythondev_help_Meg_2017-12-18T10:20:59.000704
1,513,592,459.000704
104,514
pythondev
help
open any text editor and type `print("Woohoo I'm running a python script!")` and save it to your desktop as hello.py
2017-12-18T10:21:28.000053
Corrinne
pythondev_help_Corrinne_2017-12-18T10:21:28.000053
1,513,592,488.000053
104,515
pythondev
help
open your terminal
2017-12-18T10:21:35.000801
Corrinne
pythondev_help_Corrinne_2017-12-18T10:21:35.000801
1,513,592,495.000801
104,516
pythondev
help
cd into desktop
2017-12-18T10:21:41.000832
Corrinne
pythondev_help_Corrinne_2017-12-18T10:21:41.000832
1,513,592,501.000832
104,517
pythondev
help
and type `python hello.py`
2017-12-18T10:21:53.000626
Corrinne
pythondev_help_Corrinne_2017-12-18T10:21:53.000626
1,513,592,513.000626
104,518
pythondev
help
You can use idle if you want by going up to `file` and selecting `new`
2017-12-18T10:23:10.000346
Corrinne
pythondev_help_Corrinne_2017-12-18T10:23:10.000346
1,513,592,590.000346
104,519
pythondev
help
If other changes were made, you don't have them yet, right?
2017-12-18T10:25:13.000279
Suellen
pythondev_help_Suellen_2017-12-18T10:25:13.000279
1,513,592,713.000279
104,520
pythondev
help
I should have gotten them when I sync'd it
2017-12-18T10:26:08.000502
Deedee
pythondev_help_Deedee_2017-12-18T10:26:08.000502
1,513,592,768.000502
104,521
pythondev
help
That's true :\
2017-12-18T10:26:29.000048
Suellen
pythondev_help_Suellen_2017-12-18T10:26:29.000048
1,513,592,789.000048
104,522
pythondev
help
I have made no changes after sync'ing. Just realized that I found this last nigh <https://stackoverflow.com/a/12636345> and haven't gone through it. I'll give it a read in a little bit and report back.
2017-12-18T10:29:34.000203
Deedee
pythondev_help_Deedee_2017-12-18T10:29:34.000203
1,513,592,974.000203
104,523
pythondev
help
<@Suellen> :taco:
2017-12-18T10:29:46.000250
Deedee
pythondev_help_Deedee_2017-12-18T10:29:46.000250
1,513,592,986.00025
104,524
pythondev
help
Thanks for your time
2017-12-18T10:29:54.000153
Deedee
pythondev_help_Deedee_2017-12-18T10:29:54.000153
1,513,592,994.000153
104,525
pythondev
help
:o
2017-12-18T10:30:03.000135
Suellen
pythondev_help_Suellen_2017-12-18T10:30:03.000135
1,513,593,003.000135
104,526
pythondev
help
ok, i got it
2017-12-18T10:30:07.000088
Hassie
pythondev_help_Hassie_2017-12-18T10:30:07.000088
1,513,593,007.000088
104,527
pythondev
help
You're welcome :))
2017-12-18T10:30:07.000441
Suellen
pythondev_help_Suellen_2017-12-18T10:30:07.000441
1,513,593,007.000441
104,528
pythondev
help
probably python2 vs 3?
2017-12-18T10:30:12.000348
Meg
pythondev_help_Meg_2017-12-18T10:30:12.000348
1,513,593,012.000348
104,529
pythondev
help
could be
2017-12-18T10:30:19.000223
Corrinne
pythondev_help_Corrinne_2017-12-18T10:30:19.000223
1,513,593,019.000223
104,530
pythondev
help
try the command `python3 hello.py`
2017-12-18T10:30:34.000046
Corrinne
pythondev_help_Corrinne_2017-12-18T10:30:34.000046
1,513,593,034.000046
104,531
pythondev
help
I had to create a new IDLE page without the "Python 3.6.3 ... version info
2017-12-18T10:30:43.000674
Hassie
pythondev_help_Hassie_2017-12-18T10:30:43.000674
1,513,593,043.000674
104,532
pythondev
help
Show us your file
2017-12-18T10:31:06.000163
Corrinne
pythondev_help_Corrinne_2017-12-18T10:31:06.000163
1,513,593,066.000163
104,533
pythondev
help
<@Hassie> Also, instead of uploading the screenshots, you can upload the actual text from the terminal/command-prompt or your python script by clicking the '+' sign at the left and selecting "Code or txt snippet"
2017-12-18T10:31:31.000326
Deedee
pythondev_help_Deedee_2017-12-18T10:31:31.000326
1,513,593,091.000326
104,534
pythondev
help
Yeah you don't ever need that
2017-12-18T10:32:26.000774
Corrinne
pythondev_help_Corrinne_2017-12-18T10:32:26.000774
1,513,593,146.000774
104,535
pythondev
help
Thanks everyone. I appreciate the help!
2017-12-18T10:33:23.000055
Hassie
pythondev_help_Hassie_2017-12-18T10:33:23.000055
1,513,593,203.000055
104,536
pythondev
help
No problem, we all have to start somewhere
2017-12-18T10:33:45.000430
Corrinne
pythondev_help_Corrinne_2017-12-18T10:33:45.000430
1,513,593,225.00043
104,537
pythondev
help
<@Hassie> :taco:
2017-12-18T10:33:58.000577
Deedee
pythondev_help_Deedee_2017-12-18T10:33:58.000577
1,513,593,238.000577
104,538
pythondev
help
Some good online courses out there
2017-12-18T10:34:01.000183
Corrinne
pythondev_help_Corrinne_2017-12-18T10:34:01.000183
1,513,593,241.000183
104,539
pythondev
help
1st Python Script
2017-12-18T10:34:02.000707
Deedee
pythondev_help_Deedee_2017-12-18T10:34:02.000707
1,513,593,242.000707
104,540
pythondev
help
<@Hassie> :taco:
2017-12-18T10:35:04.000311
Johana
pythondev_help_Johana_2017-12-18T10:35:04.000311
1,513,593,304.000311
104,541
pythondev
help
That's what I am working up to. I just struggled getting anything started.
2017-12-18T10:35:48.000196
Hassie
pythondev_help_Hassie_2017-12-18T10:35:48.000196
1,513,593,348.000196
104,542
pythondev
help
So what;s this taco ordeal ?
2017-12-18T10:36:02.000635
Hassie
pythondev_help_Hassie_2017-12-18T10:36:02.000635
1,513,593,362.000635
104,543
pythondev
help
how did you do the automate the boring stuff?
2017-12-18T10:36:07.000432
Meg
pythondev_help_Meg_2017-12-18T10:36:07.000432
1,513,593,367.000432
104,544
pythondev
help
I didn't get everything done, I got up to the lessons and used idle. I got some temporary Azure credits and I'm trying to see what I can get done quickly. If that makes sense
2017-12-18T10:37:15.000384
Hassie
pythondev_help_Hassie_2017-12-18T10:37:15.000384
1,513,593,435.000384
104,545
pythondev
help
Here's a link to the group's recommended resources: <https://github.com/pyslackers/learning-resources/blob/master/topics/essentials.md> "Automate the Boring Stuff" and the official python tutorial at <https://docs.python.org/3.6/tutorial/index.html> are probably best places to start
2017-12-18T10:37:22.000084
Deedee
pythondev_help_Deedee_2017-12-18T10:37:22.000084
1,513,593,442.000084
104,546
pythondev
help
If you're not afraid of spending a bit of cash to learn. Treehouse is a really good option
2017-12-18T10:38:19.000033
Corrinne
pythondev_help_Corrinne_2017-12-18T10:38:19.000033
1,513,593,499.000033
104,547
pythondev
help
<http://teamtreehouse.com|teamtreehouse.com>
2017-12-18T10:38:31.000544
Corrinne
pythondev_help_Corrinne_2017-12-18T10:38:31.000544
1,513,593,511.000544
104,548
pythondev
help
one of the people here, <@Frieda> has a number of courses there. He’s not there anymore, but the content still is
2017-12-18T10:38:56.000189
Meg
pythondev_help_Meg_2017-12-18T10:38:56.000189
1,513,593,536.000189
104,549
pythondev
help
Yeh Kenneth's courses are great
2017-12-18T10:40:14.000445
Corrinne
pythondev_help_Corrinne_2017-12-18T10:40:14.000445
1,513,593,614.000445
104,550
pythondev
help
Thanks, I know I need the basics but want to concentrate on the data related items as much as possible and Azure if I can.
2017-12-18T10:42:14.000060
Hassie
pythondev_help_Hassie_2017-12-18T10:42:14.000060
1,513,593,734.00006
104,551
pythondev
help
I would concentrate on getting the syntax down and comfortable with the language
2017-12-18T10:43:03.000603
Meg
pythondev_help_Meg_2017-12-18T10:43:03.000603
1,513,593,783.000603
104,552
pythondev
help
then you can dig into using pandas, numpy, etc
2017-12-18T10:43:15.000437
Meg
pythondev_help_Meg_2017-12-18T10:43:15.000437
1,513,593,795.000437
104,553
pythondev
help
you can do all this locally, no need for azure
2017-12-18T10:43:25.000568
Meg
pythondev_help_Meg_2017-12-18T10:43:25.000568
1,513,593,805.000568
104,554
pythondev
help
<@Meg> Thanks for the help and advice ! :taco:
2017-12-18T10:45:03.000560
Hassie
pythondev_help_Hassie_2017-12-18T10:45:03.000560
1,513,593,903.00056
104,555
pythondev
help
<@Corrinne> Thanks for the help and advice ! :taco:
2017-12-18T10:45:14.000755
Hassie
pythondev_help_Hassie_2017-12-18T10:45:14.000755
1,513,593,914.000755
104,556
pythondev
help
You're welcome. Good luck!
2017-12-18T10:45:29.000326
Corrinne
pythondev_help_Corrinne_2017-12-18T10:45:29.000326
1,513,593,929.000326
104,557
pythondev
help
<@Deedee> Thanks for the help and advice ! :taco:
2017-12-18T10:45:35.000400
Hassie
pythondev_help_Hassie_2017-12-18T10:45:35.000400
1,513,593,935.0004
104,558
pythondev
help
<@Johana> Thanks for the help and advice ! :taco:
2017-12-18T10:45:57.000727
Hassie
pythondev_help_Hassie_2017-12-18T10:45:57.000727
1,513,593,957.000727
104,559
pythondev
help
:thumbsup:
2017-12-18T10:45:59.000647
Meg
pythondev_help_Meg_2017-12-18T10:45:59.000647
1,513,593,959.000647
104,560
pythondev
help
So pass around the hot sauce! Maybe someday soon I'll be contributing to newbies like myself!
2017-12-18T10:46:43.000173
Hassie
pythondev_help_Hassie_2017-12-18T10:46:43.000173
1,513,594,003.000173
104,561
pythondev
help
This is quite a good place to start for free, learning basic syntax <https://youtu.be/oVp1vrfL_w4>
2017-12-18T10:46:47.000410
Corrinne
pythondev_help_Corrinne_2017-12-18T10:46:47.000410
1,513,594,007.00041
104,562
pythondev
help
i don’t think i actually helped do anything but i love tacos!
2017-12-18T10:46:48.000094
Johana
pythondev_help_Johana_2017-12-18T10:46:48.000094
1,513,594,008.000094
104,563
pythondev
help
nom nom
2017-12-18T10:47:00.000466
Meg
pythondev_help_Meg_2017-12-18T10:47:00.000466
1,513,594,020.000466
104,564
pythondev
help
i was caught in the taco crossfire
2017-12-18T10:47:09.000410
Johana
pythondev_help_Johana_2017-12-18T10:47:09.000410
1,513,594,029.00041
104,565
pythondev
help
love when that happens.
2017-12-18T10:47:17.000662
Johana
pythondev_help_Johana_2017-12-18T10:47:17.000662
1,513,594,037.000662
104,566
pythondev
help
especially close to lunchtime when the tummy is starting to a-rumble
2017-12-18T10:47:18.000119
Meg
pythondev_help_Meg_2017-12-18T10:47:18.000119
1,513,594,038.000119
104,567
pythondev
help
He's got a playlist of 68 videos on basic python
2017-12-18T10:47:19.000426
Corrinne
pythondev_help_Corrinne_2017-12-18T10:47:19.000426
1,513,594,039.000426
104,568
pythondev
help
:smile:
2017-12-18T10:47:20.000187
Meg
pythondev_help_Meg_2017-12-18T10:47:20.000187
1,513,594,040.000187
104,569
pythondev
help
Damn I could demolish some tacos
2017-12-18T10:47:34.000096
Corrinne
pythondev_help_Corrinne_2017-12-18T10:47:34.000096
1,513,594,054.000096
104,570
pythondev
help
<@Corrinne> :taco:
2017-12-18T10:56:29.000120
Suellen
pythondev_help_Suellen_2017-12-18T10:56:29.000120
1,513,594,589.00012
104,571
pythondev
help
<@Suellen> nom nom nom
2017-12-18T10:59:35.000288
Corrinne
pythondev_help_Corrinne_2017-12-18T10:59:35.000288
1,513,594,775.000288
104,572
pythondev
help
If I want to download a `csv` via `requests` must I first store the data in a variable then write it to a file or can I write as I read, line by line?
2017-12-18T11:00:58.000585
Myong
pythondev_help_Myong_2017-12-18T11:00:58.000585
1,513,594,858.000585
104,573
pythondev
help
you can!
2017-12-18T11:01:15.000793
Suellen
pythondev_help_Suellen_2017-12-18T11:01:15.000793
1,513,594,875.000793
104,574
pythondev
help
`r.iter_content()`
2017-12-18T11:01:21.000906
Suellen
pythondev_help_Suellen_2017-12-18T11:01:21.000906
1,513,594,881.000906
104,575
pythondev
help
<http://docs.python-requests.org/en/master/api/#requests.Response.iter_content> don't forget to make chunk_size larger
2017-12-18T11:01:55.000984
Suellen
pythondev_help_Suellen_2017-12-18T11:01:55.000984
1,513,594,915.000984
104,576
pythondev
help
<@Suellen> Having some trouble getting this to work. Iterator returns bytes when attempting to read the lines into another file, so I gotta figure out how to make it a string
2017-12-18T11:21:43.000452
Myong
pythondev_help_Myong_2017-12-18T11:21:43.000452
1,513,596,103.000452
104,577
pythondev
help
I think you entered the food fight when you tossed him a taco
2017-12-18T11:22:46.000136
Deedee
pythondev_help_Deedee_2017-12-18T11:22:46.000136
1,513,596,166.000136
104,578
pythondev
help
<@Myong> just open CSV with a `wb` mode and write there
2017-12-18T11:23:20.000947
Suellen
pythondev_help_Suellen_2017-12-18T11:23:20.000947
1,513,596,200.000947
104,579
pythondev
help
it's not gonna mess anything up
2017-12-18T11:23:32.000357
Suellen
pythondev_help_Suellen_2017-12-18T11:23:32.000357
1,513,596,212.000357
104,580
pythondev
help
Seems it doesn't like byte mode either
2017-12-18T11:24:18.000360
Myong
pythondev_help_Myong_2017-12-18T11:24:18.000360
1,513,596,258.00036
104,581
pythondev
help
well that's shouldn't be so
2017-12-18T11:25:02.000415
Suellen
pythondev_help_Suellen_2017-12-18T11:25:02.000415
1,513,596,302.000415
104,582
pythondev
help
`_csv.Error: iterator should return strings, not bytes (did you open the file in text mode?)`
2017-12-18T11:25:17.000450
Myong
pythondev_help_Myong_2017-12-18T11:25:17.000450
1,513,596,317.00045
104,583
pythondev
help
` with open('ouput.csv', 'wb') as f:`
2017-12-18T11:25:30.000545
Myong
pythondev_help_Myong_2017-12-18T11:25:30.000545
1,513,596,330.000545
104,584
pythondev
help
yeah, but forget about `csv` module for now
2017-12-18T11:26:09.000511
Suellen
pythondev_help_Suellen_2017-12-18T11:26:09.000511
1,513,596,369.000511
104,585
pythondev
help
oh wait
2017-12-18T11:26:12.000105
Myong
pythondev_help_Myong_2017-12-18T11:26:12.000105
1,513,596,372.000105
104,586
pythondev
help
Nevermind didnt fix it but okay forgetting about it
2017-12-18T11:26:56.000365
Myong
pythondev_help_Myong_2017-12-18T11:26:56.000365
1,513,596,416.000365
104,587
pythondev
help
Don't create a CSV writer or anything
2017-12-18T11:27:13.000166
Suellen
pythondev_help_Suellen_2017-12-18T11:27:13.000166
1,513,596,433.000166
104,588
pythondev
help
it's just a file, and a stream
2017-12-18T11:27:17.000812
Suellen
pythondev_help_Suellen_2017-12-18T11:27:17.000812
1,513,596,437.000812
104,589
pythondev
help
gotcha
2017-12-18T11:27:18.000220
Myong
pythondev_help_Myong_2017-12-18T11:27:18.000220
1,513,596,438.00022
104,590
pythondev
help
Yeah it seems to come in as bytes
2017-12-18T11:28:03.000570
Myong
pythondev_help_Myong_2017-12-18T11:28:03.000570
1,513,596,483.00057
104,591
pythondev
help
Got a question on regex
2017-12-18T11:35:16.000656
Krysta
pythondev_help_Krysta_2017-12-18T11:35:16.000656
1,513,596,916.000656
104,592
pythondev
help
I need to split ```Y_BEAUTWD_GREYCHK_A.jpg``` into ```'Y_BEAUTWD', 'GREYCHK', 'jpg'```
2017-12-18T11:36:11.000464
Krysta
pythondev_help_Krysta_2017-12-18T11:36:11.000464
1,513,596,971.000464
104,593
pythondev
help
Is the string in the same format every time?
2017-12-18T11:37:22.000866
Corrinne
pythondev_help_Corrinne_2017-12-18T11:37:22.000866
1,513,597,042.000866
104,594
pythondev
help
Yes
2017-12-18T11:37:40.000353
Krysta
pythondev_help_Krysta_2017-12-18T11:37:40.000353
1,513,597,060.000353
104,595
pythondev
help
You could probably use `.split()`
2017-12-18T11:38:02.000068
Corrinne
pythondev_help_Corrinne_2017-12-18T11:38:02.000068
1,513,597,082.000068
104,596
pythondev
help
```test_str = "Y_BEAUTWD_GREYCHK_A.jpg" split_str = test_str.split("_") print(split_str)```
2017-12-18T11:38:39.000328
Corrinne
pythondev_help_Corrinne_2017-12-18T11:38:39.000328
1,513,597,119.000328
104,597
pythondev
help
output..
2017-12-18T11:38:51.000588
Corrinne
pythondev_help_Corrinne_2017-12-18T11:38:51.000588
1,513,597,131.000588
104,598
pythondev
help
`['Y', 'BEAUTWD', 'GREYCHK', 'A.jpg']`
2017-12-18T11:38:55.000059
Corrinne
pythondev_help_Corrinne_2017-12-18T11:38:55.000059
1,513,597,135.000059
104,599
pythondev
help
Then you could split the last item in the list on the .
2017-12-18T11:39:35.000582
Corrinne
pythondev_help_Corrinne_2017-12-18T11:39:35.000582
1,513,597,175.000582
104,600
pythondev
help
And concatenate them together as you need them
2017-12-18T11:39:54.000233
Corrinne
pythondev_help_Corrinne_2017-12-18T11:39:54.000233
1,513,597,194.000233
104,601
pythondev
help
:thumbsup:
2017-12-18T11:40:01.000330
Krysta
pythondev_help_Krysta_2017-12-18T11:40:01.000330
1,513,597,201.00033
104,602