[IPython-dev] __file__ in a file executed by %run

Gael Varoquaux gael.varoquaux at normalesup.org
Wed Aug 22 07:35:28 EDT 2007


Hi,

Is there a reason why __file__ is not set to the absolute path of the
file ran, when running a file with %run. I am running 0.7.3 on the box I
have right now, so maybe this behavior has changed.

Cheers,

Gaël



More information about the IPython-dev mailing list