Multiple instances of modules

Michael Peuser mpeuser at web.de
Mon Sep 15 12:09:04 EDT 2003


"Daniel Pryde" <ababo_2002 at hotmail.com>

> I'm currently trying to learn Python, my aim being to create my final
> year project at university using only Python instead of Java. I've run
> into a problem though while trying to make multiple instances of
> modules.

Can it be you want to instatiate a class? The class concept in Python has
nothing to do with moduls. You can define all your classes in your main
module. Read through some tutorials.

Kindly
Michael P






More information about the Python-list mailing list