Skip to content

TFAGaming/Notepad-Clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Notepad-Clone v1.0.0

This is not a 100% clone, but a similar one! This all made in Python and can be turned into an executable file (.exe) using pyinstaller!

Updates:

  1. Added scrollbar.
  2. Sets automatically the default font of editor in "Set font" Top level app.
  3. Webbrowser support.

Preview

Main:
2023-01-08 12_23_57-Window

Set font:
2023-01-07 20_58_20- Noname  - MyNoteBook

Change icon

Create firstly or download an image with .png or .jpeg extension, visit a site that converts .png or .jpeg to .ico. Here is the site that I used to convert my image: Convertico.

Turn the project into .exe

Install pyinstaller using command prompt:

pip install pyinstaller

Use cd command to navigate into the folder that your project contain the program file, which is main.py.
Then, use the command below to turn the main.py to an executable file:

pyinstaller --onefile --icon=icon.ico main.py

If you see some folders that has been created automatically, congrats! Go to dist folder, drag the .exe file into the folder where it can read the icon. You can delete the dist folder and other folders that were created.

Enjoy! :)

Credits:

All credits to T.F.A#7524.