Hello all,
What's the easiest way to recreate the environment created by "paster
shell"?

I need to run a few non-trivial scripts which use the TG configuration
and model; having to do "paster shell <myscript.py" would be really
awkward as I want to pass in command line arguments to my script.

It seems the pieces I need are the locating and reading-in of a
configuration file and the creation of a SQLAlchemy engine I can pass
to model.init_model.

Any suggestions?
James

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to