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
a string is iterable, but you'd rarely want that
2019-02-18T13:24:33.054700
Jonas
pythondev_help_Jonas_2019-02-18T13:24:33.054700
1,550,496,273.0547
9,321
pythondev
help
So specific exclusions are fine (`if isinstance(obj, str)`)
2019-02-18T13:24:45.055000
Jonas
pythondev_help_Jonas_2019-02-18T13:24:45.055000
1,550,496,285.055
9,322
pythondev
help
but in general if you want to iterate over something, check that it's iterable rather than it is a concrete type
2019-02-18T13:25:00.055600
Jonas
pythondev_help_Jonas_2019-02-18T13:25:00.055600
1,550,496,300.0556
9,323
pythondev
help
I check primitive types first, so this is safe
2019-02-18T13:25:09.055900
Deangelo
pythondev_help_Deangelo_2019-02-18T13:25:09.055900
1,550,496,309.0559
9,324
pythondev
help
so I have this: ``` if isinstance(data, Iterable): return _deserialize_list(data, klass) # need subclass, like float in List[float] elif isinstance(data, Mapping): return _deserialize_dict(data, klass) # need subclass here too ```
2019-02-18T13:26:29.056900
Deangelo
pythondev_help_Deangelo_2019-02-18T13:26:29.056900
1,550,496,389.0569
9,325
pythondev
help
instead of klass, I need to fetch the sub type, in say `List[subtype]`
2019-02-18T13:27:10.057600
Deangelo
pythondev_help_Deangelo_2019-02-18T13:27:10.057600
1,550,496,430.0576
9,326
pythondev
help
actually nvm
2019-02-18T13:33:49.058000
Deangelo
pythondev_help_Deangelo_2019-02-18T13:33:49.058000
1,550,496,829.058
9,327
pythondev
help
I'm having issues with isinstance(data, Iterable) and isinstance(data, Mapping)
2019-02-18T13:34:09.058400
Deangelo
pythondev_help_Deangelo_2019-02-18T13:34:09.058400
1,550,496,849.0584
9,328
pythondev
help
because I want to also support class models
2019-02-18T13:34:56.059000
Deangelo
pythondev_help_Deangelo_2019-02-18T13:34:56.059000
1,550,496,896.059
9,329
pythondev
help
``` ... elif isinstance(data, Mapping): return _deserialize_dict(data, klass) elif isinstance(data, Iterable): return _deserialize_list(data, klass) else: return deserialize_model(data, klass) ```
2019-02-18T13:35:16.059300
Deangelo
pythondev_help_Deangelo_2019-02-18T13:35:16.059300
1,550,496,916.0593
9,330
pythondev
help
the last branch `deserialize_model` never gets triggered because instances of custom classes are also of type Mapping and Iterable
2019-02-18T13:35:57.060200
Deangelo
pythondev_help_Deangelo_2019-02-18T13:35:57.060200
1,550,496,957.0602
9,331
pythondev
help
I initially had this: ``` elif type(klass) == GenericMeta: if klass.__extra__ == list: return _deserialize_list(data, klass.__args__[0]) if klass.__extra__ == dict: return _deserialize_dict(data, klass.__args__[1]) else: return deserialize_model(data, klass) ```
2019-02-18T13:37:07.060500
Deangelo
pythondev_help_Deangelo_2019-02-18T13:37:07.060500
1,550,497,027.0605
9,332
pythondev
help
but it's not compatible with python 3.7
2019-02-18T13:37:27.060800
Deangelo
pythondev_help_Deangelo_2019-02-18T13:37:27.060800
1,550,497,047.0608
9,333
pythondev
help
It is a little different, but maybe you could use `functools.singledispatch` and use the logic inside the `Mapping/Iterable` function to differentiate between your models and the base types
2019-02-18T13:40:02.062200
Clemmie
pythondev_help_Clemmie_2019-02-18T13:40:02.062200
1,550,497,202.0622
9,334
pythondev
help
I found `typing_inspect`, which can do: ``` is_generic_type(Mapping) is_generic_type(Iterable[int]) ``` I just need the import to work so I can check.
2019-02-18T14:37:14.063900
Deangelo
pythondev_help_Deangelo_2019-02-18T14:37:14.063900
1,550,500,634.0639
9,335
pythondev
help
trying to figure something out in using pandas.. anyone who could help ?
2019-02-18T15:00:02.064400
Kourtney
pythondev_help_Kourtney_2019-02-18T15:00:02.064400
1,550,502,002.0644
9,336
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-18T15:01:28.065500
Leana
pythondev_help_Leana_2019-02-18T15:01:28.065500
1,550,502,088.0655
9,337
pythondev
help
its a part of preprocessing (trying to learn stuff ) InvoiceDate 21/12/17 23/02/19 intended output 1217 it should be easy to do but till now all my approach is failing
2019-02-18T15:01:29.065600
Kourtney
pythondev_help_Kourtney_2019-02-18T15:01:29.065600
1,550,502,089.0656
9,338
pythondev
help
What is that output supposed to mean? Based on the input that could be anything
2019-02-18T15:02:36.066000
Clemmie
pythondev_help_Clemmie_2019-02-18T15:02:36.066000
1,550,502,156.066
9,339
pythondev
help
It looks like you want to transform "DD/MM/YY" to "MMYY"?
2019-02-18T15:04:15.066700
Sasha
pythondev_help_Sasha_2019-02-18T15:04:15.066700
1,550,502,255.0667
9,340
pythondev
help
okay my bad .. what i want to do is.. just remove the /
2019-02-18T15:04:24.066900
Kourtney
pythondev_help_Kourtney_2019-02-18T15:04:24.066900
1,550,502,264.0669
9,341
pythondev
help
yeah exactly..
2019-02-18T15:04:28.067100
Kourtney
pythondev_help_Kourtney_2019-02-18T15:04:28.067100
1,550,502,268.0671
9,342
pythondev
help
so you want the output to be 211217 230219 ? Or also strip the day portion out?
2019-02-18T15:05:03.068300
Clemmie
pythondev_help_Clemmie_2019-02-18T15:05:03.068300
1,550,502,303.0683
9,343
pythondev
help
i want to strip the days as well
2019-02-18T15:05:23.068800
Kourtney
pythondev_help_Kourtney_2019-02-18T15:05:23.068800
1,550,502,323.0688
9,344
pythondev
help
just the MMYY
2019-02-18T15:05:29.069100
Kourtney
pythondev_help_Kourtney_2019-02-18T15:05:29.069100
1,550,502,329.0691
9,345
pythondev
help
And at first glance - why do you think you need to use pandas?
2019-02-18T15:05:33.069400
Clemmie
pythondev_help_Clemmie_2019-02-18T15:05:33.069400
1,550,502,333.0694
9,346
pythondev
help
I’m happy to show you a way to deal with those as strings, but using pandas for it is a confusing requirement to me
2019-02-18T15:06:33.070600
Clemmie
pythondev_help_Clemmie_2019-02-18T15:06:33.070600
1,550,502,393.0706
9,347
pythondev
help
its a pandas dataframe.. i thought i would be able to use str.extract
2019-02-18T15:06:40.070700
Kourtney
pythondev_help_Kourtney_2019-02-18T15:06:40.070700
1,550,502,400.0707
9,348
pythondev
help
Okay, good context
2019-02-18T15:06:56.071100
Clemmie
pythondev_help_Clemmie_2019-02-18T15:06:56.071100
1,550,502,416.0711
9,349
pythondev
help
use the snippet feature (the + next to the comment window) and show what you have so far, and if you have tried other avenues please walk through what you tried
2019-02-18T15:07:46.072200
Clemmie
pythondev_help_Clemmie_2019-02-18T15:07:46.072200
1,550,502,466.0722
9,350
pythondev
help
I came across online help where people were able to do it using str.extract.. i have also seen the str.extract library.. but the examples are bit confusing
2019-02-18T15:13:31.072700
Kourtney
pythondev_help_Kourtney_2019-02-18T15:13:31.072700
1,550,502,811.0727
9,351
pythondev
help
I tried importing datetime library too. but dont know how to take the individual entries of the serise as a str type and pass it..
2019-02-18T15:16:21.073000
Kourtney
pythondev_help_Kourtney_2019-02-18T15:16:21.073000
1,550,502,981.073
9,352
pythondev
help
So it looks like your InvoiceDate is a Series, and not a string - as far as I can tell from the briefest look and minimal experience with pandas
2019-02-18T15:18:05.074400
Clemmie
pythondev_help_Clemmie_2019-02-18T15:18:05.074400
1,550,503,085.0744
9,353
pythondev
help
you might get more help in the <#C0JB9ATQV|data_science> channel - they use a lot of pandas over there from my understanding
2019-02-18T15:18:49.075400
Clemmie
pythondev_help_Clemmie_2019-02-18T15:18:49.075400
1,550,503,129.0754
9,354
pythondev
help
yeah thats correct..
2019-02-18T15:18:50.075500
Kourtney
pythondev_help_Kourtney_2019-02-18T15:18:50.075500
1,550,503,130.0755
9,355
pythondev
help
okay I will try asking there.. thankyou
2019-02-18T15:19:06.075800
Kourtney
pythondev_help_Kourtney_2019-02-18T15:19:06.075800
1,550,503,146.0758
9,356
pythondev
help
Welcome
2019-02-18T15:19:17.076100
Clemmie
pythondev_help_Clemmie_2019-02-18T15:19:17.076100
1,550,503,157.0761
9,357
pythondev
help
if I have a type as `typing.List[float]` how do I extract the subtype as float?
2019-02-18T15:19:39.076600
Deangelo
pythondev_help_Deangelo_2019-02-18T15:19:39.076600
1,550,503,179.0766
9,358
pythondev
help
oh, I think this works: `klass.__args__[0]`
2019-02-18T15:23:31.076900
Deangelo
pythondev_help_Deangelo_2019-02-18T15:23:31.076900
1,550,503,411.0769
9,359
pythondev
help
None
2019-02-18T15:24:06.077000
Deangelo
pythondev_help_Deangelo_2019-02-18T15:24:06.077000
1,550,503,446.077
9,360
pythondev
help
Hello everyone, I have been working on an application that uses Django as a backend, but runs a different server to serve a single page application that handles it's own logic, and only references the Django api to send requests and receive Json. I have run into a lot of trouble regarding Django's security when writin...
2019-02-18T15:59:35.083500
Tynisha
pythondev_help_Tynisha_2019-02-18T15:59:35.083500
1,550,505,575.0835
9,361
pythondev
help
Django needs a bearer token present in the request
2019-02-18T16:01:48.083900
Jewell
pythondev_help_Jewell_2019-02-18T16:01:48.083900
1,550,505,708.0839
9,362
pythondev
help
so whatever you're using for making the API calls needs to set that token
2019-02-18T16:02:09.084300
Jewell
pythondev_help_Jewell_2019-02-18T16:02:09.084300
1,550,505,729.0843
9,363
pythondev
help
`Authorization: Bearer &lt;tokenValue&gt;`
2019-02-18T16:02:30.084800
Jewell
pythondev_help_Jewell_2019-02-18T16:02:30.084800
1,550,505,750.0848
9,364
pythondev
help
Thanks for the ideas Ben, but we're currently building out our login page and don't have access to the session storage or cookie data yet. Simply put, we can't log in due to no established cookies.
2019-02-18T16:06:43.086900
Tynisha
pythondev_help_Tynisha_2019-02-18T16:06:43.086900
1,550,506,003.0869
9,365
pythondev
help
You didn't specify that this was for a login page
2019-02-18T16:08:31.087500
Jewell
pythondev_help_Jewell_2019-02-18T16:08:31.087500
1,550,506,111.0875
9,366
pythondev
help
sorry Ben, sould'a mentioned that
2019-02-18T16:09:30.087900
Tynisha
pythondev_help_Tynisha_2019-02-18T16:09:30.087900
1,550,506,170.0879
9,367
pythondev
help
I don't have any expertise with getting the login working. That's going to come down to the details. The libraries being used etc
2019-02-18T16:09:57.088400
Jewell
pythondev_help_Jewell_2019-02-18T16:09:57.088400
1,550,506,197.0884
9,368
pythondev
help
Our front end is a react application running off of a dev node server, making the request with axios
2019-02-18T16:12:03.088900
Tynisha
pythondev_help_Tynisha_2019-02-18T16:12:03.088900
1,550,506,323.0889
9,369
pythondev
help
The libraries being used in Django
2019-02-18T16:12:22.089200
Jewell
pythondev_help_Jewell_2019-02-18T16:12:22.089200
1,550,506,342.0892
9,370
pythondev
help
will opening and closing a lot of db cursors be a performance hit in Django?
2019-02-18T16:39:55.090400
Jorge
pythondev_help_Jorge_2019-02-18T16:39:55.090400
1,550,507,995.0904
9,371
pythondev
help
<@Tynisha> if you are returning the JavaScript from another server you'll likely have to just disable the CSRF protection
2019-02-18T16:41:09.091300
Karoline
pythondev_help_Karoline_2019-02-18T16:41:09.091300
1,550,508,069.0913
9,372
pythondev
help
essentially normally if you load a form say from Django itself, it'll ensure that a token is injected along with the form, and it expects that when you hit the server that this token will be included to verify the request came from a real session as opposed to a malicious link trying to trick you into doing some action
2019-02-18T16:43:39.093100
Karoline
pythondev_help_Karoline_2019-02-18T16:43:39.093100
1,550,508,219.0931
9,373
pythondev
help
Can’t you do this using the ORM?
2019-02-18T16:50:31.093400
Jonas
pythondev_help_Jonas_2019-02-18T16:50:31.093400
1,550,508,631.0934
9,374
pythondev
help
Depending on how much effort you want to put in to keeping it, you could potentially either proxy your served JS stuff through Django or have some sort of endpoint for serving csrf tokens I'd imagine.
2019-02-18T16:51:49.094600
Karoline
pythondev_help_Karoline_2019-02-18T16:51:49.094600
1,550,508,709.0946
9,375
pythondev
help
Hello there. Does anyone know if there is an anti-aliasing filter in Python (for filtering signals)?
2019-02-18T16:59:28.095700
Ming
pythondev_help_Ming_2019-02-18T16:59:28.095700
1,550,509,168.0957
9,376
pythondev
help
Probably not built-in, but it looks like the `scipy` library has a number of filtering functions. <https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.decimate.html>
2019-02-18T17:06:05.096200
Sasha
pythondev_help_Sasha_2019-02-18T17:06:05.096200
1,550,509,565.0962
9,377
pythondev
help
I dont believe you can do this type of querying of JSON fields in the ORM
2019-02-18T17:13:34.096300
Jorge
pythondev_help_Jorge_2019-02-18T17:13:34.096300
1,550,510,014.0963
9,378
pythondev
help
looks like you can access keys, and the indices of arrays (so like `json__my_list__0__number=123`) but i dont see where you can search through all the items in a list with the ORM
2019-02-18T17:14:58.096500
Jorge
pythondev_help_Jorge_2019-02-18T17:14:58.096500
1,550,510,098.0965
9,379
pythondev
help
All, is there an easy way to upgrade all your installed PIP packages to later versions?
2019-02-18T18:06:09.097300
Granville
pythondev_help_Granville_2019-02-18T18:06:09.097300
1,550,513,169.0973
9,380
pythondev
help
nvm, just saw pipupgrade!
2019-02-18T18:20:06.097900
Granville
pythondev_help_Granville_2019-02-18T18:20:06.097900
1,550,514,006.0979
9,381
pythondev
help
How can I force pycharm to NOT run in a python console?
2019-02-18T18:44:41.098200
Candra
pythondev_help_Candra_2019-02-18T18:44:41.098200
1,550,515,481.0982
9,382
pythondev
help
For some reason as of late a lot of scripts have been running in the integrated python console in pycharm using runfile
2019-02-18T18:44:57.098600
Candra
pythondev_help_Candra_2019-02-18T18:44:57.098600
1,550,515,497.0986
9,383
pythondev
help
you want to run with a specific python version ?
2019-02-18T19:28:52.099900
Bethany
pythondev_help_Bethany_2019-02-18T19:28:52.099900
1,550,518,132.0999
9,384
pythondev
help
I actually fixed it. In the run configurations window there is a checkbox under template/python to run in console
2019-02-18T20:13:17.100800
Candra
pythondev_help_Candra_2019-02-18T20:13:17.100800
1,550,520,797.1008
9,385
pythondev
help
I just unchecked it and it worked
2019-02-18T20:13:21.101000
Candra
pythondev_help_Candra_2019-02-18T20:13:21.101000
1,550,520,801.101
9,386
pythondev
help
Anyone familiar with celery know how to chain a bunch of generative groups together? I have a task that returns a list. From that list, I need to create a group of tasks (`[signature(callback, args=(i)) for i in it]`), which then chains to another group of tasks, and so on for several steps of chaining, and then collap...
2019-02-18T20:25:59.101200
Harris
pythondev_help_Harris_2019-02-18T20:25:59.101200
1,550,521,559.1012
9,387
pythondev
help
Each group returns additional lists, which I need to collapse into a single list and then feed another group with.
2019-02-18T20:26:18.101700
Harris
pythondev_help_Harris_2019-02-18T20:26:18.101700
1,550,521,578.1017
9,388
pythondev
help
The high-order explanation of what I'm doing is that I have a bunch of JIRA issues which have SQL files attached. I have a task that retrieves the issues, then another task that lists the attachments on them and filters for SQL files, then another task that downloads the SQL content, then a last one that loads all of t...
2019-02-18T20:27:58.103300
Harris
pythondev_help_Harris_2019-02-18T20:27:58.103300
1,550,521,678.1033
9,389
pythondev
help
While I don't necessarily need to use distributed processing for this project, I'm using it as a learning case for when I next need to do distributed processing of terabytes of data.
2019-02-18T20:32:46.104300
Harris
pythondev_help_Harris_2019-02-18T20:32:46.104300
1,550,521,966.1043
9,390
pythondev
help
So it sounds like you're wanting to use Chords. <http://docs.celeryproject.org/en/latest/userguide/canvas.html#chords>
2019-02-18T20:43:27.104900
Carmen
pythondev_help_Carmen_2019-02-18T20:43:27.104900
1,550,522,607.1049
9,391
pythondev
help
Do you need the final retrieved SQL to be combined and then shoved into the SQLite database for processing, or can the SQL files each be handled independently?
2019-02-18T20:45:27.106300
Carmen
pythondev_help_Carmen_2019-02-18T20:45:27.106300
1,550,522,727.1063
9,392
pythondev
help
Hello all I do not know how I can solve this problem, I have a folder full of different file types: .pdf, .png, .flv and I have folders for each file type. I want to be able to sort the files. Like pdfs to the PDF folder the flvs to the FLV folder
2019-02-18T21:58:06.108400
Rodrick
pythondev_help_Rodrick_2019-02-18T21:58:06.108400
1,550,527,086.1084
9,393
pythondev
help
Any Ideas?
2019-02-18T21:58:13.108700
Rodrick
pythondev_help_Rodrick_2019-02-18T21:58:13.108700
1,550,527,093.1087
9,394
pythondev
help
Sounds appropriate for a quick shell script... `mv *.pdf PDF`, etc.
2019-02-18T22:01:50.109200
Sasha
pythondev_help_Sasha_2019-02-18T22:01:50.109200
1,550,527,310.1092
9,395
pythondev
help
<@Sasha> How could I use that
2019-02-18T22:18:25.109500
Rodrick
pythondev_help_Rodrick_2019-02-18T22:18:25.109500
1,550,528,305.1095
9,396
pythondev
help
could u write some quick code as an example
2019-02-18T22:18:40.109900
Rodrick
pythondev_help_Rodrick_2019-02-18T22:18:40.109900
1,550,528,320.1099
9,397
pythondev
help
What OS are you running?
2019-02-18T22:18:58.110200
Sasha
pythondev_help_Sasha_2019-02-18T22:18:58.110200
1,550,528,338.1102
9,398
pythondev
help
<@Donny>
2019-02-18T22:59:33.110600
Donny
pythondev_help_Donny_2019-02-18T22:59:33.110600
1,550,530,773.1106
9,399
pythondev
help
what are equivalent forms of this equation? g
2019-02-18T23:59:00.111200
Doretha
pythondev_help_Doretha_2019-02-18T23:59:00.111200
1,550,534,340.1112
9,400
pythondev
help
g(x) = 10^x -4
2019-02-18T23:59:09.111500
Doretha
pythondev_help_Doretha_2019-02-18T23:59:09.111500
1,550,534,349.1115
9,401
pythondev
help
Does `^` represent a bitwise XOR, or an exponent there?
2019-02-19T00:05:47.112300
Sasha
pythondev_help_Sasha_2019-02-19T00:05:47.112300
1,550,534,747.1123
9,402
pythondev
help
I've a query on docker which uses python
2019-02-19T00:30:40.112800
Jasper
pythondev_help_Jasper_2019-02-19T00:30:40.112800
1,550,536,240.1128
9,403
pythondev
help
So here is the thing right, I need to use python 3.7 and mysql docker images, now how do I start ? having two folders with each having `Dockerfile` respectively or just write one `docker-compose.yml` file ? Appreciate your suggestions ha
2019-02-19T00:30:54.113000
Jasper
pythondev_help_Jasper_2019-02-19T00:30:54.113000
1,550,536,254.113
9,404
pythondev
help
<#C07EFMZ1N|help> hi folks. i just need to know where should i buy high performance hosting for python + postgresql in cheap prices.
2019-02-19T01:53:30.118800
Kia
pythondev_help_Kia_2019-02-19T01:53:30.118800
1,550,541,210.1188
9,405
pythondev
help
<@Jasper> I have a similar task right now, but slight difference is my DB is on a separate server. But in addition to that I have a nginx image too. So docker compose works very well. Having two dockerfiles adds complexity, Imo, in starting them both, making sure they both run since one depends on another. Besides you'...
2019-02-19T01:54:31.119400
Russ
pythondev_help_Russ_2019-02-19T01:54:31.119400
1,550,541,271.1194
9,406
pythondev
help
exponent
2019-02-19T02:16:45.119700
Doretha
pythondev_help_Doretha_2019-02-19T02:16:45.119700
1,550,542,605.1197
9,407
pythondev
help
Cool thanks dude
2019-02-19T04:26:13.121100
Jasper
pythondev_help_Jasper_2019-02-19T04:26:13.121100
1,550,550,373.1211
9,408
pythondev
help
Can you please be more specific? The function returns values based on what you call for example hackrf_spiflash -r is for reset and hackrf_spiflash -h is for help.
2019-02-19T04:49:58.121400
Lorinda
pythondev_help_Lorinda_2019-02-19T04:49:58.121400
1,550,551,798.1214
9,409
pythondev
help
I understand that your level of understanding of python is high but if you please be more specific... you would help a lot.
2019-02-19T04:50:22.121600
Lorinda
pythondev_help_Lorinda_2019-02-19T04:50:22.121600
1,550,551,822.1216
9,410
pythondev
help
Hello guys. Can someone please help me explain how to run a google cloud task infinitely? Will very much appreciate the help
2019-02-19T04:58:42.123500
Shaniqua
pythondev_help_Shaniqua_2019-02-19T04:58:42.123500
1,550,552,322.1235
9,411
pythondev
help
I am building an automation system using the pyautogui package, so image based. However each time I come back to my project the next day, it cannot detect the images and then I have to recapture the images. But instead of doing that now I simply got the x,y coordinates of the image location, and then do a click like so...
2019-02-19T05:11:27.127900
Arturo
pythondev_help_Arturo_2019-02-19T05:11:27.127900
1,550,553,087.1279
9,412
pythondev
help
```if total_size &gt; limit: source_split=list(split_into_batches(source, int(math.ceil(len(source)/2.0))))``` Lets say I have the len(source) to be 6 I will have a list as [['item1','item2'],['item3','item4'],['item5','item6']] ``` def split_into_batches(iterable, step): for i in range(0, len(iterable), ste...
2019-02-19T05:18:14.128100
Lanelle
pythondev_help_Lanelle_2019-02-19T05:18:14.128100
1,550,553,494.1281
9,413
pythondev
help
could someone give me a hand on this on how to proceed
2019-02-19T05:18:35.128500
Lanelle
pythondev_help_Lanelle_2019-02-19T05:18:35.128500
1,550,553,515.1285
9,414
pythondev
help
a snippet would be great
2019-02-19T05:18:39.128700
Lanelle
pythondev_help_Lanelle_2019-02-19T05:18:39.128700
1,550,553,519.1287
9,415
pythondev
help
Hey guys, I've got a question on python's urllib3 usage with POST requests and I don't know if this is the right place to ask.. just crossing my fingers I'm trying to make a call to a FreeIPA server using their API so I have something that looks kinda like this: ``` ipaurl='<https://ipa-server.example.com/ipa/session...
2019-02-19T05:28:55.129400
Timika
pythondev_help_Timika_2019-02-19T05:28:55.129400
1,550,554,135.1294
9,416
pythondev
help
Here's the response: `&lt;html&gt;\n&lt;head&gt;\n&lt;title&gt;400 Bad Request&lt;/title&gt;\n&lt;/head&gt;\n&lt;body&gt;\n&lt;h1&gt;Bad Request&lt;/h1&gt;\n&lt;p&gt;\n&lt;strong&gt;no user specified&lt;/strong&gt;\n&lt;/p&gt;\n&lt;/body&gt;\n&lt;/html&gt;`
2019-02-19T05:30:36.129900
Timika
pythondev_help_Timika_2019-02-19T05:30:36.129900
1,550,554,236.1299
9,417
pythondev
help
Hi....<@Timika> Refer this link it will help <https://stackoverflow.com/questions/32296255/how-to-pass-data-to-urllib3-post-request-method?rq=1>
2019-02-19T06:20:39.131400
Donny
pythondev_help_Donny_2019-02-19T06:20:39.131400
1,550,557,239.1314
9,418
pythondev
help
None
2019-02-19T06:26:41.132600
Kia
pythondev_help_Kia_2019-02-19T06:26:41.132600
1,550,557,601.1326
9,419
pythondev
help
<#C07EFMZ1N|help> i am using python 2.7. i am unable to import my python files placed at packege db
2019-02-19T06:27:05.132900
Kia
pythondev_help_Kia_2019-02-19T06:27:05.132900
1,550,557,625.1329
9,420