how can I interpret a file within the interactive interpreter

Diez B. Roggisch deets at nospam.web.de
Tue Nov 13 11:01:52 EST 2007


Peter J. Bismuti wrote:

> I want to interpret a file (or whatever you call it) and then keep the
> interactive interpreter alive so I can then continue to issue commands.
> 
> How can this be done?  I saw online a -m flag but it does not seem to
> work.

Use the -i-flag.

Diez



More information about the Python-list mailing list