Notepad Using Python Tkinter #pythoncode05

 Notepad Using Python Tkinter

PythonCode5

Introduction : Notepad Using Python Tkinter made this simple notepad better than java swing this notepad has better UI than Java swing Notepad because it has the feature like light  and dark mode which java swing can't provide in later post i will make the IDE using the tkinter with the same code. It has the feature like it can read the column and line no in the text at very keypress.

Working : Notepad opens like the simple ms notepad.
Here you can save the txt files, open the txt files and you can also change the font the current text in the notepad. Made using OOPs concept. The code has 2 class named Notepad which has the actual code of the notepad and About Classs which contain the code of the About Dialog box.
The Class Notepad has:
    1. Constructor in which the tkinter module has called.
    2. Function GUI which has the design of the notepad.
    3. Function New
    4. Function open
    5. Function saveas
    6. Function new_window
    7. Function exit
    8. Function cut
    9. Function copy
    10. Function paste
    11. Function delete
    12. Function help
    13. Function save
    14. Function select
    15. Function closing
    16. Function updateline
    17. Function font
    18. Function setfont
    19. Function dark
    20. Function light
As the name suggests it works when particular menu is clicked

The Output and the code is attached below.


Code :
Download Code File => Click Here

Comments