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

Gael Varoquaux gael.varoquaux@normalesup....
Wed Aug 22 06:35:28 CDT 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