用python构建记事本之类的应用程序 [英] building notepad like application with python
本文介绍了用python构建记事本之类的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使用python构建类似应用程序的记事本.
我想包含一些简单的功能,例如:
1.写作
2.编辑
3.行号
4.选择字体
5.字体大小,样式,颜色
6.搜索字符串
7.数词
我不知道该如何开始?如何开始使用python
I want to build notepad like application using python.
I want to include simple functions like:
1. writing
2. editing
3. line number
4. selecting font
5. font size, style, color
6. searching for string
7. counting words
I am not getting any idea how to begin this? How can I start developing notepad like application using python
推荐答案
开发类似应用程序的记事本,您需要选择要使用的GUI工具箱,如PyQt , TKinter 或wxWidgets .
我个人会推荐PyQt4,并且在此处上有一个很好的教程如何在PyQT4中编写一个简单的文本编辑器.
You need to choose what GUI toolkit you want to use like PyQt, TKinter or wxWidgets.
Personally I would recommend PyQt4 and there is a good tutorial here on how to writing a simple text editor in PyQT4.
这篇关于用python构建记事本之类的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文