Multiple instances of modules

Skip Montanaro skip at
Mon Sep 15 17:42:35 CEST 2003

    Daniel> For example, say I made a module which held details of an
    Daniel> audio compact dic (album name, track names, etc..), and wanted
    Daniel> my Python script to make a record collection using multiple
    Daniel> CD's, I can't make them seperately. 

You don't want to use modules for this.  You need to define a CD class
(perhaps within the CD module) and instantiate it for each album.


More information about the Python-list mailing list