[Tutor] does python have something like "#include" in C?
a.t.hofkamp at tue.nl
Mon Jun 29 17:22:45 CEST 2009
Robert Lummis wrote:
> ... 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.
Python is very good at eliminating boilerplating, so import should be enough
Could you give an example of what you want to include that cannot be done with
More information about the Tutor