I have gotten to know my way around a few programming languages, and I'd like to try my hand at making a command-line text editor -- something that runs in the terminal, like vim/emacs/nano, but is pure text (no guis, please). Preferably, I'd like to do this in python. Where do I start? Are there any (python) libraries to do command-line applications?
The 64-bit versions of Windows do not support the edit command in the Windows command line. If you need to edit files from the command line, we suggest using the notepad command from the command line as shown in the example below.
Command-line editing lets you access commands from your history file, edit them, and run the result. You have already seen this process before, when reading about some of the features of the r command.
try python curses module , it is a command-line graphic operation library.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With