define class over 2 files

Ben Finney ben+python at
Tue Aug 18 09:13:17 CEST 2009

naveen <naveen.garg at> writes:

> I guess I will just preprocess the script:
> <>
> cat >
> cat partB >>
> python
> </>

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 |
_o__)                                                                  |
Ben Finney

More information about the Python-list mailing list