Execute script from ipython
Johan Ekh
ekh.johan at gmail.com
Fri Aug 19 09:00:38 EDT 2011
Hi all,
I have a script "myscript.py" located in "/usr/local/bin" on my linux box.
I can execute it in ipython with
run /usr/local/bin/myscript.py
but not with
run myscript.py
even though /usr/local/bin is in my $PATH and in my $PYTHONPATH.
What should I do to correct this?
Best regards,
Johan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110819/07023b99/attachment.html>
More information about the Python-list
mailing list