Thanks a lot, That solved my problem.
--j
--
http://mail.python.org/mailman/listinfo/python-list
Take a look at the struct module
(http://docs.python.org/lib/module-struct.html), it does what you want.
--
http://mail.python.org/mailman/listinfo/python-list
I want to know the sizeof(long) / sizeof(int) ... in C from python.
(This is to read a set of numbers output from a C Code
and can be machine dependent).
Is there an easy way except writing a C program and parsing its output?
Thanks,
--j
--
http://mail.python.org/mailman/listinfo/python-list