上一页 1 ··· 3 4 5 6 7
摘要: 云计算优势 降低成本,安全稳定,易扩展。 云计算三种服务模式 IaaS:基础设施即服务 IaaS(Infrastructure-as-a- Service):基础设施即服务。消费者通过Internet可以从完善的计算机基础设施获得服务。例如:硬件服务器租用。 PaaS:平台即服务 PaaS(Plat 阅读全文
posted @ 2018-10-26 17:34 WESWES 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 问题: Python如何让字典保持有序 ? 解决方案: 使用collections.OrderedDict代替Dict。 验证程序: 验证结果: 阅读全文
posted @ 2018-10-25 11:10 WESWES 阅读(1870) 评论(0) 推荐(0) 编辑
摘要: setup函数常用参数: --name 包名称 --version 包版本 --author 程序作者 --author_email 程序作者的邮箱地址 --maintainer 维护者 --maintainer_email 维护者的邮箱地址 --url 程序的官网地址 --license 程序的授 阅读全文
posted @ 2018-10-24 16:14 WESWES 阅读(374) 评论(0) 推荐(0) 编辑
摘要: 代码: 结果: 结论: os.path.abspath(path) :返回path规范化的绝对路径。 os.path.dirname(path) :返回path的目录。 os.path.basename(path) :返回path的文件名。 os.path.split(path) :返回path分割 阅读全文
posted @ 2018-10-24 12:50 WESWES 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 代码: 执行: 结果: 结论: argv[0]为程序文件名,argv[1:]为命令行参数。 阅读全文
posted @ 2018-10-24 11:30 WESWES 阅读(158) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7