Skip to main content

A simple text editor made by tkinter.一款使用tkinter编写的文本编辑器程序。

Project description

简介 Introduction:

A simple open-source text editor written in Python.

It supports editing text files,binary files with various encodings

which can be automatically detected.

When you edit a binary file, the contents of the file are displayed as escape sequences.

You can find and replace words.You’re also able to choose themes you prefer.

In addition, code highlighting is supported when editing Python code files,like IDLE.

What’s more, dragging and dropping files into the editor window is now supported.

一款使用tkinter编写的开源文本编辑器, 支持编辑文本文件、二进制文件、自由选择主题。

支持ansi、gbk、utf-8等编码, 以及调用chardet库自动检测编码。

编辑二进制文件时, 文件内容以转义序列形式显示。

支持查找、替换; 且支持撤销、重做; 支持将文件拖放入窗口。

可自由选择主题和字体, 改变字体大小。

编辑python代码文件时, 支持代码高亮显示, 类似IDLE。

作者: qfcy (七分诚意) 作者主页 https://tieba.baidu.com/home/main?un=%E5%BE%90%E4%B8%B934

作者CSDN主页: https://blog.csdn.net/qfcy_/

版本:1.3.2 (改进: 代码高亮显示可适应主题背景色; 改善了查找和替换功能的体验。 新增: 默认在新窗口中打开文件; 编辑二进制文件中, 可直接在解码文字显示区域编辑内容。)

源代码: https://github.com/qfcy/Python/blob/main/pynotepad.pyw

原文链接: https://blog.csdn.net/qfcy_/article/details/118399185

效果图:

编辑二进制文件图片

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

notepad-1.3.2.tar.gz (15.1 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page