Pickle, __init__, and classes

2005-08-02 Thread Yin
urned from the auxiliary member function. Are there other ways of approaching this problem? Thanks, Yin -- http://mail.python.org/mailman/listinfo/python-list

Odd behavior with os.fork and time.sleep

2005-09-16 Thread Yin
I am writing a script that monitors a child process. If the child process dies on its own, then the parent continues on. If the child process is still alive after a timeout period, the parent will kill the child process. Enclosed is a snippet of the code I have written. For some reason, unless

Change directory not successfully done

2005-11-10 Thread Samuel Yin
I do in the case of python script? Thanks and Regards Samuel Yin -- http://mail.python.org/mailman/listinfo/python-list

Re: Change directory not successfully done

2005-11-10 Thread Samuel Yin
Regards Samuel Yin Mike Meyer 写道: Samuel Yin <[EMAIL PROTECTED]> writes: Hi, guys, This should be a simple problem, but I just can not resolve it. I just want to use a python script to change my working directory. see my following code: # mycd.py 1) destdir = "&

which specified python module can monitor text information in Windows GUI

2015-01-05 Thread Chambers yin
Which kind of specified python module can monitor text in Windows GUI or support the similar function? Br, -Chambers -- https://mail.python.org/mailman/listinfo/python-list

recommended gcc versions for python2.5 compilation on Solaris sparc/x86, AIX, Linux

2008-07-10 Thread YIN Ming
. use new version of gcc (rather than odd version) Thanks and best regards, Yin Ming This e-mail contains information for the intended recipient only. It may contain proprietary material or confidential information. If you are not

RE: recommended gcc versions for python2.5 compilation on Solarissparc/x86, AIX, Linux

2008-07-11 Thread YIN Ming
Dear Jeroen, Thanks so much for your help. :) Best regards, Yin Ming -Original Message- From: Jeroen Ruigrok van der Werven [mailto:[EMAIL PROTECTED] Sent: Friday, July 11, 2008 5:55 PM To: YIN Ming Cc: python-list@python.org; LEGRAND Mathieu Subject: Re: recommended gcc versions for

Compilation problem of Python2.5.1 on AIX5.2 (with --enable-shared option)

2008-04-16 Thread YIN Ming
on library generated). It has no difference from the one compiled without --enable-shared. Note that if the configuration is run without --enable-shared option, the corresponding commands will not contain "-lpython2.5". Best regards, Yin Ming --

Re: ignored test cases in unittest

2009-08-15 Thread Terry Yin
Yes, should be more than 200. But now 187+ are running (some are 'ignored').It's a personal project, I just don't feel safe without all the testing as it grows bigger and bigger. On Sun, Aug 16, 2009 at 11:40 AM, John Haggerty wrote: > So you are saying you have several hundred tests you have t

Re: ignored test cases in unittest

2009-08-17 Thread Terry Yin
On Aug 17, 8:23 pm, David House wrote: > > Note that the unittest module now supports the `skip' and > `expectedFailure' decorators, which seem to describe some of the > solutions here. > > Seehttp:// docs.python.org/3.1/library/unittest.html#skipping-tests-and-e... > > -- > -David Yes, indeed! I'

Binary file output using python

2007-04-17 Thread Chi Yin Cheung
Hi, Is there a way in python to output binary files? I need to python to write out a stream of 5 million floating point numbers, separated by some separator, but it seems that all python supports natively is string information output, which is extremely space inefficient. I'd tried using the pi