From Dict to Classes yes or no and how

Andre Alexander Bell post at andre-bell.de
Tue Jun 22 07:49:49 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/22/2010 01:32 PM, Jerry Rocteur wrote:
> My input is NOT CSV, I used this format to try and make the question shorter. Although I could create a CSV file, I'd
> like to learn how to code a class to work the way I described in the question.

Sorry for misunderstanding. Can you maybe give one example that's not
CSV? Both your demonstrated files actually are CSV like. Can you be more
specific on what actually changes constantly. (Fields given in the
files, or the users in the files, or...)
Can you tell us, why you want to use classes if the dict approach works
great?

Regards


Andre

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwgo10ACgkQnuHMhboRh6QpCACePUckiiafgAM/h65/THfFQNgZ
RmwAn35of1VvLTNALA/pTme5gKA8g683
=oYjv
-----END PGP SIGNATURE-----



More information about the Python-list mailing list