Re: zipimport

2005-05-04 Thread Jonathan Brady
"Gabriele *Darkbard* Farina" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I have a zip file structured like this: > > mymodule.zip\ > module1.py > submodule\ >submodule1.py > > I tried to load submodule.submodule1 using this pice of code: > > import zipimport > >

Re: Problem with unpack hex to decimal

2005-04-17 Thread Jonathan Brady
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I was looking at this: > http://docs.python.org/lib/module-struct.html > and tried the following > import struct struct.calcsize('h') > 2 struct.calcsize('b') > 1 struct.calcsize('bh') > 4 > > I would hav