pythonwin from dos

John Roth newsgroups at jhrothjr.com
Sat Sep 27 11:08:53 EDT 2003


"Alberto Mantovani" <alberto.mantovaniNOSPAM at bologna.marelli.it> wrote in
message news:3f7591fe.1890578 at powernews.libero.it...
> On Thu, 25 Sep 2003 12:40:10 -0400, "John Roth"
> <newsgroups at jhrothjr.com> wrote:
>
>
>
> >
> >"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....
>
> I know this, but my problem is to run the script in pythonwin from dos
> when pythonwin is already opened.

Look in the registry and find out how Pythonwin handles the command
from the shell, then do the same thing.

John Roth






More information about the Python-list mailing list