load .py file in interpreter?

Joe Bowbeer jozart at go2net.com
Fri Aug 6 04:08:10 CEST 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