Comment 6 for bug 366353

> %run "$"

This doesn't work - I get the same error as before, that it can't find
the file. I think this is an issue of how the path is written, but I
haven't had a chance to really investigate it. If I could copy and
paste from the retarded Windows Command Prompt, I would show you the


> --
> Robert Kern
> "I have come to believe that the whole world is an enigma, a harmless
> enigma that is made terrible by our own mad attempt to interpret it as
> though it had an underlying truth."
>  -- Umberto Eco
> --
> %run doesn't work with paths returned by tempfile.NamedTemporaryFile()
> You received this bug notification because you are a member of IPython
> Developers, which is subscribed to IPython.
> Status in IPython - Enhanced Interactive Python: New
> Bug description:
> In test_magic we use tempfile.NamedTemporaryFile() to create files that are used with %run during the test suite.  The paths created by tempfile don't play well with %run:
> To reproduce, do:
> import tempfile
> f = tempfile.NamedTemporaryFile()
> f.write('pass\n')
> %run $

Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
<email address hidden>
<email address hidden>