Grazie della risposta, ma non lo trovo che me lo devo scaricare
e come funziona ?

Ciao
Andrea

2008/3/3, Marco Mariani <[EMAIL PROTECTED]>:
>
> andrea lucaroni wrote:
>
> > Vorrei  lanciare comandi di schell dentro un mio script in python,
> > aspettare che terminino per tornare nel mio script come posso fare?
> > Questi comandi non appartengono al modulo os, come li posso
> > implementare in questo modulo.
>
>
> import subprocess
>
> subprocess.Popen(args).wait()
>
> #    args should be a string, or a sequence of program arguments.  The
> #    program to execute is normally the first item in the args sequence or
> #    string, but can be explicitly set by using the executable argument.
>
>
> _______________________________________________
> Python mailing list
> Python@lists.python.it
> http://lists.python.it/mailman/listinfo/python
>
_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python

Rispondere a