Re: Python 32 bit error

2015-10-26 Thread Chris Angelico
On Sat, Oct 24, 2015 at 8:38 AM, Joshua Star wrote: > I am running a 32 bit computer, (Windows XP) and when I finish with the > installer program, I try to run either of the two executable files that are > put on my computer and they both come up with the message "python.exe is not > a valid Win32

Re: Ignore stderr and use return code

2015-10-26 Thread Chris Angelico
On Mon, Oct 26, 2015 at 3:34 PM, Cameron Simpson wrote: > No. Mount should have a zero status if it succeeds and anon-zero exit status > if it fails. There is no grey area here. This is the general case. For specific programs, you can often check their man pages; for the mount(8) on my system, it

Re: Error while launching python idle.

2015-10-26 Thread Terry Reedy
On 10/24/2015 3:00 PM, Vijay kumar wrote: Hi, I recently installed python 2.7 on my windows 10 laptop. When i launch python by clicking the python idle the following error appears In attached image. You should also type the text so it appears in responses. even before i do anything. Just c

Re: UNABLE TO GET IDLE TO RUN

2015-10-26 Thread Terry Reedy
On 10/26/2015 9:55 AM, Peter Otten wrote: The "bug" or misfeature is that idle automatically adds the working directory to sys.path. I am not sure what you mean by 'working directory' here. When one runs a program with 'python somepath/file.py', python prepends somepath to sys.path. Ideal

Re: how to get python socket to use a specific interface

2015-10-26 Thread Cameron Simpson
On 26Oct2015 12:33, Robin Becker wrote: . device? -- Robin Becker Using eth0:0 is normally a method to setup eth0 to respond to a 2nd IPV4/IPV6 address. Have you done the ifconfig steps to enable that? If its been done, you will see it's 2nd address in an ifconfig query. Man pa

Re: OT snake_case

2015-10-26 Thread MRAB
On 2015-10-25 23:43, Mark Lawrence wrote: On 23/10/2015 17:53, MRAB wrote: I just discovered today that writing names in lowercase with underscores is sometimes called "snake case". Seems kind of apt for Python! :-) Apparently, it was coined in the Ruby community... So when I get around to f

Re: Best way to do background calculations?

2015-10-26 Thread Chris Angelico
On Tue, Oct 27, 2015 at 4:01 AM, Israel Brewster wrote: > Sounds similar to MRAB's suggestion of starting the process before any > sockets have been opened. Certainly worth investigating, and I think it > should be doable. Thanks! Yep, either would work. My suggestion would be to not fork off f

Re: Best way to do background calculations?

2015-10-26 Thread Israel Brewster
On Oct 25, 2015, at 6:48 PM, Chris Angelico wrote: > > On Sat, Oct 24, 2015 at 3:35 AM, Israel Brewster > wrote: >> >> Ideally, this recalculation process would happen in the background. There is >> no need for the user to wait around while the system crunches numbers - they >> should be able

Re: Best way to do background calculations?

2015-10-26 Thread Israel Brewster
On Oct 25, 2015, at 3:40 PM, Dennis Lee Bieber wrote: > > On Fri, 23 Oct 2015 08:35:06 -0800, Israel Brewster > declaimed the following: > >> tl;dr: I've been using the multiprocessing module to run some calculations >> in the background of my CherryPy web app, but apparently this process >>

Re: Best way to do background calculations?

2015-10-26 Thread Israel Brewster
On Oct 25, 2015, at 4:05 PM, MRAB wrote: > > On 2015-10-23 17:35, Israel Brewster wrote: >> tl;dr: I've been using the multiprocessing module to run some >> calculations in the background of my CherryPy web app, but apparently >> this process sometimes gets stuck, causing problems with open socke

ANN: orcastorm

2015-10-26 Thread Nagy László Zsolt
OrcaStorm provides a simple module that can be used from a Tornado server to authenticate users with SaasPass (www.saaspass.com) two-factor authentication. This is a pre-release, it can only be used with tornado version 4.3. That version is still beta, but that is the only version that supports as

ANN: clefstorm

2015-10-26 Thread Nagy László Zsolt
ClefSform provides a simple module that can be used from a Tornado server to authenticate users with Clef (www.getclef.com) two-factor authentication. This is a pre-release, it can only be used with tornado version 4.3. That version is still beta, but that is the only version that supports async d

Re: UNABLE TO GET IDLE TO RUN

2015-10-26 Thread Peter Otten
Terry Reedy wrote: > On 10/23/2015 5:42 AM, Peter Otten wrote: >> Laura Creighton wrote: >> >>> In a message of Fri, 23 Oct 2015 00:19:42 -0400, Terry Reedy writes: On 10/21/2015 11:24 AM, Terry Alexander via Python-list wrote: > I have tried installing both Python 2.7 and 3.5, and i

Re: how to get python socket to use a specific interface

2015-10-26 Thread Robin Becker
. device? -- Robin Becker Using eth0:0 is normally a method to setup eth0 to respond to a 2nd IPV4/IPV6 address. Have you done the ifconfig steps to enable that? If its been done, you will see it's 2nd address in an ifconfig query. Man pages are wunnerful things. yes I have done

Python 32 bit error

2015-10-26 Thread Joshua Star
I am running a 32 bit computer, (Windows XP) and when I finish with the installer program, I try to run either of the two executable files that are put on my computer and they both come up with the message "python.exe is not a valid Win32 application" Also, in the installer program, some of the

[no subject]

2015-10-26 Thread dore.theo36
Provenance : Courrier pour Windows 10 -- https://mail.python.org/mailman/listinfo/python-list