-
Python分片索引
今天在看程序的时候,看到如下代码 起初没怎么看明白,两个冒号叠在一块是干嘛?查了书之后才知道是分片索引。 冒号…
-
Python中的”_”
In Python, you can use the _ field to grab the last com…
-
Python中改变当前工作目录
import os os.getcwd() # 查看当前工作目录 os.chdir(“D:\\Py…
今天在看程序的时候,看到如下代码 起初没怎么看明白,两个冒号叠在一块是干嘛?查了书之后才知道是分片索引。 冒号…
In Python, you can use the _ field to grab the last com…
import os os.getcwd() # 查看当前工作目录 os.chdir(“D:\\Py…