2009/2/21 Gabriel Genellina <[email protected]>: > > Use packages. Make act1 and act2 packages by creating __init__.py files.
That's how I'd do it too. The code would be also more easy to
understand and maintain:
import act1
import act2
act1.story()
act2.story()
Alternative solution would be using reload function after changing sys.path.
Cheers,
.peke
--
http://mail.python.org/mailman/listinfo/python-list
