load .py file in interpreter?

Joe Bowbeer jozart at go2net.com
Thu Aug 5 22:08:10 EDT 1999


I found it:

    execfile("foo.py")

Joe Bowbeer wrote:

> Once you're running in the interpreter, how do you load (or re-load)
> some foo.py Python code into the interpreter? (I'm using JPython, by the
> way.)
>
> This seems like something basic for interactive development. I must be
> missing something obvious.





More information about the Python-list mailing list