摘要: 模块 导入模块 在 python 用 import 或者 from...import 来导入相应的模块。 import 将整个模块导入可以使用import,import后面的名字必须是包名,在使用函数时也必须带上包名 from somemodule import 格式为:from somemodul 阅读全文
posted @ 2020-12-04 14:18 郑晓悦 阅读(86) 评论(0) 推荐(0)
摘要: python内建数据类型 分类 python类型 Text Type str Numeric Types int, float, complex Sequence Types list, tuple, range Mapping Type dict Set Types set, frozenset 阅读全文
posted @ 2020-12-02 20:16 郑晓悦 阅读(82) 评论(0) 推荐(0)