Re: Using subprocess.Popen() in a Windows service

2008-11-05 Thread yomgui
shell=False, cwd=lNetworkDir) else: net.processWithoutGui = Popen( [self.temporaryFilename,'-w'], shell=False, cwd=lNetworkDir) hope it helps yomgui Mark Shewfelt wrote: Hello, I am attempting to use Popen() in a Windows

opensg or openscenegraph

2008-01-04 Thread yomgui
Hi, I need to use a scengraph for my python/opengl application but I have trouble finding out which one I should use. opensg or openscenegraph (OSG) ? I suppose the quality of the python bindings will make the decision. any advice ? thanks yomgui -- http://mail.python.org/mailman/listinfo

Re: alternative to eclipse [ python ide AND cvs ]

2007-05-21 Thread yomgui
as you said, I re-installed java properly and it solved the problem. thanks. thanks for everybody else for responding yomgui Nathan Harmston wrote: > I have had very few problems with eclipse on ubuntu with pydev > installed. Is it still running under the gnu jvm, not the sun one? It

alternative to eclipse [ python ide AND cvs ]

2007-05-17 Thread yomgui
Hi, Eclipse is just not really working on linux 64 bit (I tried ubuntu and centos, it is freesing and crashing and extremly slow) I use eclipse for python and cvs, what is "the" good alternative ? thanks yomgui -- http://mail.python.org/mailman/listinfo/python-list

Re: how can I modify an imported variable ?

2006-12-27 Thread yomgui
actually, it is not linked to threading but to the scope. the second attempt to access MyPackage.aVariable is inside the __init__ of a class and this seems to be the problem. I believe it is a genuine python bug. yomgui -- http://mail.python.org/mailman/listinfo/python-list

Re: how can I modify an imported variable ?

2006-12-27 Thread yomgui
ere a turn around to allow it ? thanks yomgui -- http://mail.python.org/mailman/listinfo/python-list

how can I modify an imported variable ?

2006-12-27 Thread yomgui
I've tried this: import MyPackage if MyPackage.aVariable is None: MyPackage.aVariable = True but when I tried to access MyPackage.aVariable from another file (ie through an other import) the value is still None. how can I do this thanks yomgui -- http://mail.python.org/mailman/lis

Re: list of lists of lists ....

2006-07-31 Thread yomgui
thanks for all your answers yomgui yomgui wrote: > > Hi, > > I have a list of data (type A) > my list can includes element of type A or a lists, > these list can includes element of type A or a lists, and so on ... > > is there a simple way to obtain a single list of a

Re: list of lists of lists ....

2006-07-28 Thread yomgui
I forgot the most important, I am looking for a non recursive method. thanks yomgui yomgui wrote: > > Hi, > > I have a list of data (type A) > my list can includes element of type A or a lists, > these list can includes element of type A or a lists, and so on ... > >

list of lists of lists ....

2006-07-28 Thread yomgui
Hi, I have a list of data (type A) my list can includes element of type A or a lists, these list can includes element of type A or a lists, and so on ... is there a simple way to obtain a single list of all the elemets of type A ? thanks yomgui -- http://mail.python.org/mailman/listinfo

Re: return in loop for ?

2005-11-23 Thread yomgui
Mike Meyer wrote: > > yomgui <[EMAIL PROTECTED]> writes: > > is it legal to return inside a for loop > > or am I obliged to break out of the loop before returning ? > > Try it and see: it is not because it does work on an implementation of python that it will wo

return in loop for ?

2005-11-23 Thread yomgui
hello, is it legal to return inside a for loop or am I obliged to break out of the loop before returning ? thanks yomgui -- http://mail.python.org/mailman/listinfo/python-list