pythonwin from dos

John Roth newsgroups at jhrothjr.com
Thu Sep 25 12:40:10 EDT 2003


"Alberto Mantovani" <alberto.mantovaniNOSPAM at bologna.marelli.it> wrote in
message news:3f731176.33482654 at powernews.libero.it...
> hi,
> how is it possible to run a python script  in the pythonwin
> environment from dos command line?
> If I use the command "/run scriptname.py" and the pythonwin is already
> opened I get error, so someone can help me?

Why do you want to run it in Pythonwin? To run a script from
one of the command lines, the correct command is:

    python scriptname.py parameters....

Of course, python.exe has to be on the path.

John Roth
>
> thanks
> Alberto






More information about the Python-list mailing list