Python-int in Binär-string?

Gibt es Konserven in Python-Methoden zum konvertieren von einem Integer (oder Long) in einen Binär-string in Python?

Gibt es eine Vielzahl von dec2bin () - Funktionen auf Google... Aber ich hatte gehofft, ich könnte mit einem built-in-Funktion /Bibliothek.

InformationsquelleAutor Nate | 2009-03-31
Schreibe einen Kommentar