Skip to content
/ Python3-Text-Editor Public template

This repository is a template to create your own code/text editor that will suite your needs

Notifications You must be signed in to change notification settings

vismodo/Python3-Text-Editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python3-Text-Editor

This repository is a template to create your own code/text editor that will suite your needs.

Demonstration

Here is a demonstration of this repository. The same text comes out in macOS TextEdit too. demo

Running the code

  1. Clone this repository by clicking here. Extract the contents of the file into one folder. Launch 'Text Editor.py' in IDLE for Python 3.6 or later. I used Python 3.8.3.

image

  1. Click on Run > Run Module

image

  1. You should see a window that says 'Python Text Editor'. Click on 'Create a new file'.

image

  1. You will be presented with a text box and a save button. Type something in the text box and click on 'Save As'

image

  1. In the shell, you will be presented with a list of file extensions and then and an instruction to save your file. Enter the file's name and the extension and press enter.

image

  1. Now, navigate to the folder where you saved the contents of this repository. You will find the file you saved here.

image

  1. Now open the file with your default text editor. The text will come out the same!

image

Next Steps

Click here to view the documentation of the code beside the hashtag (#) or if you have understood it, use it as a template for your own repository

Like this repository?

Star this repository or report any issues with the code. Also check out my other repositories.

Releases

No releases published

Packages

No packages published

Languages