That is very cool, and I also didn't know you could use the code module that way. In this specific case could you have used sitecustomize.py? I've often dealt with the "must set up all this state" thing in the python command window by adding things to a project specific sitecustomize.py file, or using "python -i somescript.py" to dump me into the command window with a bunch of code already run. Thanks for blogging this.
Comment
That is very cool, and I also didn't know you could use the code module that way. In this specific case could you have used sitecustomize.py? I've often dealt with the "must set up all this state" thing in the python command window by adding things to a project specific sitecustomize.py file, or using "python -i somescript.py" to dump me into the command window with a bunch of code already run. Thanks for blogging this.