Back to Browse

How to Create a Command Interpreter in Python | Using the Python cmd module

4.9K views
Oct 13, 2023
13:40

This video shows you how to develop a command Interpreter using the python cmd module. #cmd #python #编程 Video editing: Windows video editor and adobe premiere Video recorder: @https://obsproject.com No copyright subscribe gif: https://youtu.be/SuyZD4IwK7k​​​​​​​​​... "Music provided by http://spoti.fi/NCS" and Anno Domini beats https://www.canva.com https://www.python.org/downloads/​​​​​​ Text editor: https://code.visualstudio.com/download Browser: https://www.google.com/chrome/ https://docs.python.org/3/library/cmd.html Timecodes 00:00 - Intro 00:23 - what is a command interpreter? 01:13 - building a command Interpreter? 02:57 - How does the command interpreter works 03:24 - creating a command loop 05:00 - testing our command interpreter 07:06 - creating a custom prompt message 08:29 - creating the quit command 10:30 - aliasing 11:39 - creating documentation for commands 13:10 - Conclusion

Download

1 formats

Video Formats

360pmp422.8 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

How to Create a Command Interpreter in Python | Using the Python cmd module | NatokHD