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
Beware that black sometimes autoformats to nonsense
2019-04-24T09:25:36.478800
Chester
pythondev_help_Chester_2019-04-24T09:25:36.478800
1,556,097,936.4788
20,321
pythondev
help
`"{} and {}".format(", ".join(islice(a, -1)), next(tail(a, 1)))`?
2019-04-24T10:07:31.479100
Jonas
pythondev_help_Jonas_2019-04-24T10:07:31.479100
1,556,100,451.4791
20,322
pythondev
help
oh. yeah. that wouldn't work :facepalm:
2019-04-24T10:08:06.479600
Jonas
pythondev_help_Jonas_2019-04-24T10:08:06.479600
1,556,100,486.4796
20,323
pythondev
help
hehe.
2019-04-24T10:12:04.479900
Christina
pythondev_help_Christina_2019-04-24T10:12:04.479900
1,556,100,724.4799
20,324
pythondev
help
let's make it a coding golf challenge!
2019-04-24T10:12:24.480100
Christina
pythondev_help_Christina_2019-04-24T10:12:24.480100
1,556,100,744.4801
20,325
pythondev
help
Sometimes, but not always. Some tasks are inherently idempotent, some are not, and some are idempotent as long as other assumptions are met (such as timeframe of execution). But a large chunk of your idempotency checks are going to involve some form of if-statement, yes.
2019-04-24T10:24:44.480400
Carmen
pythondev_help_Carmen_2019-04-24T10:24:44.480400
1,556,101,484.4804
20,326
pythondev
help
can I define an import statement inside of a yaml file?
2019-04-24T11:01:37.480900
Alvina
pythondev_help_Alvina_2019-04-24T11:01:37.480900
1,556,103,697.4809
20,327
pythondev
help
None
2019-04-24T11:02:18.481000
Alvina
pythondev_help_Alvina_2019-04-24T11:02:18.481000
1,556,103,738.481
20,328
pythondev
help
something like that?
2019-04-24T11:02:30.481400
Alvina
pythondev_help_Alvina_2019-04-24T11:02:30.481400
1,556,103,750.4814
20,329
pythondev
help
Hi All
2019-04-24T11:07:27.481600
Jeannine
pythondev_help_Jeannine_2019-04-24T11:07:27.481600
1,556,104,047.4816
20,330
pythondev
help
I'm trying to turn a csv file of amazon's category structure, into a nested JSON file
2019-04-24T11:07:42.482000
Jeannine
pythondev_help_Jeannine_2019-04-24T11:07:42.482000
1,556,104,062.482
20,331
pythondev
help
but its breaking my head
2019-04-24T11:07:47.482200
Jeannine
pythondev_help_Jeannine_2019-04-24T11:07:47.482200
1,556,104,067.4822
20,332
pythondev
help
sure, it's a string
2019-04-24T11:07:50.482300
Jonas
pythondev_help_Jonas_2019-04-24T11:07:50.482300
1,556,104,070.4823
20,333
pythondev
help
`dict(row) for row in csv.DictReader(...)`?
2019-04-24T11:08:15.482800
Jonas
pythondev_help_Jonas_2019-04-24T11:08:15.482800
1,556,104,095.4828
20,334
pythondev
help
also, this:
2019-04-24T11:08:26.483300
Jonas
pythondev_help_Jonas_2019-04-24T11:08:26.483300
1,556,104,106.4833
20,335
pythondev
help
Knowing how to ask a good question is a highly invaluable skill that will benefit you greatly in any career. Two good resources for suggestions and strategies to help you structure and phrase your question to make it easier for those here to understand your problem and help you work to a solution are: • <https://www.mikeash.com/getting_answers.html> • <https://stackoverflow.com/help/how-to-ask>
2019-04-24T11:08:28.483500
Leana
pythondev_help_Leana_2019-04-24T11:08:28.483500
1,556,104,108.4835
20,336
pythondev
help
getting the crux of it now :slightly_smiling_face:
2019-04-24T11:08:46.483800
Jeannine
pythondev_help_Jeannine_2019-04-24T11:08:46.483800
1,556,104,126.4838
20,337
pythondev
help
example:
2019-04-24T11:08:50.484000
Jeannine
pythondev_help_Jeannine_2019-04-24T11:08:50.484000
1,556,104,130.484
20,338
pythondev
help
```Musical Instruments &amp; DJ, Musical Instruments &amp; DJ/Bass Guitars &amp; Gear, Musical Instruments &amp; DJ/Bass Guitars &amp; Gear/Accessories, Musical Instruments &amp; DJ/Bass Guitars &amp; Gear/Accessories/Amp Accessories, Musical Instruments &amp; DJ/Bass Guitars &amp; Gear/Accessories/Amp Accessories/Amp Footswitches,5441077031 Musical Instruments &amp; DJ/Bass Guitars &amp; Gear/Accessories/Amp Accessories/Dustcovers,5441078031 Musical Instruments &amp; DJ/Bass Guitars &amp; Gear/Accessories/Amp Accessories/Vacuum Tubes,5441079031 Musical Instruments &amp; DJ/Bass Guitars &amp; Gear/Accessories/Bags,5441084031 Musical Instruments &amp; DJ/Bass Guitars &amp; Gear/Accessories/Cases,407647031 Musical Instruments &amp; DJ/Bass Guitars &amp; Gear/Accessories/Cleaning &amp; Care,407743031 Musical Instruments &amp; DJ/Bass Guitars &amp; Gear/Accessories/Effect Accessories, Musical Instruments &amp; DJ/Bass Guitars &amp; Gear/Accessories/Effect Accessories/Pedal Boards &amp; Cases,407744031 Musical Instruments &amp; DJ/Bass Guitars &amp; Gear/Accessories/Effect Accessories/Power Supplies,9735758031 Musical Instruments &amp; DJ/Bass Guitars &amp; Gear/Accessories/Instrument Cables,407727031 Musical Instruments &amp; DJ/Bass Guitars &amp; Gear/Accessories/Parts,407648031 Musical Instruments &amp; DJ/Bass Guitars &amp; Gear/Accessories/Picks &amp; Pick Holders, Musical Instruments &amp; DJ/Bass Guitars &amp; Gear/Accessories/Picks &amp; Pick Holders/Pick Holders,5441106031 Musical Instruments &amp; DJ/Bass Guitars &amp; Gear/Accessories/Picks &amp; Pick Holders/Picks,5441107031 Musical Instruments &amp; DJ/Bass Guitars &amp; Gear/Accessories/Stands &amp; Holders,407748031 Musical Instruments &amp; DJ/Bass Guitars &amp; Gear/Accessories/Straps,407649031 Musical Instruments &amp; DJ/Bass Guitars &amp; Gear/Accessories/Strings,407650031 Musical Instruments &amp; DJ/Bass Guitars &amp; Gear/Accessories/Tuners,407737031```
2019-04-24T11:09:13.484300
Jeannine
pythondev_help_Jeannine_2019-04-24T11:09:13.484300
1,556,104,153.4843
20,339
pythondev
help
needs to turn into
2019-04-24T11:09:18.484500
Jeannine
pythondev_help_Jeannine_2019-04-24T11:09:18.484500
1,556,104,158.4845
20,340
pythondev
help
please only paste a single sample :smile:
2019-04-24T11:11:01.485500
Jonas
pythondev_help_Jonas_2019-04-24T11:11:01.485500
1,556,104,261.4855
20,341
pythondev
help
what yaml file? afaik yaml isn't executeable. so you are using some sort of system to handle the stuff in yaml.
2019-04-24T11:11:40.485600
Christina
pythondev_help_Christina_2019-04-24T11:11:40.485600
1,556,104,300.4856
20,342
pythondev
help
<@Jeannine> where are you getting your data from if that is your source data? But can't you just split on '/' and then each level in that splitted list is a level on the dict.
2019-04-24T11:13:31.487300
Christina
pythondev_help_Christina_2019-04-24T11:13:31.487300
1,556,104,411.4873
20,343
pythondev
help
```{"muiscal instruments and dj": [ {"bass guitars": [ { "accessories": [ { "amp accessories": [ { "amp footswitches": 5441077031 }, { "dustcovers": 5441078031 }, ] }, ] ], ] }```
2019-04-24T11:14:16.487600
Jeannine
pythondev_help_Jeannine_2019-04-24T11:14:16.487600
1,556,104,456.4876
20,344
pythondev
help
<@Christina> it is Amazon's product cateogry
2019-04-24T11:14:37.488100
Jeannine
pythondev_help_Jeannine_2019-04-24T11:14:37.488100
1,556,104,477.4881
20,345
pythondev
help
they only hand it over in an excel spreadsheet
2019-04-24T11:14:45.488600
Jeannine
pythondev_help_Jeannine_2019-04-24T11:14:45.488600
1,556,104,485.4886
20,346
pythondev
help
only the last element in the tree is selectable as a category to place a product in
2019-04-24T11:15:13.489500
Jeannine
pythondev_help_Jeannine_2019-04-24T11:15:13.489500
1,556,104,513.4895
20,347
pythondev
help
<@Jonas> thats a teeny fraction of the sample :slightly_smiling_face:
2019-04-24T11:15:32.489800
Jeannine
pythondev_help_Jeannine_2019-04-24T11:15:32.489800
1,556,104,532.4898
20,348
pythondev
help
essentially I need to build a tree from that data
2019-04-24T11:15:47.490100
Jeannine
pythondev_help_Jeannine_2019-04-24T11:15:47.490100
1,556,104,547.4901
20,349
pythondev
help
so I can display it nicely in JS
2019-04-24T11:15:50.490300
Jeannine
pythondev_help_Jeannine_2019-04-24T11:15:50.490300
1,556,104,550.4903
20,350
pythondev
help
Ok, so grab a pen and paper
2019-04-24T11:16:11.490800
Jonas
pythondev_help_Jonas_2019-04-24T11:16:11.490800
1,556,104,571.4908
20,351
pythondev
help
and imagine you can only see one line of the list at a time
2019-04-24T11:16:27.491300
Jonas
pythondev_help_Jonas_2019-04-24T11:16:27.491300
1,556,104,587.4913
20,352
pythondev
help
conceptually, how would you do this
2019-04-24T11:16:33.491700
Jonas
pythondev_help_Jonas_2019-04-24T11:16:33.491700
1,556,104,593.4917
20,353
pythondev
help
if line.split(',') is int
2019-04-24T11:16:59.492000
Jeannine
pythondev_help_Jeannine_2019-04-24T11:16:59.492000
1,556,104,619.492
20,354
pythondev
help
except that does not work in that some of these categories cannot be listed in (they are greyed out on the spreadsheet because they have child categories)
2019-04-24T11:17:38.492800
Jeannine
pythondev_help_Jeannine_2019-04-24T11:17:38.492800
1,556,104,658.4928
20,355
pythondev
help
(i've pruned the id's off the end to help me view it better)
2019-04-24T11:18:08.493100
Jeannine
pythondev_help_Jeannine_2019-04-24T11:18:08.493100
1,556,104,688.4931
20,356
pythondev
help
for starters you can use a csv reader to access the individual fields - <https://docs.python.org/3.6/library/csv.html>
2019-04-24T11:19:23.494000
Wilber
pythondev_help_Wilber_2019-04-24T11:19:23.494000
1,556,104,763.494
20,357
pythondev
help
<@Wilber> yep doing that already, its the knowing when to make a list or when to append
2019-04-24T11:20:16.495200
Jeannine
pythondev_help_Jeannine_2019-04-24T11:20:16.495200
1,556,104,816.4952
20,358
pythondev
help
from the example you posted it seems like that could just be determined by the presence or absence of a second item in a row?
2019-04-24T11:21:20.496600
Wilber
pythondev_help_Wilber_2019-04-24T11:21:20.496600
1,556,104,880.4966
20,359
pythondev
help
&gt;except that does not work in that some of these categories cannot be listed in What do you mean by listed in?
2019-04-24T11:23:16.497500
Christina
pythondev_help_Christina_2019-04-24T11:23:16.497500
1,556,104,996.4975
20,360
pythondev
help
these are the categories we can make products in on amazon
2019-04-24T11:23:45.498600
Jeannine
pythondev_help_Jeannine_2019-04-24T11:23:45.498600
1,556,105,025.4986
20,361
pythondev
help
if a category has child categories, it cannot be listed into
2019-04-24T11:23:58.499100
Jeannine
pythondev_help_Jeannine_2019-04-24T11:23:58.499100
1,556,105,038.4991
20,362
pythondev
help
you have to get the the end of the 'tree' before you can choose the category
2019-04-24T11:24:14.499800
Jeannine
pythondev_help_Jeannine_2019-04-24T11:24:14.499800
1,556,105,054.4998
20,363
pythondev
help
so if you want to check whether to make a list simply do: ```if 'accessories' in foo['bass guitars']: foo['bass guitars'].append(value) else: foo['bass guitars'] = [value]```
2019-04-24T11:24:24.000300
Christina
pythondev_help_Christina_2019-04-24T11:24:24.000300
1,556,105,064.0003
20,364
pythondev
help
<@Christina> correct, except the next line in the csv file may state that there are child categories and so this needs to be a list, not the final data
2019-04-24T11:25:10.001900
Jeannine
pythondev_help_Jeannine_2019-04-24T11:25:10.001900
1,556,105,110.0019
20,365
pythondev
help
it doesn't matter
2019-04-24T11:25:46.003100
Jonas
pythondev_help_Jonas_2019-04-24T11:25:46.003100
1,556,105,146.0031
20,366
pythondev
help
if the csv is well formed
2019-04-24T11:25:51.003400
Jonas
pythondev_help_Jonas_2019-04-24T11:25:51.003400
1,556,105,151.0034
20,367
pythondev
help
which we can assume it is
2019-04-24T11:26:06.003900
Jonas
pythondev_help_Jonas_2019-04-24T11:26:06.003900
1,556,105,166.0039
20,368
pythondev
help
oh so the lowest level is a dict, but all the others are lists?. why would you have that? in your example, the list only has one entry, a dict with the key being the child
2019-04-24T11:26:14.004200
Christina
pythondev_help_Christina_2019-04-24T11:26:14.004200
1,556,105,174.0042
20,369
pythondev
help
sorry thought I had
2019-04-24T11:27:14.005800
Jeannine
pythondev_help_Jeannine_2019-04-24T11:27:14.005800
1,556,105,234.0058
20,370
pythondev
help
it's fine. i collapsed it :stuck_out_tongue:
2019-04-24T11:27:26.006500
Christina
pythondev_help_Christina_2019-04-24T11:27:26.006500
1,556,105,246.0065
20,371
pythondev
help
```{"muiscal instruments and dj": { "bass guitars": { "accessories": { "amp accessories": { "amp footswitches": 5441077031``` Isn't this the wanted format? why the list?
2019-04-24T11:27:44.007300
Christina
pythondev_help_Christina_2019-04-24T11:27:44.007300
1,556,105,264.0073
20,372
pythondev
help
<https://pastebin.com/NavpM4Lu>
2019-04-24T11:28:00.007900
Jeannine
pythondev_help_Jeannine_2019-04-24T11:28:00.007900
1,556,105,280.0079
20,373
pythondev
help
```tree = {} for row in csv: path = row.split(',')[0].split('/') id = row.split(',')[1] for item in path: leaf = tree.setdefault(item, {}) leaf['id'] = id```
2019-04-24T11:28:03.008100
Jonas
pythondev_help_Jonas_2019-04-24T11:28:03.008100
1,556,105,283.0081
20,374
pythondev
help
boom.
2019-04-24T11:28:11.008300
Jonas
pythondev_help_Jonas_2019-04-24T11:28:11.008300
1,556,105,291.0083
20,375
pythondev
help
or something akin to that I think
2019-04-24T11:28:26.008600
Jonas
pythondev_help_Jonas_2019-04-24T11:28:26.008600
1,556,105,306.0086
20,376
pythondev
help
<@Jonas> was about to create that :disappointed:
2019-04-24T11:28:26.008700
Christina
pythondev_help_Christina_2019-04-24T11:28:26.008700
1,556,105,306.0087
20,377
pythondev
help
mans gotta be quicker
2019-04-24T11:28:40.008900
Jonas
pythondev_help_Jonas_2019-04-24T11:28:40.008900
1,556,105,320.0089
20,378
pythondev
help
Haha
2019-04-24T11:28:46.009300
Christina
pythondev_help_Christina_2019-04-24T11:28:46.009300
1,556,105,326.0093
20,379
pythondev
help
but yeah, that is basically what i would do. then you get the structure i showed above
2019-04-24T11:29:23.009900
Christina
pythondev_help_Christina_2019-04-24T11:29:23.009900
1,556,105,363.0099
20,380
pythondev
help
<@Jonas> which csv file were you basing that code on ?
2019-04-24T11:31:52.010300
Jeannine
pythondev_help_Jeannine_2019-04-24T11:31:52.010300
1,556,105,512.0103
20,381
pythondev
help
my first one ?
2019-04-24T11:31:57.010500
Jeannine
pythondev_help_Jeannine_2019-04-24T11:31:57.010500
1,556,105,517.0105
20,382
pythondev
help
it doesn't matter
2019-04-24T11:33:04.010900
Jonas
pythondev_help_Jonas_2019-04-24T11:33:04.010900
1,556,105,584.0109
20,383
pythondev
help
ah you were not using csv module and splitting on ,
2019-04-24T11:35:12.011900
Jeannine
pythondev_help_Jeannine_2019-04-24T11:35:12.011900
1,556,105,712.0119
20,384
pythondev
help
ok so close but no cigar just yet
2019-04-24T11:37:10.012200
Jeannine
pythondev_help_Jeannine_2019-04-24T11:37:10.012200
1,556,105,830.0122
20,385
pythondev
help
None
2019-04-24T11:38:04.012400
Jeannine
pythondev_help_Jeannine_2019-04-24T11:38:04.012400
1,556,105,884.0124
20,386
pythondev
help
its given me all the keys
2019-04-24T11:38:16.012800
Jeannine
pythondev_help_Jeannine_2019-04-24T11:38:16.012800
1,556,105,896.0128
20,387
pythondev
help
but they should be nested
2019-04-24T11:38:24.013100
Jeannine
pythondev_help_Jeannine_2019-04-24T11:38:24.013100
1,556,105,904.0131
20,388
pythondev
help
is bass guitars should be under musical instruments
2019-04-24T11:38:37.013500
Jeannine
pythondev_help_Jeannine_2019-04-24T11:38:37.013500
1,556,105,917.0135
20,389
pythondev
help
to allow us to 'walk' through choosing the correct category
2019-04-24T11:39:26.013900
Jeannine
pythondev_help_Jeannine_2019-04-24T11:39:26.013900
1,556,105,966.0139
20,390
pythondev
help
I should have something like:
2019-04-24T11:41:28.014100
Jeannine
pythondev_help_Jeannine_2019-04-24T11:41:28.014100
1,556,106,088.0141
20,391
pythondev
help
None
2019-04-24T11:43:12.014200
Jeannine
pythondev_help_Jeannine_2019-04-24T11:43:12.014200
1,556,106,192.0142
20,392
pythondev
help
not sure why this is causing me to chase my own tale today :disappointed:
2019-04-24T11:43:48.014700
Jeannine
pythondev_help_Jeannine_2019-04-24T11:43:48.014700
1,556,106,228.0147
20,393
pythondev
help
<@Jeannine> look at the code
2019-04-24T12:36:59.015300
Jonas
pythondev_help_Jonas_2019-04-24T12:36:59.015300
1,556,109,419.0153
20,394
pythondev
help
it's just a guide, not a bug free solution :')
2019-04-24T12:37:10.015700
Jonas
pythondev_help_Jonas_2019-04-24T12:37:10.015700
1,556,109,430.0157
20,395
pythondev
help
This was the code: ```tree = {} for row in csv: path = row.split(',')[0].split('/') id = row.split(',')[1] for item in path: leaf = tree.setdefault(item, {}) leaf['id'] = id```
2019-04-24T12:37:20.016100
Jonas
pythondev_help_Jonas_2019-04-24T12:37:20.016100
1,556,109,440.0161
20,396
pythondev
help
Check out the for loop, can you see why it might not be nesting them?
2019-04-24T12:37:32.016500
Jonas
pythondev_help_Jonas_2019-04-24T12:37:32.016500
1,556,109,452.0165
20,397
pythondev
help
It's very nearly right, it's a small fix. But look at what dictionary is being updated
2019-04-24T12:38:34.017000
Jonas
pythondev_help_Jonas_2019-04-24T12:38:34.017000
1,556,109,514.017
20,398
pythondev
help
<@Jonas> thanks for the help
2019-04-24T12:44:16.017400
Jeannine
pythondev_help_Jeannine_2019-04-24T12:44:16.017400
1,556,109,856.0174
20,399
pythondev
help
think I've cracked it
2019-04-24T12:44:20.017700
Jeannine
pythondev_help_Jeannine_2019-04-24T12:44:20.017700
1,556,109,860.0177
20,400
pythondev
help
I don't think I got enough sleep last night!
2019-04-24T12:44:30.018000
Jeannine
pythondev_help_Jeannine_2019-04-24T12:44:30.018000
1,556,109,870.018
20,401
pythondev
help
for info:
2019-04-24T12:44:59.018200
Jeannine
pythondev_help_Jeannine_2019-04-24T12:44:59.018200
1,556,109,899.0182
20,402
pythondev
help
``` head file.csv Node ID,Node Path, 340838031,Musical Instruments &amp; DJ,LIST 406551031,Musical Instruments &amp; DJ/Bass Guitars &amp; Gear,LIST 407645031,Musical Instruments &amp; DJ/Bass Guitars &amp; Gear/Accessories,LIST 407646031,Musical Instruments &amp; DJ/Bass Guitars &amp; Gear/Accessories/Amp Accessories,LIST 5441077031,Musical Instruments &amp; DJ/Bass Guitars &amp; Gear/Accessories/Amp Accessories/Amp Footswitches, 5441078031,Musical Instruments &amp; DJ/Bass Guitars &amp; Gear/Accessories/Amp Accessories/Dustcovers, 5441079031,Musical Instruments &amp; DJ/Bass Guitars &amp; Gear/Accessories/Amp Accessories/Vacuum Tubes, 5441084031,Musical Instruments &amp; DJ/Bass Guitars &amp; Gear/Accessories/Bags, 407647031,Musical Instruments &amp; DJ/Bass Guitars &amp; Gear/Accessories/Cases, 407743031,Musical Instruments &amp; DJ/Bass Guitars &amp; Gear/Accessories/Cleaning &amp; Care, 9735757031,Musical Instruments &amp; DJ/Bass Guitars &amp; Gear/Accessories/Effect Accessories,LIST```
2019-04-24T12:45:18.018600
Jeannine
pythondev_help_Jeannine_2019-04-24T12:45:18.018600
1,556,109,918.0186
20,403
pythondev
help
```with open('amzcat.csv', 'r', encoding='utf-8') as csvfile: csvdata = csv.reader(csvfile) next(csvdata) tree = {} for row in csvdata: current_level = tree for part in row[1].split('/'): if part not in current_level: current_level[part] = {} if row[2] != 'LIST': current_level[part] = {'id': row[0]} current_level = current_level[part] print(tree)```
2019-04-24T12:45:52.019100
Jeannine
pythondev_help_Jeannine_2019-04-24T12:45:52.019100
1,556,109,952.0191
20,404
pythondev
help
```snip resulting json { "Musical Instruments &amp; DJ": { "Bass Guitars &amp; Gear": { "Accessories": { "Amp Accessories": { "Amp Footswitches": { "id": "5441077031" }, "Dustcovers": { "id": "5441078031" }, "Vacuum Tubes": { "id": "5441079031" } }, "Bags": { "id": "5441084031" }, "Cases": { "id": "407647031" }, "Cleaning &amp; Care": { "id": "407743031" }, "Effect Accessories": { "Pedal Boards &amp; Cases": { "id": "407744031" },```
2019-04-24T12:46:59.019500
Jeannine
pythondev_help_Jeannine_2019-04-24T12:46:59.019500
1,556,110,019.0195
20,405
pythondev
help
Thanks for all your help - much appreciated
2019-04-24T12:50:57.019800
Jeannine
pythondev_help_Jeannine_2019-04-24T12:50:57.019800
1,556,110,257.0198
20,406
pythondev
help
I write a script with `requests` and I have a problem. Some websites very long answered or not answer ever. For example this ``` r = requests.get('<http://www.skogstekniska.se>') ``` Not answer ever. How to set time if `requests` no have answer from HTTP GET - pass it.
2019-04-24T13:25:10.020000
Jung
pythondev_help_Jung_2019-04-24T13:25:10.020000
1,556,112,310.02
20,407
pythondev
help
Looks like there is a `timeout=` parameter you can pass, in seconds.
2019-04-24T13:27:18.020400
Sasha
pythondev_help_Sasha_2019-04-24T13:27:18.020400
1,556,112,438.0204
20,408
pythondev
help
<https://2.python-requests.org//en/master/user/quickstart/#timeouts>
2019-04-24T13:27:43.020600
Karoline
pythondev_help_Karoline_2019-04-24T13:27:43.020600
1,556,112,463.0206
20,409
pythondev
help
yeah, what <@Sasha> said.
2019-04-24T13:27:52.020900
Karoline
pythondev_help_Karoline_2019-04-24T13:27:52.020900
1,556,112,472.0209
20,410
pythondev
help
Hi all - I have a 64bit windows machine and am trying to use `pyinstaller` to compile a program that can run on a 32bit machine. I remember being able to do this about a year ago, but can't find the source on how to do it. I have the 32bit Python installed on my machine, I seem to remember there was some way of specifying which Python to use from the command line when using `pyinstaller`
2019-04-24T13:29:16.022200
Maricruz
pythondev_help_Maricruz_2019-04-24T13:29:16.022200
1,556,112,556.0222
20,411
pythondev
help
Something like `C:/location/of/32bit/python pyinstaller split_and_email_workbooks.py`
2019-04-24T13:29:46.022800
Maricruz
pythondev_help_Maricruz_2019-04-24T13:29:46.022800
1,556,112,586.0228
20,412
pythondev
help
Any ideas?
2019-04-24T13:29:47.023000
Maricruz
pythondev_help_Maricruz_2019-04-24T13:29:47.023000
1,556,112,587.023
20,413
pythondev
help
nvm - solved it. Just had to go to where I had my 32 bit python installed and declare the path to the script `pyinstaller C:/location/of/script/script.py`
2019-04-24T14:10:54.024600
Maricruz
pythondev_help_Maricruz_2019-04-24T14:10:54.024600
1,556,115,054.0246
20,414
pythondev
help
:rubberduck:
2019-04-24T14:12:04.024800
Maricruz
pythondev_help_Maricruz_2019-04-24T14:12:04.024800
1,556,115,124.0248
20,415
pythondev
help
<@Karoline> :taco: <@Sasha>
2019-04-24T14:36:22.025200
Jung
pythondev_help_Jung_2019-04-24T14:36:22.025200
1,556,116,582.0252
20,416
pythondev
help
Hello, AWS CloudFront question here: I have a static webapp in a S3 bucket using the url `<http://xxx.com|xxx.com>` with a cloudFront distribution and route 53 record pointing there. I need to create a subdomain for every client (`<http://a.xxx.com|a.xxx.com>`, `<http://b.xxx.com|b.xxx.com>`). Do I need a new cloudFront distrib and route 53 record for every new client? if so, how do I vinculate them so I dont have to create instructions for invalidations on my CI for every new one?
2019-04-24T15:27:13.026000
Lorene
pythondev_help_Lorene_2019-04-24T15:27:13.026000
1,556,119,633.026
20,417
pythondev
help
Finally got 'SpacY' and 'OpenCV' installed, imported, and accessed. <https://github.com/paulgureghian/OpenCV_Projects>
2019-04-24T19:06:08.027600
Clayton
pythondev_help_Clayton_2019-04-24T19:06:08.027600
1,556,132,768.0276
20,418
pythondev
help
<https://github.com/paulgureghian/SpaCy>
2019-04-24T19:06:40.027900
Clayton
pythondev_help_Clayton_2019-04-24T19:06:40.027900
1,556,132,800.0279
20,419
pythondev
help
Did installing them give you problems?
2019-04-24T22:05:41.028400
Bethany
pythondev_help_Bethany_2019-04-24T22:05:41.028400
1,556,143,541.0284
20,420