On 6/29/2009 8:03 AM Robert Lummis said...
... or any pre-processing at all?

I'm looking for a way to get boiler plate code into the main program
file. Of course I could copy and paste it with an editor but I was
hoping for something more pythonic. I know about import but that's not
the same.

import is the pythonic way. Most boilerplate code I've come across provides basic functionality which is then accessed and used locally to complete the task at hand. In Python you'd write library code to provide that functionality and import and invoke those functions.

Emile

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to