define class over 2 files
ben+python at benfinney.id.au
Tue Aug 18 09:13:17 CEST 2009
naveen <naveen.garg at gmail.com> writes:
> I guess I will just preprocess the script:
> cat partA.py > class.py
> cat partB >> class.py
> python class.py
This, to me, is a programming smell; not necessarily bad, but an
indicator of bad practice. What is the problem you're trying to solve?
I'll wager there are better ways to address it.
\ “Laugh and the world laughs with you; snore and you sleep |
`\ alone.” —anonymous |
More information about the Python-list