标签:span 代码 pes lse 版本 char byte inf make
在python代码中判断python版本:
if sys.version_info < (3, 0): lib.make_flows.argtypes = [c_char_p, c_char_p, c_int, c_int, c_int] lib.make_flows(avi, newpath, 0, 0, 10) else: in_path = bytes(avi, ‘utf8‘) out_path = bytes(newpath, ‘utf8‘) lib.make_flows(in_path, out_path, 0, 0, 10)
标签:span 代码 pes lse 版本 char byte inf make
原文地址:https://www.cnblogs.com/ocean1100/p/9276024.html