tükrözve innen: itec/banana
10 sor
304 B
Python
Executable file
10 sor
304 B
Python
Executable file
#!/usr/bin/env python3
|
|
import argparse
|
|
import banana
|
|
|
|
if __name__ == "__main__":
|
|
parser = argparse.ArgumentParser(description="Convert ribes string to dec")
|
|
parser.add_argument("ribes", help="String to be converted")
|
|
args = parser.parse_args()
|
|
|
|
print(banana.banana2dec(args.ribes, 1, 0))
|