[Tutor] Iterating through tokens from a split command
Alan Gauld
alan.gauld at blueyonder.co.uk
Sat Mar 20 13:33:53 EST 2004
> > if __name__ == "__main__":
> > ConvertFile()
>
> Why a class?
This is considered good OOP style by many teachers.
The application is a class and so, to run the application,
instantiate it. Thus "everything is an object". It does
have the benefit of making the application as a whole
potentially reusable and extendable.
But that has nothing to do with Vicki's problem.
Alan G.
More information about the Tutor
mailing list