Couple of simple questions

nomad nomad*** at ***freemail.absa.co.za
Fri Mar 30 08:15:16 EST 2001


Howzit,

I have a couple of (hopefully) simple questions:

Does anybody know what size python variabel types are?
Eg. how many bytes is and integer?  What about a long?  I have
searched through the docs but I cant find a reference to the byte
sizes.  The reason is that I'm battling with struct.py and some
complex C++ structs.  Any help here would greatly appreciated

Also on and win32 platform, how do I persistently add a custom path to
the pythonpath?  I have tried adding it to the pytho path in the
registry, but then when I view the class browser in IDLE, only the
default paths are there.  I can do a `sys.path.append.....' each time,
but I would prefer to have my custom module path there automatically.

Cheers and TIA.



More information about the Python-list mailing list