binary

G. David Kuhlman dkuhlman at netcom.com
Sun Apr 18 18:24:02 EDT 1999


Just van Rossum <just at letterror.com> wrote:
> At 2:15 PM +0300 4/16/99, Murat Yeneroglu wrote:
> >Hi,
> >I want to ask that  how  I can  convert a decimal number to binary in
> >python ?
> >THNX

> Take a look at the "struct" module.

> Just

And, also look at xdrlib in the standard Python library.  XDR is a
binary format, right?  And, it follows a standard, too.

  - Dave






More information about the Python-list mailing list