Doesn't support fraction, decimal point and dozenal point yet.
Installation:
Find the Python '\site-packages' or '/dist-packages' directory location(s).
import site; print site.getsitepackages()
Place or paste this file (dozenal.py) in your Python's '\site-packages' or '/dist-packages' directory(s).
Testes on Windows7-SP1.
*Try changing EOL of 'dozenal.py' before installing in Linux, if the module fail in Linux.
Example usage:
import dozenal
print dozenal.enc('142')
print dozenal.encnb('142')
print dozenal.dec('ba')
print dozenal.decnb('9b')
Follow Python Dozenal/Duodecimal Module
Other Useful Business Software
Earn up to 15% annual interest with Nexo.
Generate interest, borrow against your crypto, and trade a range of cryptocurrencies — all in one platform.
Geographic restrictions, eligibility, and terms apply.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Python Dozenal/Duodecimal Module!