摘要:
import os print os.getcwd()#获得当前工作目录 print os.path.abspath('.')#获得当前工作目录 print os.path.abspath('..')#获得当前工作目录的父目录 print os.path.abspath(os.curdir)#获得当 阅读全文
posted @ 2020-06-03 15:27
将会i
阅读(135)
评论(0)
推荐(0)
摘要:
Python 字典(Dictionary) items() 函数以列表返回可遍历的(键, 值) 元组 enumerate() 函数用于将一个可遍历的数据对象(如列表、元组或字符串)组合为一个索引序列,同时列出数据和数据下标,一般用在 for 循环当中 阅读全文
posted @ 2020-06-03 15:25
将会i
阅读(175)
评论(0)
推荐(0)

浙公网安备 33010602011771号