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
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
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
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 ...
>
>
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
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
ere a turn around to allow it ?
thanks
yomgui
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
12 matches
Mail list logo