Thanks for all the suggestions! The last solution is the one I was
ooking for, I am really starting to like iPython. Learning all kinds
of new tricks!.
-- Gnarlie
--
http://mail.python.org/mailman/listinfo/python-list
Gnarlodious wrote:
> In an interactive session (I am using iPython), what is the most
> elegant way to run a Python script from Terminal? Right now I am
> saying:
>
> import subprocess
> subprocess.call("python /path/to/scriptname.py", shell=True)
>
> But I am calling a shell process and I'd rat
On 7/18/2009 12:32 PM, Gnarlodious wrote:
In an interactive session (I am using iPython), what is the most
elegant way to run a Python script from Terminal? Right now I am
saying:
import subprocess
subprocess.call("python /path/to/scriptname.py", shell=True)
But I am calling a shell process and
Gnarlodious wrote:
> In an interactive session (I am using iPython), what is the most
> elegant way to run a Python script from Terminal? Right now I am
> saying:
>
> import subprocess
> subprocess.call("python /path/to/scriptname.py", shell=True)
>
> But I am calling a shell process and I'd rath
Gnarlodious schrieb:
In an interactive session (I am using iPython), what is the most
elegant way to run a Python script from Terminal? Right now I am
saying:
import subprocess
subprocess.call("python /path/to/scriptname.py", shell=True)
But I am calling a shell process and I'd rather not. The
In an interactive session (I am using iPython), what is the most
elegant way to run a Python script from Terminal? Right now I am
saying:
import subprocess
subprocess.call("python /path/to/scriptname.py", shell=True)
But I am calling a shell process and I'd rather not. The script just
runs, no in