Re: sizeof(long) from python

2005-09-04 Thread John
Thanks a lot, That solved my problem. --j -- http://mail.python.org/mailman/listinfo/python-list

Re: sizeof(long) from python

2005-09-04 Thread Simon Percivall
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

sizeof(long) from python

2005-09-04 Thread John
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