随笔分类 - Python
摘要:临时指定 # 阿里云源(推荐) pip install numpy -i https://mirrors.aliyun.com/pypi/simple/ # 或清华源 pip install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple/ # 如
阅读全文
摘要:格式化打印 print("***{}".format(args)) 格式化转换 module = "skull" print "MODULE_{}".format(module.upper()) 格式化输出,八进制3位有效数高位补零 intvar = 9 print "{:03o}".format(
阅读全文

浙公网安备 33010602011771号