ascii2dec

Skip Montanaro skip at pobox.com
Wed Aug 20 20:08:07 CEST 2003


    Uwe> i.e. 
    Uwe> How to convert:

    Uwe> length = '\x01\x00\x00\x00'

    Uwe> to an integer

Check out struct.unpack.

Skip





More information about the Python-list mailing list