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
hm
2017-11-15T07:53:25.000212
Suellen
pythondev_help_Suellen_2017-11-15T07:53:25.000212
1,510,732,405.000212
100,403
pythondev
help
where is this exception from?
2017-11-15T07:54:37.000267
Suellen
pythondev_help_Suellen_2017-11-15T07:54:37.000267
1,510,732,477.000267
100,404
pythondev
help
`bcrypt.checkpw` returns true or false
2017-11-15T07:54:56.000445
Suellen
pythondev_help_Suellen_2017-11-15T07:54:56.000445
1,510,732,496.000445
100,405
pythondev
help
Exception is from the auth
2017-11-15T07:57:30.000385
Carroll
pythondev_help_Carroll_2017-11-15T07:57:30.000385
1,510,732,650.000385
100,406
pythondev
help
the bcrypt.checkpw
2017-11-15T07:57:37.000141
Carroll
pythondev_help_Carroll_2017-11-15T07:57:37.000141
1,510,732,657.000141
100,407
pythondev
help
leovp: no, PG would store an ipv6 address as an ipv6 address
2017-11-15T08:04:28.000251
Joann
pythondev_help_Joann_2017-11-15T08:04:28.000251
1,510,733,068.000251
100,408
pythondev
help
<@Carroll> since you are doing utf8 going into the db, you don’t need to re-encode it after pulling it from the db
2017-11-15T08:04:40.000250
Patty
pythondev_help_Patty_2017-11-15T08:04:40.000250
1,510,733,080.00025
100,409
pythondev
help
leovp: You could have different tables rather than different columns, though it depends on your exact data model, of course.
2017-11-15T08:04:54.000330
Joann
pythondev_help_Joann_2017-11-15T08:04:54.000330
1,510,733,094.00033
100,410
pythondev
help
It raised an error when I tried to do that
2017-11-15T08:05:00.000029
Carroll
pythondev_help_Carroll_2017-11-15T08:05:00.000029
1,510,733,100.000029
100,411
pythondev
help
Maybe I have to decode it?
2017-11-15T08:05:05.000260
Carroll
pythondev_help_Carroll_2017-11-15T08:05:05.000260
1,510,733,105.00026
100,412
pythondev
help
leovp: I will note that storing NULLs are basically free unless you're careful to not have any NULLs at all in your tuples.
2017-11-15T08:05:15.000231
Joann
pythondev_help_Joann_2017-11-15T08:05:15.000231
1,510,733,115.000231
100,413
pythondev
help
(in which case, PG can avoid storing the NULL bitmap at all)
2017-11-15T08:05:30.000229
Joann
pythondev_help_Joann_2017-11-15T08:05:30.000229
1,510,733,130.000229
100,414
pythondev
help
<@Patty> I need that u?
2017-11-15T08:08:09.000147
Carroll
pythondev_help_Carroll_2017-11-15T08:08:09.000147
1,510,733,289.000147
100,415
pythondev
help
<@Joann> This is just a bit too different, storing different types of addresses separately. :confused:
2017-11-15T08:10:15.000015
Suellen
pythondev_help_Suellen_2017-11-15T08:10:15.000015
1,510,733,415.000015
100,416
pythondev
help
<@Carroll> I think the point was that `checkpw` doesn't raise an exception
2017-11-15T08:10:43.000248
Suellen
pythondev_help_Suellen_2017-11-15T08:10:43.000248
1,510,733,443.000248
100,417
pythondev
help
No you don’t need the u, that’s just demonstrating it’s a Unicode string
2017-11-15T08:11:04.000363
Patty
pythondev_help_Patty_2017-11-15T08:11:04.000363
1,510,733,464.000363
100,418
pythondev
help
leovp: eh, they actually are disjoint tho, really, but if it works for you.. :)
2017-11-15T08:11:10.000227
Joann
pythondev_help_Joann_2017-11-15T08:11:10.000227
1,510,733,470.000227
100,419
pythondev
help
Sorry trying to get a snippet over but I’m in the middle of switching trains :)
2017-11-15T08:11:21.000280
Patty
pythondev_help_Patty_2017-11-15T08:11:21.000280
1,510,733,481.00028
100,420
pythondev
help
Hehe
2017-11-15T08:11:30.000133
Carroll
pythondev_help_Carroll_2017-11-15T08:11:30.000133
1,510,733,490.000133
100,421
pythondev
help
I am using Heroku with Postgres though
2017-11-15T08:11:35.000076
Carroll
pythondev_help_Carroll_2017-11-15T08:11:35.000076
1,510,733,495.000076
100,422
pythondev
help
Are you still encoding the password before putting it in the dB?
2017-11-15T08:12:05.000091
Patty
pythondev_help_Patty_2017-11-15T08:12:05.000091
1,510,733,525.000091
100,423
pythondev
help
I am
2017-11-15T08:12:08.000461
Carroll
pythondev_help_Carroll_2017-11-15T08:12:08.000461
1,510,733,528.000461
100,424
pythondev
help
And did you clear out the original hashed value that wasn’t encoded?
2017-11-15T08:12:26.000367
Patty
pythondev_help_Patty_2017-11-15T08:12:26.000367
1,510,733,546.000367
100,425
pythondev
help
I did this
2017-11-15T08:12:47.000324
Carroll
pythondev_help_Carroll_2017-11-15T08:12:47.000324
1,510,733,567.000324
100,426
pythondev
help
Right but did you re-create the stored pw with that code?
2017-11-15T08:15:03.000013
Patty
pythondev_help_Patty_2017-11-15T08:15:03.000013
1,510,733,703.000013
100,427
pythondev
help
Yes
2017-11-15T08:15:22.000309
Carroll
pythondev_help_Carroll_2017-11-15T08:15:22.000309
1,510,733,722.000309
100,428
pythondev
help
I registered a new user
2017-11-15T08:15:27.000235
Carroll
pythondev_help_Carroll_2017-11-15T08:15:27.000235
1,510,733,727.000235
100,429
pythondev
help
Trying auth
2017-11-15T08:16:40.000271
Carroll
pythondev_help_Carroll_2017-11-15T08:16:40.000271
1,510,733,800.000271
100,430
pythondev
help
Brb making noodles
2017-11-15T08:18:56.000088
Carroll
pythondev_help_Carroll_2017-11-15T08:18:56.000088
1,510,733,936.000088
100,431
pythondev
help
And just to check you redeployed your heroku app with the changes for creating hashes?
2017-11-15T08:20:27.000579
Patty
pythondev_help_Patty_2017-11-15T08:20:27.000579
1,510,734,027.000579
100,432
pythondev
help
I did
2017-11-15T08:28:51.000497
Carroll
pythondev_help_Carroll_2017-11-15T08:28:51.000497
1,510,734,531.000497
100,433
pythondev
help
Hi, Python newbie here with probably a dumb question... I am trying to use the Google API examples to get some code running that will send an email from my app since port 587 is blocked on the company network. I am very close but I am running into some issues where the example code has included some logic for backwar...
2017-11-15T09:15:10.000716
Season
pythondev_help_Season_2017-11-15T09:15:10.000716
1,510,737,310.000716
100,434
pythondev
help
I went to get the compile error to post here and all of a sudden I am not getting an error on that line. WTF?
2017-11-15T09:21:32.000286
Season
pythondev_help_Season_2017-11-15T09:21:32.000286
1,510,737,692.000286
100,435
pythondev
help
I guess my first question would be why support 2.6?
2017-11-15T09:27:52.000375
Meg
pythondev_help_Meg_2017-11-15T09:27:52.000375
1,510,738,072.000375
100,436
pythondev
help
the last release of 2.6 was the .9 minor release back in 2013, and it hasn’t been supported since then
2017-11-15T09:31:28.000070
Meg
pythondev_help_Meg_2017-11-15T09:31:28.000070
1,510,738,288.00007
100,437
pythondev
help
Does anyone here use Vim with YCM completer for Python?
2017-11-15T09:37:44.000443
Tami
pythondev_help_Tami_2017-11-15T09:37:44.000443
1,510,738,664.000443
100,438
pythondev
help
I can't get the YCM Jedi to pick up my virtual environment python interpreter :disappointed:
2017-11-15T09:38:21.000450
Tami
pythondev_help_Tami_2017-11-15T09:38:21.000450
1,510,738,701.00045
100,439
pythondev
help
well, if anyone is still running CentOS6, they've got 2.6
2017-11-15T09:48:56.000008
Sirena
pythondev_help_Sirena_2017-11-15T09:48:56.000008
1,510,739,336.000008
100,440
pythondev
help
and it's semi-irritating to load a different version since the OS uses 'python' to run its package updater, and if it's not 2.6, it barfs.
2017-11-15T09:49:59.000023
Sirena
pythondev_help_Sirena_2017-11-15T09:49:59.000023
1,510,739,399.000023
100,441
pythondev
help
I uh.... have a friend with that problem.... yeah.
2017-11-15T09:50:42.000161
Sirena
pythondev_help_Sirena_2017-11-15T09:50:42.000161
1,510,739,442.000161
100,442
pythondev
help
why would it not be 2.6?
2017-11-15T09:51:19.000408
Vada
pythondev_help_Vada_2017-11-15T09:51:19.000408
1,510,739,479.000408
100,443
pythondev
help
uhm that shouldn’t stop you from installing 2.7 or 3.x
2017-11-15T09:57:51.000513
Meg
pythondev_help_Meg_2017-11-15T09:57:51.000513
1,510,739,871.000513
100,444
pythondev
help
just leave system python alone and create virtualenvs mapped to the specific python interpreter version
2017-11-15T09:58:15.000517
Meg
pythondev_help_Meg_2017-11-15T09:58:15.000517
1,510,739,895.000517
100,445
pythondev
help
running centos you can use the IUS repository (<https://ius.io/GettingStarted/>) to easily install python versions if you don't want to use the system default one
2017-11-15T10:06:52.000206
Jenise
pythondev_help_Jenise_2017-11-15T10:06:52.000206
1,510,740,412.000206
100,446
pythondev
help
slightly off topic but relating to centos servers, has anyone managed to setup rdp onto a centos 6.8 server?
2017-11-15T10:08:08.000106
Toby
pythondev_help_Toby_2017-11-15T10:08:08.000106
1,510,740,488.000106
100,447
pythondev
help
I am working on simplifying a process that I use a few times a month. The current process is just updating and running a sql query in sql management studio. I am trying to wrap the process in a little python app. So far, what I have works. It is still in the beginning states and I am adding to it. My intention for the ...
2017-11-15T10:16:32.000167
Virgen
pythondev_help_Virgen_2017-11-15T10:16:32.000167
1,510,740,992.000167
100,448
pythondev
help
Am I headed in the right direction with this?
2017-11-15T10:16:39.000262
Virgen
pythondev_help_Virgen_2017-11-15T10:16:39.000262
1,510,740,999.000262
100,449
pythondev
help
anything I should consider. This is more a learning exercise than anything else. I just hope to get a useful app out of it... Thoughts?
2017-11-15T10:17:41.000520
Virgen
pythondev_help_Virgen_2017-11-15T10:17:41.000520
1,510,741,061.00052
100,450
pythondev
help
If it's working I would say your are on the right track :slightly_smiling_face:
2017-11-15T10:20:53.000767
Ciera
pythondev_help_Ciera_2017-11-15T10:20:53.000767
1,510,741,253.000767
100,451
pythondev
help
<@Ciera> thx! I'll keep plugging along...
2017-11-15T10:29:44.000163
Virgen
pythondev_help_Virgen_2017-11-15T10:29:44.000163
1,510,741,784.000163
100,452
pythondev
help
Hi another newbie question here that I cant seem to google my way out of... I am using the sample GoogleAPI code to send an email and its all working to the point now where I want to be able to pass TO, SUBJECT, and BODY as arguments so I can call it from Bash. Google already has this code and I am unsure how to ad...
2017-11-15T12:11:23.000063
Season
pythondev_help_Season_2017-11-15T12:11:23.000063
1,510,747,883.000063
100,453
pythondev
help
I have done this before but not using argparse and all my attempts to add arguments fails.
2017-11-15T12:12:50.000400
Season
pythondev_help_Season_2017-11-15T12:12:50.000400
1,510,747,970.0004
100,454
pythondev
help
I am trying to convert multiple pdf files to a text file and then search that text file to find email addresses.
2017-11-15T12:30:31.000353
Desire
pythondev_help_Desire_2017-11-15T12:30:31.000353
1,510,749,031.000353
100,455
pythondev
help
I am able to print the text from those pdf files but when i save it to a file, only one entry gets written.
2017-11-15T12:30:53.000684
Desire
pythondev_help_Desire_2017-11-15T12:30:53.000684
1,510,749,053.000684
100,456
pythondev
help
```import os import re import glob from textract import process dir_name = os.chdir('/Users/pathfinder/Downloads/emails') #Specify the directory containing PDF files. def get_pdf_content(pdffile): text = process(pdffile) return text def main(): for pdffile in glob.glob('*.pdf'): data = get_pdf_content(pdffil...
2017-11-15T12:32:08.000424
Desire
pythondev_help_Desire_2017-11-15T12:32:08.000424
1,510,749,128.000424
100,457
pythondev
help
<@Desire> How about <http://www.unixuser.org/~euske/python/pdfminer/>
2017-11-15T12:32:24.000218
Sherice
pythondev_help_Sherice_2017-11-15T12:32:24.000218
1,510,749,144.000218
100,458
pythondev
help
<@Sherice> Thanks for your suggestion but I am already able to extract the text but I am unable to save it to a Output.txt, the output of 1 pdf gets written instead of say 10 inside that directory.
2017-11-15T12:35:08.000027
Desire
pythondev_help_Desire_2017-11-15T12:35:08.000027
1,510,749,308.000027
100,459
pythondev
help
<https://docs.python.org/3/library/functions.html#open>
2017-11-15T12:35:20.000150
Antionette
pythondev_help_Antionette_2017-11-15T12:35:20.000150
1,510,749,320.00015
100,460
pythondev
help
the `w` filemode truncates the file
2017-11-15T12:35:44.000280
Antionette
pythondev_help_Antionette_2017-11-15T12:35:44.000280
1,510,749,344.00028
100,461
pythondev
help
<@Antionette> Thanks buddy, that helps
2017-11-15T12:36:56.000696
Desire
pythondev_help_Desire_2017-11-15T12:36:56.000696
1,510,749,416.000696
100,462
pythondev
help
how is pdfminer working for you?
2017-11-15T12:37:37.000442
Meg
pythondev_help_Meg_2017-11-15T12:37:37.000442
1,510,749,457.000442
100,463
pythondev
help
there are two primary issues I have with it, but there really isn’t much you can do about it and really depends on the programs used for document creation
2017-11-15T12:38:09.000270
Meg
pythondev_help_Meg_2017-11-15T12:38:09.000270
1,510,749,489.00027
100,464
pythondev
help
first, if you save the pdf document with an empty password, which happens sometimes with authoring programs, browsers and viewers will open it up, but won’t be able to read it
2017-11-15T12:38:49.000196
Meg
pythondev_help_Meg_2017-11-15T12:38:49.000196
1,510,749,529.000196
100,465
pythondev
help
second, a small number of PDFs won’t be able to be opened at all, whereas they will open fine in other software
2017-11-15T12:39:12.000382
Meg
pythondev_help_Meg_2017-11-15T12:39:12.000382
1,510,749,552.000382
100,466
pythondev
help
that’s my experience when I was processing 16k PDF documents consisting of about 25M pages of content for external text search
2017-11-15T12:39:39.000705
Meg
pythondev_help_Meg_2017-11-15T12:39:39.000705
1,510,749,579.000705
100,467
pythondev
help
about 800 were unable to be processed at all due to those two issues
2017-11-15T12:39:54.000486
Meg
pythondev_help_Meg_2017-11-15T12:39:54.000486
1,510,749,594.000486
100,468
pythondev
help
<@Season> what have you tried so far using argparse to add the arguments?
2017-11-15T12:42:25.000128
Antionette
pythondev_help_Antionette_2017-11-15T12:42:25.000128
1,510,749,745.000128
100,469
pythondev
help
<@Antionette> I have just been googling and trying to combine the syntax in documents to what google provided but I honestly dont understand the code and the way each have been written dont match up. For example I tried ot adapt parts of this example but I obviously didn't understand what I was doing because I coudln...
2017-11-15T12:49:38.000440
Season
pythondev_help_Season_2017-11-15T12:49:38.000440
1,510,750,178.00044
100,470
pythondev
help
I tried this portion with googles and it didnt work gave me errors. ``` flags.add_argument('--sum', dest='accumulate', action='store_const', const=sum, default=max, help='sum the integers (default: find the max)') ```
2017-11-15T12:51:01.000022
Season
pythondev_help_Season_2017-11-15T12:51:01.000022
1,510,750,261.000022
100,471
pythondev
help
What could have been the issue there is that `flags` refers to the parsed arguments rather than the parser itself since the google code you posted has the `parse_args` function being called directly on the `ArgumentParser` instance, whereas you need to call `add_argument` on the parser itself. So you could save the `A...
2017-11-15T12:53:43.000473
Antionette
pythondev_help_Antionette_2017-11-15T12:53:43.000473
1,510,750,423.000473
100,472
pythondev
help
<@Antionette> Thanks. Thats what I was trying to do but couldn't get it to work. I decided to move on because calling it from bash isn't a requirement for today and I'm in a crunch. When I get back to it I'll post my specific failing syntax.
2017-11-15T13:21:47.000355
Season
pythondev_help_Season_2017-11-15T13:21:47.000355
1,510,752,107.000355
100,473
pythondev
help
Does anyone know of any good references for installing a module to pip where I do not want to put it on pypi? I have some local config stuff built into a module and want to build it into pip to make pushing to production easier and more modular
2017-11-15T13:41:44.000705
Lory
pythondev_help_Lory_2017-11-15T13:41:44.000705
1,510,753,304.000705
100,474
pythondev
help
where will the module be stored?
2017-11-15T13:56:41.000017
Carolyn
pythondev_help_Carolyn_2017-11-15T13:56:41.000017
1,510,754,201.000017
100,475
pythondev
help
In my svn repo where I do my development locally in a modules folder. I wanted to pull that out and be able to have a separate repo for just private modules I might need across several projects
2017-11-15T14:01:52.000181
Lory
pythondev_help_Lory_2017-11-15T14:01:52.000181
1,510,754,512.000181
100,476
pythondev
help
`pip install svn+&lt;repo&gt;#egg=&lt;repo_name&gt;` usually
2017-11-15T14:03:07.000529
Frieda
pythondev_help_Frieda_2017-11-15T14:03:07.000529
1,510,754,587.000529
100,477
pythondev
help
oh cool, that's way easier than I thought it would be
2017-11-15T14:03:51.000502
Lory
pythondev_help_Lory_2017-11-15T14:03:51.000502
1,510,754,631.000502
100,478
pythondev
help
is that process of installing to pip locally called something that I can research into?
2017-11-15T14:04:07.000277
Lory
pythondev_help_Lory_2017-11-15T14:04:07.000277
1,510,754,647.000277
100,479
pythondev
help
I don't have a decent understanding of how that all works and I'd rather learn more about it than just start doing something I don't fully understand
2017-11-15T14:04:42.000506
Lory
pythondev_help_Lory_2017-11-15T14:04:42.000506
1,510,754,682.000506
100,480
pythondev
help
you're not ever "installing to pip"
2017-11-15T14:04:57.000214
Frieda
pythondev_help_Frieda_2017-11-15T14:04:57.000214
1,510,754,697.000214
100,481
pythondev
help
pip is a tool for putting external python packages into a place in your PYTHONPATH
2017-11-15T14:05:16.000450
Frieda
pythondev_help_Frieda_2017-11-15T14:05:16.000450
1,510,754,716.00045
100,482
pythondev
help
i'm not sure of a good resource other than just looking up something like `pip install git`
2017-11-15T14:06:59.000230
Frieda
pythondev_help_Frieda_2017-11-15T14:06:59.000230
1,510,754,819.00023
100,483
pythondev
help
That works, thanks for the help
2017-11-15T14:07:37.000413
Lory
pythondev_help_Lory_2017-11-15T14:07:37.000413
1,510,754,857.000413
100,484
pythondev
help
<@Lory> <https://pip.pypa.io/en/stable/reference/pip_install/#git>
2017-11-15T14:09:03.000408
Seema
pythondev_help_Seema_2017-11-15T14:09:03.000408
1,510,754,943.000408
100,485
pythondev
help
Oh awesome, that's exactly what I needed
2017-11-15T14:09:53.000166
Lory
pythondev_help_Lory_2017-11-15T14:09:53.000166
1,510,754,993.000166
100,486
pythondev
help
I get all FOSS when I think of pip, it came to be to solve past issues, is in active development, isn't always the best, mostly does the trick, and one willll eventually run into an issue with it but one doesn't know until the tool doesn't do what is expected :slightly_smiling_face:
2017-11-15T14:10:49.000347
Seema
pythondev_help_Seema_2017-11-15T14:10:49.000347
1,510,755,049.000347
100,487
pythondev
help
be careful with the `-e` flag, especially if you use docker
2017-11-15T14:11:55.000224
Frieda
pythondev_help_Frieda_2017-11-15T14:11:55.000224
1,510,755,115.000224
100,488
pythondev
help
To be clear, it is currently *the* install tool for python
2017-11-15T14:12:18.000005
Seema
pythondev_help_Seema_2017-11-15T14:12:18.000005
1,510,755,138.000005
100,489
pythondev
help
i don't see it going away any time soon, especially once `Pipfile.lock` gets locked down
2017-11-15T14:13:04.000068
Frieda
pythondev_help_Frieda_2017-11-15T14:13:04.000068
1,510,755,184.000068
100,490
pythondev
help
Yea I use it all the time ofr normal stuff within my virtualenv's I just have never packaged anything or gone farther than `pip install xyz`
2017-11-15T14:13:23.000380
Lory
pythondev_help_Lory_2017-11-15T14:13:23.000380
1,510,755,203.00038
100,491
pythondev
help
Trying to take my development ability a little farther and actually understand pythons packaging system
2017-11-15T14:13:50.000398
Lory
pythondev_help_Lory_2017-11-15T14:13:50.000398
1,510,755,230.000398
100,492
pythondev
help
you'll "should" be fine, some of the other flags like -user can also get you in trouble too
2017-11-15T14:13:59.000168
Seema
pythondev_help_Seema_2017-11-15T14:13:59.000168
1,510,755,239.000168
100,493
pythondev
help
`--user` is _usually_ pretty safe, at least on your local machine, assuming you're not using a virtualenv
2017-11-15T14:14:50.000243
Frieda
pythondev_help_Frieda_2017-11-15T14:14:50.000243
1,510,755,290.000243
100,494
pythondev
help
is there ever a situation where you shouldn't use a virtualenv? Everything I've seen online says you should always use one
2017-11-15T14:15:42.000394
Lory
pythondev_help_Lory_2017-11-15T14:15:42.000394
1,510,755,342.000394
100,495
pythondev
help
with the exception of random test scripts at least
2017-11-15T14:15:55.000657
Lory
pythondev_help_Lory_2017-11-15T14:15:55.000657
1,510,755,355.000657
100,496
pythondev
help
it makes no sense on single-purpose servers/containers
2017-11-15T14:15:59.000764
Frieda
pythondev_help_Frieda_2017-11-15T14:15:59.000764
1,510,755,359.000764
100,497
pythondev
help
Ah that does make sense
2017-11-15T14:16:10.000465
Lory
pythondev_help_Lory_2017-11-15T14:16:10.000465
1,510,755,370.000465
100,498
pythondev
help
it's kinda useless for anything you actually want system-wide (like, say, `flake8`)
2017-11-15T14:16:30.000065
Frieda
pythondev_help_Frieda_2017-11-15T14:16:30.000065
1,510,755,390.000065
100,499
pythondev
help
it’s not invoking as it needs to be `if __name__ == '__main__'`
2017-11-15T15:14:15.000242
Patty
pythondev_help_Patty_2017-11-15T15:14:15.000242
1,510,758,855.000242
100,500
pythondev
help
it will error out then as `find_uncommon` isn’t defined
2017-11-15T15:14:39.000689
Patty
pythondev_help_Patty_2017-11-15T15:14:39.000689
1,510,758,879.000689
100,501
pythondev
help
Does anyone have experience decrypting files using `python-gnupg` on py3?
2017-11-15T16:56:02.000490
Winnifred
pythondev_help_Winnifred_2017-11-15T16:56:02.000490
1,510,764,962.00049
100,502