ipython/ipython — pull request #1831 by steverweber (2012-06-01 15:52:12+00:00)
Title: fix #1814 set __file__ when running .ipy files

set ```__file__``` when running .ipy files.