use Python to make shell | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

use Python to make shell

can anyone give me suggestion about how to use python to write.py file and make it have shell functions when run in the terminal, thanks!!

11th Oct 2018, 7:31 AM
Tony
2 Answers
+ 1
You want make your own shell with python? If yes its matter of get input, check the format, recognize command and execute it
11th Oct 2018, 7:51 AM
KrOW
KrOW - avatar
0
yes that’s what i want. i wonder how to creak command and execute it, thanks a lot!
11th Oct 2018, 2:30 PM
Tony