Re: Data Integrity Parsing json

2018-04-25 Thread Sayth Renshaw
On Thursday, 26 April 2018 07:57:28 UTC+10, Paul Rubin wrote: > Sayth Renshaw writes: > > What I am trying to figure out is how I give myself surety that the > > data I parse out is correct or will fail in an expected way. > > JSON is messier than people think. Here's an article with some > exp

Re: jilian to Gregorian date conversion error

2018-04-25 Thread sum abiut
ok so i have fixed that using the for loop result_proxy=connection.execute(stmt).fetchall() for a in result_proxy: test=datetime.date.fromordinal(int(a.date_applied)) Now if i want to pass a range of date to date_applied above. How to i do that? I know in sql i did d

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

2018-04-25 Thread Etienne Robillard
Hi, I would like to know if you could please share some input about this ThreadConnectionPool class for libschevo/ZODB. :) Thanks! Etienne Le 2018-04-20 à 04:49, Etienne Robillard a écrit : Heads up people! I've finally managed to make a working `ThreadedConnectionPool` class for supporti

Re: Determining whether a package or module should be installed globally using pip

2018-04-25 Thread Chris Angelico
On Thu, Apr 26, 2018 at 2:22 AM, Paul Moore wrote: > On 25 April 2018 at 16:32, Rodrigo Acosta wrote: >> Is there a rule of thumb in deciding where to install a package? What makes >> a package, other than security vulnerabilities, better to install globally >> e.g. using sudo pip install, or b

Re: Determining whether a package or module should be installed globally using pip

2018-04-25 Thread Paul Moore
On 25 April 2018 at 16:32, Rodrigo Acosta wrote: > Is there a rule of thumb in deciding where to install a package? What makes a > package, other than security vulnerabilities, better to install globally e.g. > using sudo pip install, or by changing directory to tmp folder, or by using > virtua

Determining whether a package or module should be installed globally using pip

2018-04-25 Thread Rodrigo Acosta
Is there a rule of thumb in deciding where to install a package? What makes a package, other than security vulnerabilities, better to install globally e.g. using sudo pip install, or by changing directory to tmp folder, or by using virtualenv? Thank you python users, you're my only hope, RAR --

Re: Minmax tictactoe :c Cannot understand why this does not work

2018-04-25 Thread bartc
On 24/04/2018 23:57, fifii.ge...@gmail.com wrote: movimientos = [] for i in range (n): for j in range (n): . auxb = 0 return movimientos[auxb] What do you mean by 'does not work'? With input of fila=1, and columna=1