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
<@Theola> you're telling Requests to perform a file upload using multipart encoding. That's what the `files=file` parameter is for.
2019-03-11T13:25:15.256700
Melynda
pythondev_help_Melynda_2019-03-11T13:25:15.256700
1,552,310,715.2567
12,921
pythondev
help
<https://github.com/kennethreitz/requests/blob/master/requests/api.py#L28-L32>
2019-03-11T13:27:14.257700
Hiroko
pythondev_help_Hiroko_2019-03-11T13:27:14.257700
1,552,310,834.2577
12,922
pythondev
help
```param files: (optional) Dictionary of ``'name': file-like-objects`` (or ``{'name': file-tuple}``) for multipart encoding upload. ``file-tuple`` can be a 2-tuple ``('filename', fileobj)``, 3-tuple ``('filename', fileobj, 'content_type')`` or a 4-tuple ``('filename', fileobj, 'content_type', custom_headers)``, where ``'content-type'`` is a string defining the content type of the given file and ``custom_headers`` a dict-like object containing additional headers to add for the file.```
2019-03-11T13:27:22.258000
Hiroko
pythondev_help_Hiroko_2019-03-11T13:27:22.258000
1,552,310,842.258
12,923
pythondev
help
If you want to just send the data contained in file `f`, something like this might work: `data = <http://requests.post|requests.post>(url, data=f)`
2019-03-11T13:27:52.258200
Melynda
pythondev_help_Melynda_2019-03-11T13:27:52.258200
1,552,310,872.2582
12,924
pythondev
help
I'm trying to get the top headlines for a news source a user selects. When I type in the string, execution ends silently without any output beyond the 'Enter your choice' line.
2019-03-11T14:09:19.258300
Jamey
pythondev_help_Jamey_2019-03-11T14:09:19.258300
1,552,313,359.2583
12,925
pythondev
help
Well, `get_news_items()` returns a value, but nothing prints it, so there would be no expected output.
2019-03-11T14:15:39.259100
Sasha
pythondev_help_Sasha_2019-03-11T14:15:39.259100
1,552,313,739.2591
12,926
pythondev
help
you’re not doing anything with the response
2019-03-11T14:15:42.259200
Hiroko
pythondev_help_Hiroko_2019-03-11T14:15:42.259200
1,552,313,742.2592
12,927
pythondev
help
<@Sasha> <@Hiroko> thanks.
2019-03-11T14:42:28.262500
Jamey
pythondev_help_Jamey_2019-03-11T14:42:28.262500
1,552,315,348.2625
12,928
pythondev
help
So I've updated this to use a dictionary that serves up the `id` of the news source and the `name` so that the `id` can be passed to make the `top_headlines` url. However, when I run the program, I get the following error: `Traceback (most recent call last): File "cli.py", line 32, in &lt;module&gt; get_news_items(user_choice, full_sources_list) File "cli.py", line 23, in get_news_items TOP_HEAD, '?sources={}&amp;apiKey={}'.format(choice['name'], API_KEY) TypeError: string indices must be integers`. According to the documentation of the API here: <https://newsapi.org/docs/endpoints/top-headlines>, I _seem_ to be formatting the URL correctly. Why is it then giving me a string?
2019-03-11T14:50:51.262900
Jamey
pythondev_help_Jamey_2019-03-11T14:50:51.262900
1,552,315,851.2629
12,929
pythondev
help
Here `user_choice` is just a string, so it doesn't have a `'name'` field in the `choice['name']` expression.
2019-03-11T14:55:20.264400
Sasha
pythondev_help_Sasha_2019-03-11T14:55:20.264400
1,552,316,120.2644
12,930
pythondev
help
`user_choice = input("Enter your choice: ").rstrip()`
2019-03-11T14:55:31.264600
Hiroko
pythondev_help_Hiroko_2019-03-11T14:55:31.264600
1,552,316,131.2646
12,931
pythondev
help
thanks
2019-03-11T15:01:00.264900
Theola
pythondev_help_Theola_2019-03-11T15:01:00.264900
1,552,316,460.2649
12,932
pythondev
help
that works
2019-03-11T15:01:10.265100
Theola
pythondev_help_Theola_2019-03-11T15:01:10.265100
1,552,316,470.2651
12,933
pythondev
help
New to Python. Trying to track down docs on `os.environ.get()`. From my searches I've been able to determine that os.environ is a "mapping class". But not getting much further. The example of os.environ.get() I see has 2 arguments. Just trying to find out how many arguments it takes overall, how may are required, and what they do.
2019-03-11T15:08:14.267400
Catrice
pythondev_help_Catrice_2019-03-11T15:08:14.267400
1,552,316,894.2674
12,934
pythondev
help
<https://docs.python.org/3/library/stdtypes.html#dict.get>
2019-03-11T15:10:06.267500
Joette
pythondev_help_Joette_2019-03-11T15:10:06.267500
1,552,317,006.2675
12,935
pythondev
help
you can think of it like a dictionary, so the first argument is the `key` you're looking for, e.g. "PATH", and the second _optional_ variable is the default to return if that key is missing
2019-03-11T15:10:49.267700
Joette
pythondev_help_Joette_2019-03-11T15:10:49.267700
1,552,317,049.2677
12,936
pythondev
help
<@Sasha> you were right. I was using the input the wrong way. Thanks <@Hiroko> :taco: . Will start from here later. :slightly_smiling_face:
2019-03-11T15:15:01.269200
Jamey
pythondev_help_Jamey_2019-03-11T15:15:01.269200
1,552,317,301.2692
12,937
pythondev
help
<@Joette> thanks for that link. I was going nuts. so the 'default' is a string that gets returned if the key is missing? or the default is another key to return the value of if the first key is missing?
2019-03-11T15:17:35.269400
Catrice
pythondev_help_Catrice_2019-03-11T15:17:35.269400
1,552,317,455.2694
12,938
pythondev
help
the _value_ to return if the key is missing
2019-03-11T15:17:51.269700
Joette
pythondev_help_Joette_2019-03-11T15:17:51.269700
1,552,317,471.2697
12,939
pythondev
help
:thumbsup: thanks again
2019-03-11T15:18:17.269900
Catrice
pythondev_help_Catrice_2019-03-11T15:18:17.269900
1,552,317,497.2699
12,940
pythondev
help
that's true for dictionaries (or mappables) in general
2019-03-11T15:18:18.270100
Joette
pythondev_help_Joette_2019-03-11T15:18:18.270100
1,552,317,498.2701
12,941
pythondev
help
sure thing!
2019-03-11T15:18:22.270300
Joette
pythondev_help_Joette_2019-03-11T15:18:22.270300
1,552,317,502.2703
12,942
pythondev
help
one more thing - if you use `get` on a dictionary without a default value, the default value returned will be `None`
2019-03-11T15:18:46.270500
Joette
pythondev_help_Joette_2019-03-11T15:18:46.270500
1,552,317,526.2705
12,943
pythondev
help
I am using structlog, how do I print whole structure being passed to me in log
2019-03-11T19:02:57.274800
Micki
pythondev_help_Micki_2019-03-11T19:02:57.274800
1,552,330,977.2748
12,944
pythondev
help
it comes in as protobuf message
2019-03-11T19:30:03.275400
Micki
pythondev_help_Micki_2019-03-11T19:30:03.275400
1,552,332,603.2754
12,945
pythondev
help
Can anyone suggest some good monitoring tools for analysing logs using some graphical representation ?
2019-03-11T21:01:15.275800
Kina
pythondev_help_Kina_2019-03-11T21:01:15.275800
1,552,338,075.2758
12,946
pythondev
help
I have to make a huge amount of requests to a site to parse some XML files. I get about 2.3 requests / second using the `requests` library but the rate limit is 10 so I'd like to up that. Are there any common ways to make my requests faster? Should I use a different library? is it just a bandwidth bottleneck?
2019-03-11T21:02:43.277400
Maricruz
pythondev_help_Maricruz_2019-03-11T21:02:43.277400
1,552,338,163.2774
12,947
pythondev
help
Check out requests future and use concurrency
2019-03-11T21:07:18.278300
Hiroko
pythondev_help_Hiroko_2019-03-11T21:07:18.278300
1,552,338,438.2783
12,948
pythondev
help
<https://github.com/ross/requests-futures>
2019-03-11T21:07:58.278500
Hiroko
pythondev_help_Hiroko_2019-03-11T21:07:58.278500
1,552,338,478.2785
12,949
pythondev
help
<@Hiroko> thanks as always! :taco:
2019-03-11T21:31:03.279800
Maricruz
pythondev_help_Maricruz_2019-03-11T21:31:03.279800
1,552,339,863.2798
12,950
pythondev
help
Hi everyon. I'm David. I have a question about python. Can I ask to here? If OK, please how to solve it. I find e-mail address in list. How can I find it. example is.. ```data = ['dd26c7bf-a271-d6', '<mailto:[email protected]|[email protected]>', '67.164.118.149', '', '', '', '', '', '20120511121429'] if "@" in data: print("test")```
2019-03-11T21:31:11.280000
Trevor
pythondev_help_Trevor_2019-03-11T21:31:11.280000
1,552,339,871.28
12,951
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-03-11T21:33:17.280100
Leana
pythondev_help_Leana_2019-03-11T21:33:17.280100
1,552,339,997.2801
12,952
pythondev
help
It depends what you need to distinguish against. If the email is always the second element in your list, `data[1]` solves it. If none of the other values will have an `@` sign, then that's a simple loop to check. More complicated would be a regex filter. And if you need to recognize a standards-compliant email address versus something that is close but not quite right, it's probably time to pull out a library, as that's quite messy in general.
2019-03-11T22:12:01.283000
Sasha
pythondev_help_Sasha_2019-03-11T22:12:01.283000
1,552,342,321.283
12,953
pythondev
help
Right now the `if "@" in data` is looking for an element of the list which is exactly `"@"`, rather than a string containing an `@`.
2019-03-11T22:12:42.283700
Sasha
pythondev_help_Sasha_2019-03-11T22:12:42.283700
1,552,342,362.2837
12,954
pythondev
help
first of all Thanks answer to me <@Sasha> I know. I'm biginner. So understand to me. I was try to another method but I can't fix it. So, please guide to me. how can find e-mail pattern to extract in data. more clearly, If find email pattern, just print data.
2019-03-11T22:18:35.287100
Trevor
pythondev_help_Trevor_2019-03-11T22:18:35.287100
1,552,342,715.2871
12,955
pythondev
help
What does the rest of the data look like, or could look like?
2019-03-11T22:21:55.287500
Sasha
pythondev_help_Sasha_2019-03-11T22:21:55.287500
1,552,342,915.2875
12,956
pythondev
help
what does mean rest of the data?
2019-03-11T22:28:58.288000
Trevor
pythondev_help_Trevor_2019-03-11T22:28:58.288000
1,552,343,338.288
12,957
pythondev
help
What values other than email addresses do you need to reject?
2019-03-11T22:30:17.288500
Sasha
pythondev_help_Sasha_2019-03-11T22:30:17.288500
1,552,343,417.2885
12,958
pythondev
help
Are they always numbers, or text, or binary data?
2019-03-11T22:30:47.289000
Sasha
pythondev_help_Sasha_2019-03-11T22:30:47.289000
1,552,343,447.289
12,959
pythondev
help
only text I need it. email address is always in data[1].
2019-03-11T22:33:58.291000
Trevor
pythondev_help_Trevor_2019-03-11T22:33:58.291000
1,552,343,638.291
12,960
pythondev
help
Then you're done... use `data[1]`. :confetti_ball:
2019-03-11T22:34:41.291500
Sasha
pythondev_help_Sasha_2019-03-11T22:34:41.291500
1,552,343,681.2915
12,961
pythondev
help
ok I will try <@Sasha> thanks
2019-03-11T22:38:23.292200
Trevor
pythondev_help_Trevor_2019-03-11T22:38:23.292200
1,552,343,903.2922
12,962
pythondev
help
I'm using the following from a textbook: `from django.views.generic.list_detail import object_list, object_detail` `from django.views.generic.create_update import create_update` Which I found out has been deprecated in Django. What equivalent can I use?
2019-03-12T00:26:26.293300
Robbi
pythondev_help_Robbi_2019-03-12T00:26:26.293300
1,552,350,386.2933
12,963
pythondev
help
any reason why pycharm wouldn't breakpoint on external library code that's run?
2019-03-12T01:11:20.294600
Lynelle
pythondev_help_Lynelle_2019-03-12T01:11:20.294600
1,552,353,080.2946
12,964
pythondev
help
Could someone show me how can I get the max duration from the duration column for each unique date?. <#C07EFMZ1N|help>
2019-03-12T02:11:45.295000
Echo
pythondev_help_Echo_2019-03-12T02:11:45.295000
1,552,356,705.295
12,965
pythondev
help
why won't the "elif" function work?
2019-03-12T04:29:44.295800
Otelia
pythondev_help_Otelia_2019-03-12T04:29:44.295800
1,552,364,984.2958
12,966
pythondev
help
the first time your indentation was wrong
2019-03-12T04:30:57.296300
Jimmy
pythondev_help_Jimmy_2019-03-12T04:30:57.296300
1,552,365,057.2963
12,967
pythondev
help
for the second and third there is no `if` first. One block should have an `if` and zero/one/more `elif`
2019-03-12T04:31:48.297200
Jimmy
pythondev_help_Jimmy_2019-03-12T04:31:48.297200
1,552,365,108.2972
12,968
pythondev
help
``` &gt;&gt;&gt; &gt;&gt;&gt; if 1 == 1: ... pass ... elif 2 == 2: ... pass ... &gt;&gt;&gt; ```
2019-03-12T04:32:20.297400
Jimmy
pythondev_help_Jimmy_2019-03-12T04:32:20.297400
1,552,365,140.2974
12,969
pythondev
help
Again, get an IDE. IDLE sucks. Lol.
2019-03-12T05:42:34.298300
Nieves
pythondev_help_Nieves_2019-03-12T05:42:34.298300
1,552,369,354.2983
12,970
pythondev
help
I only use the interpreter to run very small tests to see if something works and if the net haven’t tested it out yet with their docs. Using IDLE for programs in Py is stupid. Even my professors say get an IDE. Lol.
2019-03-12T05:44:08.300400
Nieves
pythondev_help_Nieves_2019-03-12T05:44:08.300400
1,552,369,448.3004
12,971
pythondev
help
or use: <https://repl.it/>
2019-03-12T05:47:53.301100
Mica
pythondev_help_Mica_2019-03-12T05:47:53.301100
1,552,369,673.3011
12,972
pythondev
help
use it all the time for small tests
2019-03-12T05:48:04.301400
Mica
pythondev_help_Mica_2019-03-12T05:48:04.301400
1,552,369,684.3014
12,973
pythondev
help
plus super easy to make edits and stuff
2019-03-12T05:48:11.301600
Mica
pythondev_help_Mica_2019-03-12T05:48:11.301600
1,552,369,691.3016
12,974
pythondev
help
Whatever works. I am old schooled. USB with all my programs and sometimes a portable version of either a compiler or/and the interpreter... lolol. Find cold storages more reliable and cheaper than cloud.
2019-03-12T05:49:35.303900
Nieves
pythondev_help_Nieves_2019-03-12T05:49:35.303900
1,552,369,775.3039
12,975
pythondev
help
oh wow haha, I assume you must store some stuff in repos, like Github/GitLab/BitBucket or some kind of SVN?
2019-03-12T05:55:53.305400
Mica
pythondev_help_Mica_2019-03-12T05:55:53.305400
1,552,370,153.3054
12,976
pythondev
help
`@APP.route('/user/&lt;public_id&gt;', methods = ['GET'])` `def get_one_user(public_id):` ` user = User.query.filter_by(public_id = public_id).first()` ` output = []` ` if not user:` ` return jsonify ({"message": "No user found"})` ` ` ` user_data = {}` ` user_data['id'] = user.id` ` user_data['public_id'] = user.public_id` ` user_data['name'] = user.name` ` user_data['password'] = user.password` ` user_data['admin'] = user.admin` ` ` ` output.append(user_data)` ` return make_response(jsonify({"users": user_data}))`
2019-03-12T06:36:07.308200
Laveta
pythondev_help_Laveta_2019-03-12T06:36:07.308200
1,552,372,567.3082
12,977
pythondev
help
<@Mica> rarely. I don't like github since it is now a social platform. I only really use my account to fork projects that I like and/or need aka not as many bookmarks to keep track of. Also, I am borked. I get spoiled at my internship, but that is about it.
2019-03-12T06:40:02.309800
Nieves
pythondev_help_Nieves_2019-03-12T06:40:02.309800
1,552,372,802.3098
12,978
pythondev
help
anyways, busy working with the requests api in Py3... CSRF Tokens I think are considered cookies. No?
2019-03-12T06:40:55.310400
Nieves
pythondev_help_Nieves_2019-03-12T06:40:55.310400
1,552,372,855.3104
12,979
pythondev
help
ah fair, no idea man
2019-03-12T06:41:28.310800
Mica
pythondev_help_Mica_2019-03-12T06:41:28.310800
1,552,372,888.3108
12,980
pythondev
help
CSRF tokens are not considered cookies, no.
2019-03-12T06:42:03.311100
Karoline
pythondev_help_Karoline_2019-03-12T06:42:03.311100
1,552,372,923.3111
12,981
pythondev
help
Ugh... this is gonna be a pain to get the csrf since this POST request requires one according to Burp.
2019-03-12T06:42:56.311800
Nieves
pythondev_help_Nieves_2019-03-12T06:42:56.311800
1,552,372,976.3118
12,982
pythondev
help
Hm... actually this site considers a CSRFToken as a Cookie. Wow.
2019-03-12T06:45:55.312600
Nieves
pythondev_help_Nieves_2019-03-12T06:45:55.312600
1,552,373,155.3126
12,983
pythondev
help
Took a peek at Burp again
2019-03-12T06:46:04.312900
Nieves
pythondev_help_Nieves_2019-03-12T06:46:04.312900
1,552,373,164.3129
12,984
pythondev
help
Yeah it can be retrieved via `r.cookies['csrftoken']`
2019-03-12T06:58:27.313500
Nieves
pythondev_help_Nieves_2019-03-12T06:58:27.313500
1,552,373,907.3135
12,985
pythondev
help
So: `print(r.cookies['cookies'])`
2019-03-12T06:59:31.314300
Nieves
pythondev_help_Nieves_2019-03-12T06:59:31.314300
1,552,373,971.3143
12,986
pythondev
help
lordy... am I that tired?
2019-03-12T06:59:47.314600
Nieves
pythondev_help_Nieves_2019-03-12T06:59:47.314600
1,552,373,987.3146
12,987
pythondev
help
csrf are considered another version of cookies since the cookie isn't stored, but used to validate each session (aka every POST request and GET within one browsing)... I think. Not 100% sure though.
2019-03-12T07:01:12.315700
Nieves
pythondev_help_Nieves_2019-03-12T07:01:12.315700
1,552,374,072.3157
12,988
pythondev
help
a csrf token can be stored in a cookie - but it is not a cookie
2019-03-12T07:08:07.316200
Karoline
pythondev_help_Karoline_2019-03-12T07:08:07.316200
1,552,374,487.3162
12,989
pythondev
help
:confused:
2019-03-12T07:08:28.316500
Nieves
pythondev_help_Nieves_2019-03-12T07:08:28.316500
1,552,374,508.3165
12,990
pythondev
help
Still doesn't make 100% sense, but whatever.
2019-03-12T07:08:36.316800
Nieves
pythondev_help_Nieves_2019-03-12T07:08:36.316800
1,552,374,516.3168
12,991
pythondev
help
It works and really not interested in understanding how a string of randomness works...
2019-03-12T07:09:06.317400
Nieves
pythondev_help_Nieves_2019-03-12T07:09:06.317400
1,552,374,546.3174
12,992
pythondev
help
Eventually I will understand, but not right now
2019-03-12T07:09:17.317800
Nieves
pythondev_help_Nieves_2019-03-12T07:09:17.317800
1,552,374,557.3178
12,993
pythondev
help
Why would my script of code not want to take this line. It throws up an error when i try to run the full program. `TEAM.append(': '[])` Im trying to append an open list.
2019-03-12T08:29:06.318700
Juliana
pythondev_help_Juliana_2019-03-12T08:29:06.318700
1,552,379,346.3187
12,994
pythondev
help
what is `TEAM`?
2019-03-12T08:33:43.319100
Hiroko
pythondev_help_Hiroko_2019-03-12T08:33:43.319100
1,552,379,623.3191
12,995
pythondev
help
`': '[]` isn't valid <@Juliana>
2019-03-12T08:38:22.319700
Jonas
pythondev_help_Jonas_2019-03-12T08:38:22.319700
1,552,379,902.3197
12,996
pythondev
help
Assertive arrays?
2019-03-12T08:38:30.320000
Nieves
pythondev_help_Nieves_2019-03-12T08:38:30.320000
1,552,379,910.32
12,997
pythondev
help
what are you trying to do there? Likely remove `[]` and it will work.
2019-03-12T08:38:34.320200
Jonas
pythondev_help_Jonas_2019-03-12T08:38:34.320200
1,552,379,914.3202
12,998
pythondev
help
is there any python function to list all the files in a directory with their creation date? example os.listdir(dir_path) gives all the names in the dir_path… similarly is there something to give me both name and creation date?
2019-03-12T08:44:23.322500
Malika
pythondev_help_Malika_2019-03-12T08:44:23.322500
1,552,380,263.3225
12,999
pythondev
help
TEAMS is a list from an imported file that has a list of team names. I want to be able to append an open list nested within that list for each team in the list. `TEAMS = [ 'Panthers', 'Bandits', 'Warriors' ]` I need to somehow be able to make data that adds players to those teams <@Hiroko> <@Jonas> In a function i wrote out is like `for TEAM in TEAMS:`
2019-03-12T08:50:49.324600
Juliana
pythondev_help_Juliana_2019-03-12T08:50:49.324600
1,552,380,649.3246
13,000
pythondev
help
<@Hiroko> <@Jonas>
2019-03-12T10:09:04.326800
Juliana
pythondev_help_Juliana_2019-03-12T10:09:04.326800
1,552,385,344.3268
13,001
pythondev
help
sounds like you might want to use a different data structure <@Juliana>
2019-03-12T10:18:59.327100
Joette
pythondev_help_Joette_2019-03-12T10:18:59.327100
1,552,385,939.3271
13,002
pythondev
help
<@Juliana> what exactly are you trying to represent here
2019-03-12T10:35:00.327800
Jonas
pythondev_help_Jonas_2019-03-12T10:35:00.327800
1,552,386,900.3278
13,003
pythondev
help
you do likely want a different structure.
2019-03-12T10:35:21.328100
Jonas
pythondev_help_Jonas_2019-03-12T10:35:21.328100
1,552,386,921.3281
13,004
pythondev
help
`TEAMS_WITH_PLAYER_ROSTERS = {team: [] for team in TEAMS}`
2019-03-12T10:44:06.328800
Joette
pythondev_help_Joette_2019-03-12T10:44:06.328800
1,552,387,446.3288
13,005
pythondev
help
That logic is alot cleaner than the route i was going, thank you! <@Joette> I am new to python. A month or so in.
2019-03-12T10:49:07.329500
Juliana
pythondev_help_Juliana_2019-03-12T10:49:07.329500
1,552,387,747.3295
13,006
pythondev
help
a good rule of thumb to keep in mind is that lists are best for _homogenous data_, e.g. a list of names, tuples are best for heterogenous data, e.g. records like a name, address, birth date, and dictionaries are are best for records where you want to have helpful lookups
2019-03-12T11:07:32.331200
Joette
pythondev_help_Joette_2019-03-12T11:07:32.331200
1,552,388,852.3312
13,007
pythondev
help
Anyone has some good resources to learn general AWS?
2019-03-12T11:32:05.332200
Bernita
pythondev_help_Bernita_2019-03-12T11:32:05.332200
1,552,390,325.3322
13,008
pythondev
help
next week my final technical interview and they ask basic knowledge about (C2, S3, Athena, EMR, Lambda)
2019-03-12T11:32:59.332900
Bernita
pythondev_help_Bernita_2019-03-12T11:32:59.332900
1,552,390,379.3329
13,009
pythondev
help
aws docs are amazing
2019-03-12T11:33:34.333100
Chester
pythondev_help_Chester_2019-03-12T11:33:34.333100
1,552,390,414.3331
13,010
pythondev
help
(most of the time)
2019-03-12T11:35:35.333700
Chester
pythondev_help_Chester_2019-03-12T11:35:35.333700
1,552,390,535.3337
13,011
pythondev
help
hmm, have to sign up with credit card
2019-03-12T11:36:28.334200
Bernita
pythondev_help_Bernita_2019-03-12T11:36:28.334200
1,552,390,588.3342
13,012
pythondev
help
No. Although I think for newly created accounts aws specifically allows creation of free tier eligible resources
2019-03-12T11:37:48.335600
Chester
pythondev_help_Chester_2019-03-12T11:37:48.335600
1,552,390,668.3356
13,013
pythondev
help
Everything else you should ask to "unlock"
2019-03-12T11:38:05.336100
Chester
pythondev_help_Chester_2019-03-12T11:38:05.336100
1,552,390,685.3361
13,014
pythondev
help
credit cards are not that common here in Europe. don't really have one actually
2019-03-12T11:38:17.336500
Bernita
pythondev_help_Bernita_2019-03-12T11:38:17.336500
1,552,390,697.3365
13,015
pythondev
help
not sure where you are in europe but you most likely can buy a prepaid credit card in a supermarket
2019-03-12T11:38:47.337200
Jimmy
pythondev_help_Jimmy_2019-03-12T11:38:47.337200
1,552,390,727.3372
13,016
pythondev
help
perfect timing to give my Mom a call lol
2019-03-12T11:39:11.337600
Bernita
pythondev_help_Bernita_2019-03-12T11:39:11.337600
1,552,390,751.3376
13,017
pythondev
help
Debit cards are fine
2019-03-12T11:54:54.338400
Jonas
pythondev_help_Jonas_2019-03-12T11:54:54.338400
1,552,391,694.3384
13,018
pythondev
help
Does anyone here have experience with bulk inserting data into mssql with pymssql? The pymssql cursor only seems to support .execute() and .executemany(), but the executemany() just generates an insert statement for each row, that makes it super slow. It would be way faster if there would be one insert statement with a list of value rows in the same statement. In order cursors there is a function like .mogrify, like as described here: <https://stackoverflow.com/questions/8134602/psycopg2-insert-multiple-rows-with-one-query>. I don't want to create a string literal in code since that's susceptible to sql injections. Any ideas?
2019-03-12T12:48:40.340500
Dawn
pythondev_help_Dawn_2019-03-12T12:48:40.340500
1,552,394,920.3405
13,019
pythondev
help
Looks to me like pymssql isn't very smart… <https://github.com/pymssql/pymssql/issues/332>
2019-03-12T13:10:58.340800
Melynda
pythondev_help_Melynda_2019-03-12T13:10:58.340800
1,552,396,258.3408
13,020