Possible Duplicate:
convert integer to a string in a given numeric base in python
I want to work with base 5 numbers, or any other non standard base for that matter.
I found out int('123', 5) works, but I need to go the other way around.
Should I write my own number class to accomplish this?
Maybe I’m just thinking in the wrong direction…
1 Answer