摘要:
格式化打印 print("***{}".format(args)) 格式化转换 module = "skull" print "MODULE_{}".format(module.upper()) 格式化输出,八进制3位有效数高位补零 intvar = 9 print "{:03o}".format( 阅读全文
摘要:
脚本使用格式 python py/makeqstrdefs.py [command] [mode] [input-file] [output-directory] [output-file] command: pp, split, cat mode: qstr, compress 输入选项解析 if 阅读全文