1
0
Fork 0
forked from itec/banana
banana/ananas2dec.py

11 lines
307 B
Python
Raw Permalink Normal View History

2020-08-30 14:59:07 +02:00
#!/usr/bin/env python3
import argparse
import banana
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="Convert ananas string to dec")
parser.add_argument("ananas", help="String to be converted")
args = parser.parse_args()
print(banana.banana2dec(args.ananas, 1, 0))