Python CLI Building | Sololearn: Learn to code for FREE!

+4

Python CLI Building

How can I make a CLI(command-line interface) with Python? I tried A LOT of times but didn't work

4/5/2017 8:35:11 PM

Ali Emir Kızıl

3 Answers

New Answer

+3

Nobody likes me:(

+2

Too late but ty for the answer @Daniel

0

I had the same idea: making a CLI you can easily excecute functions with and add more functions if wished. I started by programming a function that takes a command, splits it into it's components and uses them to call other functions. So the command should refere to the function you want to call and all arguments the functions needs.