摘要: 模块使用哪种语言实现并不重要,因为所有的模块导入与使用的方式都相同。 1、常用模块导入格式: from格式有可能导致名称冲突,用from引入大量对象可以使用多行完成或对每个新行进行转义处理。例:用from os.path import dirname,就可以直接调用dirname函数,而不需要每次都 阅读全文
posted @ 2017-06-22 22:07 覆手为云p 阅读(1852) 评论(0) 推荐(5)
停止精灵球