Parsing & question about usages off classes!
Frans
frans at haarman.com
Sun Nov 3 11:44:57 EST 2002
Hi,
I want to put each line off a logfile in a different class. But I cant
seem to, dynamicly, create new classes. I am having problems using
variables when creating new classes.
class TEST:
pass
x=0
while x < 10:
A + "" + x = TEST()
x=x+1
Something like that is what I want :)
Having A1 A2 A3 A4 etc. etc. as TEST classes.
Anyway way to do this ?
Thanks,
Frans
More information about the Python-list
mailing list