Re: Python installer hangs in Windows 7

2018-04-20 Thread jklinken
On Monday, February 6, 2017 at 6:16:24 AM UTC+1, Jean-Claude Roy wrote: >   I am trying to install Python 3.6.0 on a Windows 7 computer. > The download of 29.1 MB is successful and I get the nextwindow.  I choose the > "install now" selection and thatopens the Setup Program window. > Now the troub

Re: The basics of the logging module mystify me

2018-04-20 Thread Albert-Jan Roskam
On Apr 19, 2018 03:03, Skip Montanaro wrote: > > > I really don't like the logging module, but it looks like I'm stuck > with it. Why aren't simple/obvious things either simple or obvious? Agreed. One thing that, in my opinion, ought to be added to the docs is sample code to log uncaught except

Re: [ZODB] Multithreaded connection pooling support for ZODB databases?

2018-04-20 Thread Etienne Robillard
Heads up people! I've finally managed to make a working `ThreadedConnectionPool` class for supporting multiple ZODB databases connections on top of libschevo API! :) Technically, I decided to use gevent.Greenlet under the hood to spawn multiple cooperative ClientStorage client/server connect

Custom Python import module failed (protobuf)

2018-04-20 Thread sankarramanv
Hi, I need to use the google protobuf for my task. 1. Yum install protobuf worked for default python 2.7.5 in my VM. But I need to test with Python 2.7.14. I installed protobuf using yum on "/usr/lib64/python2.7/site-packages" I added the above path to PYTHONPATH and its not recognizing when

Re: Custom Python import module failed (protobuf)

2018-04-20 Thread Sankar Raman V
Error: ImportError: No module named google.protobuf -- https://mail.python.org/mailman/listinfo/python-list

Re: Finding set difference between ranges

2018-04-20 Thread tejaswi prakash
I generate the values using range and then convert them to sets. I am thinking about an approach which involves subtracting the ranges, or something along those lines, nothing concrete yet. On Wed 18 Apr, 2018, 8:43 PM Neil Cerutti, wrote: > On 2018-04-18, tejaswi prakash wrote: > > Hello all,

Re: Fwd: Python Import Impossibility

2018-04-20 Thread Tim Golden
On 17/04/2018 23:09, Terry Reedy wrote: On 4/17/2018 5:06 PM, Dan Stromberg wrote: Given that the list does not allow pictures, would it make sense to have the software that strips the pictures also send an e-mail to the picture sender indicating that pictures are disallowed? I see a lot of peo

Re: Finding set difference between ranges

2018-04-20 Thread Chris Angelico
On Fri, Apr 20, 2018 at 8:34 PM, tejaswi prakash wrote: > I generate the values using range and then convert them to sets. > I am thinking about an approach which involves subtracting the ranges, or > something along those lines, nothing concrete yet. (Please don't top-post) I would recommend ke

Re: The basics of the logging module mystify me

2018-04-20 Thread Ian Pilcher
On 04/19/2018 04:52 AM, Thomas Jollans wrote: Or, more often than not, it's best to use the logging module's configuration system that creates the right web of handlers and formatters for you. Wow! This is the first I've heard of logging.config (although it's easy to find now that I know that

Re: The basics of the logging module mystify me

2018-04-20 Thread Skip Montanaro
> I've no idea what setting log.level does; I would normally use > logging.basicConfig to set that sort of thing. > > logging.basicConfig(level=logging.INFO) The log.level setting is what calling log.setLevel(...) does under the covers. What neither apparently do is have any effect on whatever han

Looking for advice

2018-04-20 Thread 20/20 Lab
Going to write my first python program that uses a database. Going to store 50-100 rows with 5-10 columns.  Which database / module would you advise me to use?  It's basically going to be processing order status emails for the sales staff.  Producing a webpage (2-3 times daily, as updates arriv

Re: Looking for advice

2018-04-20 Thread Joel Goldstick
On Fri, Apr 20, 2018 at 1:28 PM, 20/20 Lab wrote: > Going to write my first python program that uses a database. Going to store > 50-100 rows with 5-10 columns. Which database / module would you advise me > to use? It's basically going to be processing order status emails for the > sales staff.

Re: Looking for advice

2018-04-20 Thread Rob Gaddi
On 04/20/2018 10:28 AM, 20/20 Lab wrote: Going to write my first python program that uses a database. Going to store 50-100 rows with 5-10 columns.  Which database / module would you advise me to use?  It's basically going to be processing order status emails for the sales staff.  Producing a w

Re: Looking for advice

2018-04-20 Thread Chris Angelico
On Sat, Apr 21, 2018 at 3:28 AM, 20/20 Lab wrote: > Going to write my first python program that uses a database. Going to store > 50-100 rows with 5-10 columns. Which database / module would you advise me > to use? It's basically going to be processing order status emails for the > sales staff.