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
Hey folks, python assigns a key to each key value pair for a dict, when i read the dict, i want it to be same order as i defined it. any help appreciated, thanks again fellas
2019-02-22T10:13:01.280800
Nena
pythondev_help_Nena_2019-02-22T10:13:01.280800
1,550,830,381.2808
10,021
pythondev
help
Python should keep your dict ordering
2019-02-22T10:13:36.281300
Pilar
pythondev_help_Pilar_2019-02-22T10:13:36.281300
1,550,830,416.2813
10,022
pythondev
help
i am with 2.7
2019-02-22T10:13:48.281900
Nena
pythondev_help_Nena_2019-02-22T10:13:48.281900
1,550,830,428.2819
10,023
pythondev
help
for python 3.6 and up
2019-02-22T10:13:49.282000
Hiroko
pythondev_help_Hiroko_2019-02-22T10:13:49.282000
1,550,830,429.282
10,024
pythondev
help
then you need to use an OrderedDict
2019-02-22T10:13:57.282400
Hiroko
pythondev_help_Hiroko_2019-02-22T10:13:57.282400
1,550,830,437.2824
10,025
pythondev
help
that does not do much as well, i did try OrderedDict
2019-02-22T10:14:15.283600
Nena
pythondev_help_Nena_2019-02-22T10:14:15.283600
1,550,830,455.2836
10,026
pythondev
help
holy crap there's a lot of "Abhishek" on this slack
2019-02-22T10:14:32.284200
Ashley
pythondev_help_Ashley_2019-02-22T10:14:32.284200
1,550,830,472.2842
10,027
pythondev
help
popular name :slightly_smiling_face:
2019-02-22T10:14:42.284800
Hiroko
pythondev_help_Hiroko_2019-02-22T10:14:42.284800
1,550,830,482.2848
10,028
pythondev
help
Hope i am not spamming the group
2019-02-22T10:14:45.285000
Nena
pythondev_help_Nena_2019-02-22T10:14:45.285000
1,550,830,485.285
10,029
pythondev
help
nah
2019-02-22T10:14:48.285300
Ashley
pythondev_help_Ashley_2019-02-22T10:14:48.285300
1,550,830,488.2853
10,030
pythondev
help
Ahh, thanks <@Hiroko> :taco: I did not know about OrderedDict actually
2019-02-22T10:14:51.285500
Pilar
pythondev_help_Pilar_2019-02-22T10:14:51.285500
1,550,830,491.2855
10,031
pythondev
help
no spamming at all. some names seem to be pretty common
2019-02-22T10:15:09.286300
Hiroko
pythondev_help_Hiroko_2019-02-22T10:15:09.286300
1,550,830,509.2863
10,032
pythondev
help
yup thats me :elon:
2019-02-22T10:15:14.286800
Nena
pythondev_help_Nena_2019-02-22T10:15:14.286800
1,550,830,514.2868
10,033
pythondev
help
I mean I tried to tag you, and it suggested dozens of others with a similar name
2019-02-22T10:15:16.287000
Ashley
pythondev_help_Ashley_2019-02-22T10:15:16.287000
1,550,830,516.287
10,034
pythondev
help
and slack tends to allow non-unique names which can make tagging… interesting
2019-02-22T10:15:32.287300
Hiroko
pythondev_help_Hiroko_2019-02-22T10:15:32.287300
1,550,830,532.2873
10,035
pythondev
help
just like with `@matt`….
2019-02-22T10:15:43.287800
Hiroko
pythondev_help_Hiroko_2019-02-22T10:15:43.287800
1,550,830,543.2878
10,036
pythondev
help
hmm
2019-02-22T10:15:52.288200
Hiroko
pythondev_help_Hiroko_2019-02-22T10:15:52.288200
1,550,830,552.2882
10,037
pythondev
help
hehehe
2019-02-22T10:15:54.288400
Nena
pythondev_help_Nena_2019-02-22T10:15:54.288400
1,550,830,554.2884
10,038
pythondev
help
also, you should try to get off of python 2 and move to 3 soon, as it reaches end of life in less than a year
2019-02-22T10:16:08.289000
Ashley
pythondev_help_Ashley_2019-02-22T10:16:08.289000
1,550,830,568.289
10,039
pythondev
help
wouild be interesting to categorize user names by location
2019-02-22T10:16:13.289200
Hiroko
pythondev_help_Hiroko_2019-02-22T10:16:13.289200
1,550,830,573.2892
10,040
pythondev
help
for this community. what’s the more common usernames for a general area?
2019-02-22T10:16:30.289600
Hiroko
pythondev_help_Hiroko_2019-02-22T10:16:30.289600
1,550,830,590.2896
10,041
pythondev
help
yup, we will move by EOY
2019-02-22T10:16:31.289700
Nena
pythondev_help_Nena_2019-02-22T10:16:31.289700
1,550,830,591.2897
10,042
pythondev
help
nice!
2019-02-22T10:16:54.290100
Ashley
pythondev_help_Ashley_2019-02-22T10:16:54.290100
1,550,830,614.2901
10,043
pythondev
help
lets write a script to find that out
2019-02-22T10:17:00.290300
Nena
pythondev_help_Nena_2019-02-22T10:17:00.290300
1,550,830,620.2903
10,044
pythondev
help
admin, need token permission for slack
2019-02-22T10:17:23.290800
Nena
pythondev_help_Nena_2019-02-22T10:17:23.290800
1,550,830,643.2908
10,045
pythondev
help
That's not the way AD DNS works I don't think. BIND should be relatively easy.
2019-02-22T10:57:50.292700
Neomi
pythondev_help_Neomi_2019-02-22T10:57:50.292700
1,550,833,070.2927
10,046
pythondev
help
see, this is why I love programming groups lol
2019-02-22T12:18:56.293600
Carlo
pythondev_help_Carlo_2019-02-22T12:18:56.293600
1,550,837,936.2936
10,047
pythondev
help
hypothesis -&gt; script -&gt; solution
2019-02-22T12:19:42.294300
Carlo
pythondev_help_Carlo_2019-02-22T12:19:42.294300
1,550,837,982.2943
10,048
pythondev
help
nooooo! <https://news.ycombinator.com/item?id=19218036>
2019-02-22T14:45:55.297000
Shan
pythondev_help_Shan_2019-02-22T14:45:55.297000
1,550,846,755.297
10,049
pythondev
help
check out <https://pythondev.slack.com/archives/C22DMH61M/p1550766888043800>
2019-02-22T14:48:13.297200
Hiroko
pythondev_help_Hiroko_2019-02-22T14:48:13.297200
1,550,846,893.2972
10,050
pythondev
help
sad days ahead. still dont have access to github actions…not a huge fan of gitlab nor circle.
2019-02-22T14:52:16.297800
Shan
pythondev_help_Shan_2019-02-22T14:52:16.297800
1,550,847,136.2978
10,051
pythondev
help
apparently azure is not bad
2019-02-22T14:52:42.298000
Jimmy
pythondev_help_Jimmy_2019-02-22T14:52:42.298000
1,550,847,162.298
10,052
pythondev
help
but never tried
2019-02-22T14:52:46.298200
Jimmy
pythondev_help_Jimmy_2019-02-22T14:52:46.298200
1,550,847,166.2982
10,053
pythondev
help
but…azure!
2019-02-22T14:52:50.298400
Shan
pythondev_help_Shan_2019-02-22T14:52:50.298400
1,550,847,170.2984
10,054
pythondev
help
im unsure, i havent played with it, i havent had a reason to touch azure yet.
2019-02-22T14:53:12.298900
Shan
pythondev_help_Shan_2019-02-22T14:53:12.298900
1,550,847,192.2989
10,055
pythondev
help
'data' is a variable and I cannot get 'data' to be commented out as a variable in the line. Data is merged with the text rather than standing out as a variable. I have tried so many ways and finally gave up to ask someone.
2019-02-22T15:02:34.299600
Nenita
pythondev_help_Nenita_2019-02-22T15:02:34.299600
1,550,847,754.2996
10,056
pythondev
help
Have you tried f-strings (if &gt;=3.6) or `.format()`?
2019-02-22T15:04:46.300600
Clemmie
pythondev_help_Clemmie_2019-02-22T15:04:46.300600
1,550,847,886.3006
10,057
pythondev
help
does the \” after SSH escape the ”
2019-02-22T15:06:12.301700
Necole
pythondev_help_Necole_2019-02-22T15:06:12.301700
1,550,847,972.3017
10,058
pythondev
help
With the r string you might need to use `format` regardless
2019-02-22T15:06:30.302000
Clemmie
pythondev_help_Clemmie_2019-02-22T15:06:30.302000
1,550,847,990.302
10,059
pythondev
help
r”\\SERVER\c$\SSH\\” + data + ‘.csv’
2019-02-22T15:06:46.302300
Necole
pythondev_help_Necole_2019-02-22T15:06:46.302300
1,550,848,006.3023
10,060
pythondev
help
and the :taco: award goes to <@Necole>. thank everyone. I've never had to use .format(), but adding an extra backslash did the trick. Can't believe that was the one thing I didn't try.
2019-02-22T15:09:13.303600
Nenita
pythondev_help_Nenita_2019-02-22T15:09:13.303600
1,550,848,153.3036
10,061
pythondev
help
yeah, \ are tricky little dudes in strings
2019-02-22T15:09:33.303900
Necole
pythondev_help_Necole_2019-02-22T15:09:33.303900
1,550,848,173.3039
10,062
pythondev
help
I was running into lot of path issues, and started relying on `os.path.join` and let it take care of backslash `path = os.path.join('\SERVER\c$\SSH', f'{data}.csv')`
2019-02-22T15:51:36.305200
Raguel
pythondev_help_Raguel_2019-02-22T15:51:36.305200
1,550,850,696.3052
10,063
pythondev
help
Hi all,
2019-02-22T15:52:05.305300
Leopoldo
pythondev_help_Leopoldo_2019-02-22T15:52:05.305300
1,550,850,725.3053
10,064
pythondev
help
I am trying to learn functions. I want to take a new score in, and append it to my list of high scores. Can anyone explain what I’m doing wrong here? Thank you.
2019-02-22T15:53:35.306900
Leopoldo
pythondev_help_Leopoldo_2019-02-22T15:53:35.306900
1,550,850,815.3069
10,065
pythondev
help
Note that `append()` modifies the existing list, but doesn't return anything.
2019-02-22T15:53:51.307000
Sasha
pythondev_help_Sasha_2019-02-22T15:53:51.307000
1,550,850,831.307
10,066
pythondev
help
<@Sasha> Do you mind explaining that a little further?
2019-02-22T15:55:21.307600
Leopoldo
pythondev_help_Leopoldo_2019-02-22T15:55:21.307600
1,550,850,921.3076
10,067
pythondev
help
Sure. You are assigning `new` to the return value of the `append()` call, but it isn't returning anything, so `new` is just `None`. You should do the append and then `return high_scores` instead to get the modified list.
2019-02-22T15:56:13.308800
Sasha
pythondev_help_Sasha_2019-02-22T15:56:13.308800
1,550,850,973.3088
10,068
pythondev
help
(Other folks: is there a `global` issue here too, or is it okay as is?)
2019-02-22T15:57:20.309300
Sasha
pythondev_help_Sasha_2019-02-22T15:57:20.309300
1,550,851,040.3093
10,069
pythondev
help
Not so much an issue - no need to return, could just call the function and then print the list - but this is a better structure for future learning _not_ to use globals
2019-02-22T15:58:21.310700
Clemmie
pythondev_help_Clemmie_2019-02-22T15:58:21.310700
1,550,851,101.3107
10,070
pythondev
help
Thank you <@Sasha>, that was clear and I’m able to fix it.
2019-02-22T15:59:27.311200
Leopoldo
pythondev_help_Leopoldo_2019-02-22T15:59:27.311200
1,550,851,167.3112
10,071
pythondev
help
I installed a newer version of `node` using `brew install node`. Can someone explain to me how I can get this specific python project, which is in a Jupter Notebook, to use this newly installed `node` installation instead of the system’s default? The system’s default path is at: &gt; /USR/LOCAL/BIN/node The newly installed one from Brew is located at: &gt; /usr/local/Cellar/node/11.10.0/bin/node
2019-02-22T16:39:14.312600
Cammie
pythondev_help_Cammie_2019-02-22T16:39:14.312600
1,550,853,554.3126
10,072
pythondev
help
Is jupyter install with pip or conda?
2019-02-22T19:10:11.313600
Hanh
pythondev_help_Hanh_2019-02-22T19:10:11.313600
1,550,862,611.3136
10,073
pythondev
help
/usr/local/bin is where node usually puts links to things. What does `node --version` say?
2019-02-22T19:12:20.314200
Hanh
pythondev_help_Hanh_2019-02-22T19:12:20.314200
1,550,862,740.3142
10,074
pythondev
help
If it’s a previous version, then it may not have linked the new one for some reason. Run ``` brew unlink node brew link node@11 ```
2019-02-22T19:14:21.315100
Hanh
pythondev_help_Hanh_2019-02-22T19:14:21.315100
1,550,862,861.3151
10,075
pythondev
help
Should be automatic, but sometimes there is an issue and it doesn’t work
2019-02-22T19:14:35.315500
Hanh
pythondev_help_Hanh_2019-02-22T19:14:35.315500
1,550,862,875.3155
10,076
pythondev
help
If you have jupyter installed with conda, I would install node with that: <https://anaconda.org/conda-forge/nodejs>
2019-02-22T19:15:25.316100
Hanh
pythondev_help_Hanh_2019-02-22T19:15:25.316100
1,550,862,925.3161
10,077
pythondev
help
In the same conda env as jupyter
2019-02-22T19:15:35.316400
Hanh
pythondev_help_Hanh_2019-02-22T19:15:35.316400
1,550,862,935.3164
10,078
pythondev
help
I’m playing around with this: <https://docs.python.org/3/library/tempfile.html#tempfile-examples> …when i write to a temp file, before i `f.close()`, i try to cat the file and its giving me no contents
2019-02-22T21:11:14.318200
Shan
pythondev_help_Shan_2019-02-22T21:11:14.318200
1,550,869,874.3182
10,079
pythondev
help
is that normal?
2019-02-22T21:11:16.318500
Shan
pythondev_help_Shan_2019-02-22T21:11:16.318500
1,550,869,876.3185
10,080
pythondev
help
im running through a json doc. for each item, i need to write the contents of one of the keys to a file so that i can reference that file to be uploaded to a remote location…the problem is that when it goes to upload, it says invalid contents, inspecting the file, there are no contents.
2019-02-22T21:13:00.320000
Shan
pythondev_help_Shan_2019-02-22T21:13:00.320000
1,550,869,980.32
10,081
pythondev
help
oh
2019-02-22T21:20:20.320200
Shan
pythondev_help_Shan_2019-02-22T21:20:20.320200
1,550,870,420.3202
10,082
pythondev
help
so. apparently, this is a thing. you need to pass `delete=False`, then `f.close()`, annnnd then you can reference the file
2019-02-22T21:20:54.320900
Shan
pythondev_help_Shan_2019-02-22T21:20:54.320900
1,550,870,454.3209
10,083
pythondev
help
```&gt;&gt;&gt; val = (464735).to_bytes(4, byteorder='big') &gt;&gt;&gt; val b'\x00\x07\x17_'``` When I try this in a hex editor I get: `00 07 17 5F` Why is the formatting different?
2019-02-22T23:46:37.322000
Layla
pythondev_help_Layla_2019-02-22T23:46:37.322000
1,550,879,197.322
10,084
pythondev
help
I see that 5F is equivalent to `_` not really sure why it's formatting like this.
2019-02-22T23:48:36.322500
Layla
pythondev_help_Layla_2019-02-22T23:48:36.322500
1,550,879,316.3225
10,085
pythondev
help
ahh just missing the call to the format: ```&gt;&gt;&gt; val.hex() '0007175f'```
2019-02-22T23:52:59.322900
Layla
pythondev_help_Layla_2019-02-22T23:52:59.322900
1,550,879,579.3229
10,086
pythondev
help
Thanks for that question, <@Layla>... it taught me about `to_bytes()`. So many little Python 3 features still catching me by surprise...
2019-02-23T00:19:44.324000
Sasha
pythondev_help_Sasha_2019-02-23T00:19:44.324000
1,550,881,184.324
10,087
pythondev
help
hellp i am learning flask and making a blog. I want to implement a full text search module where i am using whooshalchemy but when i run the application i get an error saying no module found 'flask.ext' i am importing flask_whooshalchemy as wa. Please any help I am not getting any solution either on stack overflow. I am using python 3.7.2
2019-02-23T00:31:10.326900
Reinaldo
pythondev_help_Reinaldo_2019-02-23T00:31:10.326900
1,550,881,870.3269
10,088
pythondev
help
Good morning everyone! I would like to have your input on an issue i'm having with Ping's private Instagram API (found on Github). I'm using it to get a list of (max) 40 posts from users to calculate a few metrics like engagement rate. However every few hundred it goes into a time-out. `instagram_web_api.errors.ClientConnectionError: timeout The read operation timed out` I have already added back-off retries and things like that but would there be other things you can suggest to catch the error and not crash my script? I need to calculate the metrics for +-100k accounts. So babysitting it and restarting multiple times a day isn't an option :(
2019-02-23T01:33:10.332300
Lucius
pythondev_help_Lucius_2019-02-23T01:33:10.332300
1,550,885,590.3323
10,089
pythondev
help
are you aware of `try except`?
2019-02-23T01:39:21.332700
Layla
pythondev_help_Layla_2019-02-23T01:39:21.332700
1,550,885,961.3327
10,090
pythondev
help
The simplest way is something like
2019-02-23T01:40:05.332900
Layla
pythondev_help_Layla_2019-02-23T01:40:05.332900
1,550,886,005.3329
10,091
pythondev
help
``` while True: try: # do some actions except instagram_web_api.errors.ClientConnectionError as e: # do something with error save your state and continue above ```
2019-02-23T01:40:50.333800
Layla
pythondev_help_Layla_2019-02-23T01:40:50.333800
1,550,886,050.3338
10,092
pythondev
help
I'm trying to replace the value of a specific cell in a pandas dataframe using this code. But instead of replacing the field, it creates a new row Original df: ``` index company powercut time 0 1 lofotkraft False 2019-02-20 11:38:56.800711 1 2 agderkraft True 2019-02-20 11:38:56.800711 2 3 lyse False 2019-02-20 11:38:56.800711``` My output: ``` index company powercut time 0 1.0 lofotkraft False 2019-02-20 11:38:56.800711 1 2.0 agderkraft True 2019-02-20 11:38:56.800711 2 3.0 lyse False 2019-02-20 11:38:56.800711 2 NaN NaN Elephant NaN``` My wanted output: ``` index company powercut time 0 1 lofotkraft False 2019-02-20 11:38:56.800711 1 2 agderkraft True 2019-02-20 11:38:56.800711 2 3 lyse Elephant 2019-02-20 11:38:56.800711```
2019-02-23T02:46:46.334700
Conchita
pythondev_help_Conchita_2019-02-23T02:46:46.334700
1,550,890,006.3347
10,093
pythondev
help
Maybe try `2` without the quotes? I'd expect that to want an integer rather than a string.
2019-02-23T02:52:39.335600
Sasha
pythondev_help_Sasha_2019-02-23T02:52:39.335600
1,550,890,359.3356
10,094
pythondev
help
If I remove the quotes like `<http://df.at[2|df.at[2>, 'powercut'] = 'Elephant'` nothing apparently happens
2019-02-23T03:01:10.336600
Conchita
pythondev_help_Conchita_2019-02-23T03:01:10.336600
1,550,890,870.3366
10,095
pythondev
help
It just prints my original frame
2019-02-23T03:01:24.337100
Conchita
pythondev_help_Conchita_2019-02-23T03:01:24.337100
1,550,890,884.3371
10,096
pythondev
help
Really? That is odd...
2019-02-23T03:05:49.337400
Sasha
pythondev_help_Sasha_2019-02-23T03:05:49.337400
1,550,891,149.3374
10,097
pythondev
help
Maybe try `print(<http://df.at[2|df.at[2>, 'powercut'])` to double-check?
2019-02-23T03:06:37.338000
Sasha
pythondev_help_Sasha_2019-02-23T03:06:37.338000
1,550,891,197.338
10,098
pythondev
help
Tried, and this is strange. Mind you that the field of [2, 'powercut'] is equal to `False`
2019-02-23T03:16:27.338500
Conchita
pythondev_help_Conchita_2019-02-23T03:16:27.338500
1,550,891,787.3385
10,099
pythondev
help
I don't get why this is happening. Do you <@Sasha>?
2019-02-23T03:16:37.339100
Conchita
pythondev_help_Conchita_2019-02-23T03:16:37.339100
1,550,891,797.3391
10,100
pythondev
help
My best guess is that it has autodetected the powercut column as a boolean type and is continuing to enforce that.
2019-02-23T03:21:17.339800
Sasha
pythondev_help_Sasha_2019-02-23T03:21:17.339800
1,550,892,077.3398
10,101
pythondev
help
can you try `df.set_value('2', 'powercut', 'Elephant')`
2019-02-23T03:24:56.340400
Layla
pythondev_help_Layla_2019-02-23T03:24:56.340400
1,550,892,296.3404
10,102
pythondev
help
Also what does your data look like you are importing? You have something odd with your indexe changing from int to float.
2019-02-23T03:26:45.341400
Layla
pythondev_help_Layla_2019-02-23T03:26:45.341400
1,550,892,405.3414
10,103
pythondev
help
Same result <@Layla>. `df.set_value('2', 'powercut', 'Elephant')` creates a new row where the 'powercut' column is `elephant` and the rest is NAN
2019-02-23T03:27:09.341900
Conchita
pythondev_help_Conchita_2019-02-23T03:27:09.341900
1,550,892,429.3419
10,104
pythondev
help
I can change the field from `True / False` to `1 / 0`
2019-02-23T03:27:48.343300
Conchita
pythondev_help_Conchita_2019-02-23T03:27:48.343300
1,550,892,468.3433
10,105
pythondev
help
How about `df.loc[2, 'powercut'] = 'Elephant'`?
2019-02-23T03:28:39.344100
Sasha
pythondev_help_Sasha_2019-02-23T03:28:39.344100
1,550,892,519.3441
10,106
pythondev
help
&gt; so. apparently, this is a thing. you need to pass `delete=False`, then `f.close()`, annnnd then you can reference the file <@Shan> You've faced buffering I guess. Try to `f.flush()` before closing the file and then access its content. ``` with tempfile.NamedTemporaryFile() as t: t.write(content) t.flush() t.read() # content should be available ```
2019-02-23T03:28:45.344300
Nigel
pythondev_help_Nigel_2019-02-23T03:28:45.344300
1,550,892,525.3443
10,107
pythondev
help
That did the trick! Thank you so much, have a :taco: <@Sasha>
2019-02-23T03:29:50.344800
Conchita
pythondev_help_Conchita_2019-02-23T03:29:50.344800
1,550,892,590.3448
10,108
pythondev
help
Cool. Apparently `at` tries to preserve the type, but `loc` doesn't.
2019-02-23T03:30:08.345300
Sasha
pythondev_help_Sasha_2019-02-23T03:30:08.345300
1,550,892,608.3453
10,109
pythondev
help
Ah, interesting. Noted
2019-02-23T03:30:24.345600
Conchita
pythondev_help_Conchita_2019-02-23T03:30:24.345600
1,550,892,624.3456
10,110
pythondev
help
Hey there everyone I need Help in a startup project Please and this is a profitable business please DM me
2019-02-23T06:04:36.346600
Jere
pythondev_help_Jere_2019-02-23T06:04:36.346600
1,550,901,876.3466
10,111
pythondev
help
If you have a question, please just ask it. Please do not ask for topic experts; do not DM or ping random users. We cannot begin to answer a question until we actually get a question. <http://sol.gfxile.net/dontask.html|*Asking Questions*>
2019-02-23T06:11:25.346700
Leana
pythondev_help_Leana_2019-02-23T06:11:25.346700
1,550,902,285.3467
10,112
pythondev
help
Wow, <@Leana>!
2019-02-23T06:20:37.347000
Nigel
pythondev_help_Nigel_2019-02-23T06:20:37.347000
1,550,902,837.347
10,113
pythondev
help
Using a python library named Troposphere. This is not a question about Troposphere but just to give you some context. I need to replace the `{}` with the `eks_cluster_name` value using a multi-line string. I thought I could do something with `format` but it does not work.
2019-02-23T09:21:24.349800
Carlota
pythondev_help_Carlota_2019-02-23T09:21:24.349800
1,550,913,684.3498
10,114
pythondev
help
<@Carlota> format works fine with a multi line string, I think you need to escape the other `{}` ( `{BootstrapArguments}` , `{AWS::StackName}`, `{AWS::Region}`) by using `{{...}}`, if those represent variable names, then you should pass them to the parameters of format instead, hope that could help.
2019-02-23T10:23:31.354600
Elliott
pythondev_help_Elliott_2019-02-23T10:23:31.354600
1,550,917,411.3546
10,115
pythondev
help
Hey guys, I’m trying to get my script to run every night at midnight, but it’s just not working. `0 0 * * * /usr/bin/python3 /home/fileserver/printletters.py` Do I need to just add `#!/usr/bin/python3` to the head of my script and take that part out of the crontab entry? Or should I write a bash script that runs the python script and have crontab run that? Or what?
2019-02-23T12:18:31.356900
Kristine
pythondev_help_Kristine_2019-02-23T12:18:31.356900
1,550,924,311.3569
10,116
pythondev
help
I have a bunch of working conrtab entries, but this is the only python entry, so it’s definitely a matter of me just doing something wrong
2019-02-23T12:19:01.357600
Kristine
pythondev_help_Kristine_2019-02-23T12:19:01.357600
1,550,924,341.3576
10,117
pythondev
help
Are you sure the script isn't running?
2019-02-23T12:29:00.357800
Carmen
pythondev_help_Carmen_2019-02-23T12:29:00.357800
1,550,924,940.3578
10,118
pythondev
help
Or is it just not doing what you expect?
2019-02-23T12:29:07.358100
Carmen
pythondev_help_Carmen_2019-02-23T12:29:07.358100
1,550,924,947.3581
10,119
pythondev
help
Also, is that /etc/crontab, or your user crontab?
2019-02-23T12:29:26.358500
Carmen
pythondev_help_Carmen_2019-02-23T12:29:26.358500
1,550,924,966.3585
10,120