Python 2.7.4 (default, Apr 19 2013, 18:32:33)
[GCC 4.7.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import baseconv
>>> import sys
>>>
>>> mybase = baseconv.BaseConverter('ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz !,')
>>> mybase.to_decimal('hello, world!')
248148967587499711534423L
>>> sys.getsizeof(mybase.to_decimal('hello, world!'))
24
>>> mybase.from_decimal(248148967587499711534423L)
'hello, world!'
>>> sys.getsizeof(mybase.from_decimal(248148967587499711534423L))
34