Re: Extracting data from ython dictionary object

2018-02-08 Thread dieter
Stanley Denman writes: > I am new to Python. I am trying to extract text from the bookmarks in a PDF > file that would provide the data for a Word template merge. I have gotten > down to a string of text pulled out of the list object that I got from using > PyPDF2 module. I am stuck on now to

Extracting data from ython dictionary object

2018-02-08 Thread Stanley Denman
I am new to Python. I am trying to extract text from the bookmarks in a PDF file that would provide the data for a Word template merge. I have gotten down to a string of text pulled out of the list object that I got from using PyPDF2 module. I am stuck on now to get the data out of the string t

Re: This newsgroup (comp.lang.python) may soon be blocked by Google Gro

2018-02-08 Thread Steven D'Aprano
On Thu, 08 Feb 2018 23:40:57 +, Mark Lawrence wrote: > I don't see any spam in my inbox as I read on gmane, I'm pointing out > the disgraceful state of gg and why it should be dropped as it's less > than useless. Who is it that you think should "drop" Google Groups? If you mean individual pe

Re: virtualenvwrapper under OpenBSD's ksh & FreeBSD's /bin/sh

2018-02-08 Thread Tim Chase
Giving a nudge here. I've tried the below process with both OpenBSD's stock ksh and FreeBSD's stock /bin/sh as my shell and both seem to have similar errors (the FreeBSD error is less precise about the line location or the actual error: /home/tim/.local/bin/virtualenvwrapper.sh: ${}: Bad subs

Re: This newsgroup (comp.lang.python) may soon be blocked by Google Gro

2018-02-08 Thread Mark Lawrence
On 08/02/18 23:33, Chris Angelico wrote: The PSF doesn't *need* to take on Google, because there are other newsgroup hosting sites that have less spam. Switch to one of those, and voila, less spam in your inbox. ChrisA I don't see any spam in my inbox as I read on gmane, I'm pointing out th

Re: This newsgroup (comp.lang.python) may soon be blocked by Google Gro

2018-02-08 Thread Chris Angelico
On Fri, Feb 9, 2018 at 9:35 AM, wrote: > On Sunday, February 4, 2018 at 12:15:16 AM UTC, pyotr filipivich wrote: > >> Those of us who do not use google-groups may not notice the loss >> of the google groupies. >> -- >> pyotr filipivich >> Next month's Panel: Graft - Boon or blessing? > >

Re: This newsgroup (comp.lang.python) may soon be blocked by Google Gro

2018-02-08 Thread breamoreboy
On Sunday, February 4, 2018 at 12:15:16 AM UTC, pyotr filipivich wrote: > Those of us who do not use google-groups may not notice the loss > of the google groupies. > -- > pyotr filipivich > Next month's Panel: Graft - Boon or blessing? This topic has been hidden because you reported it f

Re: $srcdir and $datadir

2018-02-08 Thread Ben Finney
Victor Porton writes: > In GNU software written in C $srcdir and $datadir are accessible to C > code through generated config.h file. For what purpose? Given that the source may not be at that location after the program is compiled – especially, after the program is moved to a different machine

$srcdir and $datadir

2018-02-08 Thread Victor Porton
In GNU software written in C $srcdir and $datadir are accessible to C code through generated config.h file. What is the right way to config directories for a Python program? -- Victor Porton - http://portonvictor.org -- https://mail.python.org/mailman/listinfo/python-list

Re: This newsgroup (comp.lang.python) may soon be blocked by Google Gro

2018-02-08 Thread mm0fmf
On 08/02/2018 17:36, Gilmeh Serda wrote: On Sat, 03 Feb 2018 04:33:36 +1200, breamoreboy wrote: When trying to access comp.lang.idl-pvwave, a message is now displayed, stating that the group owner needs to remove the spam, and can then apply to Google in order to have access reinstated. Just

Re: This newsgroup (comp.lang.python) may soon be blocked by Google Gro

2018-02-08 Thread Larry Martell
On Thu, Feb 8, 2018 at 12:36 PM, Gilmeh Serda wrote: > On Sat, 03 Feb 2018 04:33:36 +1200, breamoreboy wrote: > >>> When trying to access comp.lang.idl-pvwave, a message is now displayed, >> stating that the group owner needs to remove the spam, and can then >> apply to Google in order to have acc

Re: [Python-Dev] How to set/update value in a xml file using requests in python

2018-02-08 Thread Dan Stromberg
This is more relevant to python-list than python-dev. I've added python-list to the To header. Gmail doesn't appear to allow setting a reply-to for a single message, so I've not set that; please, when replying, drop python-dev from the to: header. You'll likely want to set up some kind of REST en

EuroPython 2018: Getting ready

2018-02-08 Thread M.-A. Lemburg
We are excited to announce the launch of the EuroPython 2018 website: * https://ep2018.europython.eu/ * The EuroPython conference will take place in sunny Edinburgh, Scotland, this year, from July 23-29 2018. It’s a great time of year to visit Edinburgh with 16 hours of dayli

Re: How to work on a package

2018-02-08 Thread Grant Edwards
On 2018-02-07, Rob Gaddi wrote: > On 02/07/2018 03:17 PM, Grant Edwards wrote: > >> How do you work on a package that must remain installed and usable the >> whole time you're working on it? >> >> IOW, only specific test apps or apps run in a specific directory >> should get the "in-progress" foo

Re: Benchmarking Django on PyPy with unittest?

2018-02-08 Thread Etienne Robillard
Hi Dan, Thank you for your reply. I never used the requests module, but it looks like a very good pick to test the Django wsgi handler. :-) Currently my tests/benchmarks folder looks like this: tests/benchmarks/lib tests/benchmarks/lib/django_sqlite # Django 1.11 specific project directory