[IPython-user] PYTHONPATH works for modules but not scripts
Mon Aug 3 17:02:19 CDT 2009
On Fri, Jul 31, 2009 at 9:54 PM, Dr. Phillip M.
> This would work, but I would have to define an alias for every single script.
> I hope that there will eventually be some fix to IPython that makes it check
> the PYTHONPATH for scripts that are not found in the current/working
could you please file a wishlist bug on this item so we don't forget?
I'm not sure that I'd want it to be the default %run behavior to
search all of PYTHONPATH, but certainly it could be available as:
- an optional flag to run
- a separate magic that does the searching and calls %run with the full path
- a option to toggle this on/off for %run, so users who want it can
activate it, aware that they will be running non-local scripts.
Which of these to use, I'm not sure about yet. But we can discuss it
further to find a solution, and implement it after Brian's refactoring
More information about the IPython-user