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

 找回密码
 新人加入
查看: 8833|回复: 3
打印 上一主题 下一主题

[其他代码] 主要是MOD的tag 不是很實用 自己都沒怎麼用過 [复制链接]

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

楼主
发表于 2011-10-22 20:17:08 |显示全部楼层
提示: 本代码建议保存为 s.py, 前面有些脚本用到了这个库. 文件存放位置, 最简单的就是直接拖到工程文件夹下... (不需要其他任何改动)

补充: 建议使用 utf-8编码保存.

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

沙发
发表于 2012-3-10 21:24:11 |显示全部楼层
Mirael 发表于 2012-3-10 21:06
How to correctly implement this macro?
I use vsfiltermod for creating karaoke at lua.

There is a little Python thing... you should use extLibs.Tags_mod, like

from extLibs.Tags_mod import *

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

板凳
发表于 2012-3-10 21:51:47 |显示全部楼层
Mirael 发表于 2012-3-10 21:44
A man learns by the end of life. ^ ^
Thank you. :)
But:


this probably be an encoding issue, try to copy the codes above, paste to the notepad, then save as "utf-8".

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

地板
发表于 2012-3-10 22:20:02 |显示全部楼层
Mirael 发表于 2012-3-10 22:17
Notepad++ has automatic saving of character encoding format to UTF-8.
But once I copied the script a ...

It works? Good.

p.s. I have replied your last PM.
您需要登录后才可以回帖 登录 | 新人加入

GitHub|TCAX 主页

GMT+8, 2024-5-4 03:43

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部
RealH