This is a simple text editor GUI application built using PyQt5 module of Python. It has basic functionalities like creating a new file, opening an existing file, saving a file, and exiting the application. The editor also has features like Cut, Copy, and Paste, along with a status bar to display messages. It also supports an About dialog box and remembers the last window position and size on startup.
This application was developed and tested with the following dependencies:
Python 3.6+ PyQt5
- To install the required packages, you can use the following command:
pip install pyqt5
- To run the application, simply run the text_editor.py file.
python Editor.py
Once the application starts, you can perform the following operations:
Action | Menu/Shortcut |
Create a new file | File > New or Ctrl+N |
Open an existing file | File > Open or Ctrl+O |
Save the current file | File > Save or Ctrl+S |
Save the current file with a new name | File > Save As or Ctrl+Shift+S |
Cut selected text | Select text > Ctrl+X |
Copy selected text | Select text > Ctrl+C |
Paste copied/cut text | Place cursor > Ctrl+V |
About information for the application | Help > About |