[Python-ideas] Just main (original) (raw)
Serhiy Storchaka storchaka at gmail.com
Tue Jun 19 10:14:47 CEST 2012
- Previous message: [Python-ideas] Just __main__
- Next message: [Python-ideas] Just __main__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 18.06.12 21:05, Andrew McNabb wrote:
It might make sense to have "python -i" not call the "main" function, making it easier to interact with a script after the time that its methods and global variables are all defined but before the time that it enters main.
python -i -c "from SCRIPT import *"
- Previous message: [Python-ideas] Just __main__
- Next message: [Python-ideas] Just __main__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]