TCAX 字幕特效制作工具官方论坛 | ASS | TCAS | Python | Aegisub | Lua

 找回密码
 新人加入
查看: 12083|回复: 3

Python脚本编辑工具 Notepad2 [复制链接]

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

发表于 2011-8-14 18:36:34 |显示全部楼层
首先要注意的一点: 我们只需要编辑Python脚本, 而不需要程序去执行它 (执行使用的是TCAX), 所以只需要一些简单的文本编辑器就行, 而不需要完整的Python集成开发环境 (IDE).

特效脚本是普通的纯文本文件, 所以最简单的方式就是直接使用Notepad (记事本) 进行编辑, 但使用起来可能有诸多不便之处. 另一个能够直接使用的工具就是Python自带的IDLE (虽然我更常用记事本), 它具有语法高亮, 智能缩进等实用功能, 推荐初学者使用.

其它一些推荐的编辑器如下 PyPE, NotePad2 (推荐), NotePad++, GEditor等.

关于编辑器的选择, 可以参考如下文章:

Using a well featured python editor or editor with python support will greatly ease the process of writing python scripts. Here are some of the features that you could look for when choosing an editor. Free editors don't usually have them all. There are quite a few capable editors out there though. In addition to all the features listed below, it should in general be a good and easy to use text editor. (对于编辑器来说, 一些最好能具备的功能, 越靠前重要性越高:)

    Syntax highlighting (语法高亮)
    Smart indentation (智能缩进)
    Auto-completion of text (自动补全输入)
    Call tips (提示信息)
    Tree view function/class selection (函数/类的树形显示)
    Integrated shell windows (集成交互界面)
    Inbuilt debugger support (内置除错支持)
    Code folding support (代码可折叠/隐藏)
    Customibility and extensibility (可根据用户需要进行功能裁剪与拓展)
    Multi-platform support (跨平台支持)
    Unicode support (Unicode支持)

notepad2_4.2.25_x86.zip

304.54 KB, 下载次数: 5715

Notepad2 eng

notepad2_4.2.25_x86_zh.rar

272.14 KB, 下载次数: 4988

Notepad2 简体

notepad2_4.2.25_x86_tw.zip

304.96 KB, 下载次数: 2360

Notepad2 繁体

Rank: 4

发表于 2013-1-29 11:00:40 |显示全部楼层
收藏了,谢谢

Rank: 4

发表于 2013-5-7 13:33:51 |显示全部楼层
谢谢了 我下载试试看 拿来学习研究下

Rank: 1

发表于 2013-6-30 13:06:57 |显示全部楼层
感谢推荐,我之前写html用的是notepad++,这次下notepad2试试

Rank: 4

发表于 2021-7-27 00:54:08 |显示全部楼层
本帖最后由 Seekladoom 于 2021-8-5 16:03 编辑

现在的话写代码用VSCode是最佳选择,批量文本处理(比如替换)的话就用Notepad++。

补充:新人开发者进行一些调试工作建议优先考虑PyCharm,比VSCode容易上手一些,切换Python版本也方便。
PyCharm设置中文(无需汉化包)
您需要登录后才可以回帖 登录 | 新人加入

GitHub|TCAX 主页

GMT+8, 2024-3-29 14:45

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部
RealH