Test.py文件解析

来源:互联网 发布:邮箱域名怎么写 编辑:程序博客网 时间:2024/06/04 22:48
from tcaxPy import *def tcaxPy_Init():    print('Tips: you can initialize your global variables here.')    print('This function will be executed once if you set `< tcaxpy init = true >\'')    print(GetHelp()) #初始化函数def tcaxPy_Fin():    print('Tips: you can finalize your global variables here.')    print('This function will be executed once if you set `< tcaxpy fin = true >\'')    print('Note: you do not need to finalize the global variables got from function GetVal()')#销毁函数,一旦使用 退出脚本之前将使用def tcaxPy_Main(_i, _j, _n, _start, _end, _elapk, _k, _x, _y, _a, _txt):#a表示文字的宽度,txt第J个文字的内容    ASS_BUF  = []        # used for saving ASS FX lines    TCAS_BUF = []        # used for saving TCAS FX raw data    #############################    # TODO: write your codes here #    ass_main(ASS_BUF, SubL(_start, _end), pos(_x, _y) + K(_elapk) + K(_k), _txt)    #############################    return (ASS_BUF, TCAS_BUF)

0 0