gEDA-user: Python equivalent for $realtobits

2006-08-15 Thread Matt Ettus
Does anybody know how I could perform the equivalent of $realtobits in Python? Thanks, Matt ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

Re: gEDA-user: Python equivalent for $realtobits

2006-08-15 Thread Patrick Doyle
I'm not 100% sure what you want but you could try looking at the struct package in python. I have used that to pack and unpack bit streams into ints, chars, longs, etc... it probably supports floats as well. --wpd ___ geda-user mailing list