Is it possible to run a python script (not module) from inside ipython without indicating its path? I tried to set PYTHONPATH but it seems to work only for modules. I would like to execute
without being in the directory containing the file.
from within the directory of "my_script.py" you can simply do: