> > >I want to run an .exe file and get the output many times.
>> Given that I know that you know about loops I have to
>> ask what you see as the problem?
>
>I want to run it many times and export all the output to a text file.
OK, Do you mean you want to run the program multiple times
but put
hi,
I'm a beginner. Can someone help me with the installation? I've read several
tutorials, possess a couple of books, and have followed the instructions, but I
stil face a problem. None of the online tutorials address this issue in depth
maybe because it could be too simple. I'm having proble
"sith ." <[EMAIL PROTECTED]> wrote
> However, when I try to run the program, which is stored
> in pthon25/work using IDLE, I get a traceback error.
Cannyou send us the error, that helps a lot in trying to debug.
Cut n paste the entire error text.
> I can run the program in dos though and it
I am building a list like this:
tree = []
for top in tops:
l2 = level2(top)
if l2:
tree.append((top, l2))
I would really like to turn this into a list comprehension:
tree = [ (top, level2(top)) for top in tops if level2(top) ]
but the call to level2() is
Decorate level2 with a decorator that caches:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/425445
--Michael
On 11/1/07, Kent Johnson <[EMAIL PROTECTED]> wrote:
>
> I am building a list like this:
>
> tree = []
> for top in tops:
> l2 = level2(top)
> if
When I run a python script with nohup, my print statements are not being
written to nohup.out, why is that? Should nohup.out capture all stdout
statements?
--
Configuration
``
Plone 2.5.3-final,
CMF-1.6.4,
Zope (Zope 2.9.7-final, python 2.4.4, linux2),
Five 1.4.1,
Python 2
How did you install Python? I've found that the Enthought distribution to be
the simplest and quickest way to get up and running while having good
functionality (i.e. scipy up and running).
Active state releases a good version as well... and thus, welcome, to what
in my humble opinion (a newbie as
Kent Johnson wrote:
> I am building a list like this:
>
> tree = []
> for top in tops:
> l2 = level2(top)
> if l2:
> tree.append((top, l2))
>
> I would really like to turn this into a list comprehension:
>
> tree = [ (top, level2(top)) for top in tops if
"Kent Johnson" <[EMAIL PROTECTED]> wrote
> I would really like to turn this into a list comprehension:
>
> tree = [ (top, level2(top)) for top in tops if level2(top) ]
>
> but the call to level2() is expensive enough that I don't want to
> repeat
> it. Is there any way to do this or am I stuck w
"John" <[EMAIL PROTECTED]> wrote
> How did you install Python?
On Windoze I use the ActiveState version and then manually
set the PATH and PYTHONPATH environment variables
> Active state releases a good version as well... and thus, welcome,
> to what
> in my humble opinion (a newbie as well) is
Hello all,I will try to make this quick.Since the installation topic is
open I have a question.
Bear in mind "newbie alert" I have 2.5 on windows M.E. and all is well,but
if I try to use a dos box I get bad command etc. but if I use the python
dos everything works.Is this normal
or do I need
Hi,
Thanks for your input. I'm presently downloading enthought python - no asian
mirror, so it'll take a really long time to download even on broadband at
10kbps) - but I don't think it's a distro problem. I'm probably not doing it
right as I'm now using IDLE and still have the same problem.
12 matches
Mail list logo