title: How can I work with base 5 numbers in Python?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2267362/convert-integer-to-a-string-in-a-given-numeric-base-in-python">convert integer to a string in a given numeric base in python </a>  </p>
  </blockquote>
  
  
  
  <p>I want to work with base 5 numbers, or any other non standard base for that matter.</p>
  
  <p>I found out <code>int('123', 5)</code> works, but I need to go the other way around.</p>
  
  <p>Should I write my own number class to accomplish this?</p>
  
  <p>Maybe I'm just thinking in the wrong direction...</p>