Re: preferences file

2019-01-24 Thread eryk sun
On 1/24/19, Dennis Lee Bieber wrote: > On Thu, 24 Jan 2019 14:42:59 -0500, Dave declaimed > the following: >> >>3. File location? I'm using Ubuntu and I believe that the correct >>location would be home/.config/ . What about Mac and Windows? >> > Windows? > > %UserPr

Re: preferences file

2019-01-24 Thread DL Neil
Dave, On 25/01/19 8:42 AM, Dave wrote: I'm doing a small application and want to add user preferences.  Did some googling to see if there are standard Python ways/tools, but it seems not so much.  My specific questions are: 1. Best practices for a user preference file/system? > [edited] > Wo

Re: preferences file

2019-01-24 Thread Chris Warrick
On Thu, 24 Jan 2019 at 20:50, Dave wrote: > > I'm doing a small application and want to add user preferences. Did > some googling to see if there are standard Python ways/tools, but it > seems not so much. My specific questions are: > > 1. Best practices for a user preference file/system? Put t

Re: checking protocols.

2019-01-24 Thread DL Neil
Avi Haven't noticed an answer to this. Did I miss anything? I never saw the original message appear and thus expected no replies. I see a later post by Chris indicating he did not see it either. I assumed perhaps a moderator needed to approve it. =a silly question on my part. A quick check

Re: What is your experience porting Python 2.7.x scripts to Python 3.x?

2019-01-24 Thread Tim Chase
On 2019-01-22 19:20, Grant Edwards wrote: > > For anyone who has moved a substantial bunch of Python 2 to Python > > 3, can you please reply with your experience? > > If you used bytes (or raw binary strings) at all (e.g. for doing > things like network or serial protocols) you're in for a lot o

preferences file

2019-01-24 Thread Dave
I'm doing a small application and want to add user preferences. Did some googling to see if there are standard Python ways/tools, but it seems not so much. My specific questions are: 1. Best practices for a user preference file/system? 2. File format favored and why - ini, JSON, etc? 3. Fil

Re: How to force the path of a lib ?

2019-01-24 Thread Vincent Vande Vyvre
Le 23/01/19 à 13:11, Neal Becker a écrit : dieter wrote: Vincent Vande Vyvre writes: . To load external C/C++ shared objects, the dynamic lickage loader (ldd) is used. "ldd" does not look at Pthon's "sys.path". Unless configured differently, it looks at standard places (such as "/usr/l

Re: What is your experience porting Python 2.7.x scripts to Python 3.x?

2019-01-24 Thread Pete Forman
Robin Becker writes: > On 22/01/2019 19:00, Schachner, Joseph wrote: > .. >> For anyone who has moved a substantial bunch of Python 2 to Python 3, >> can you please reply with your experience? Did you run into any >> issues? Did 2to3 do its job well, or did you have to review its >> outpu

Re: What is your experience porting Python 2.7.x scripts to Python 3.x?

2019-01-24 Thread Robin Becker
On 23/01/2019 21:51, Ian Kelly wrote: On Wed, Jan 23, 2019 at 1:36 PM Stefan Behnel wrote: . All right, but apart from absolute imports, the print function, and true division, what has Python 3.x ever done for us? *ducks* headaches :) -- Robin Becker -- https://mail.python.org/m

Re: ValueError: Input contains NaN, infinity or a value too large for dtype('float32')

2019-01-24 Thread Rhodri James
On 23/01/2019 22:29, paulmatth...@gmail.com wrote: You may be using the sklearn package incorrectly; you'll have to read the (apparently quite prolific) documentation yourself, I've never used it. -- Rhodri James *-* Kynesim Ltd So why would you try to answer it? I have the same issue but the

ANN: A new version (0.4.4) of python-gnupg has been released. It contains a security-related change - please update to this version

2019-01-24 Thread Vinay Sajip via Python-list
A new version of the Python module which wraps GnuPG has been released. What Changed?=This is an enhancement and security-fix release, and all users are stronglyencouraged to upgrade. Brief summary: * Fixed #108: Changed how any return value from the on_data callable is  processed. In

Re: What is your experience porting Python 2.7.x scripts to Python 3.x?

2019-01-24 Thread Robin Becker
On 22/01/2019 19:00, Schachner, Joseph wrote: .. For anyone who has moved a substantial bunch of Python 2 to Python 3, can you please reply with your experience? Did you run into any issues? Did 2to3 do its job well, or did you have to review its output to eliminate some working b