1 Getpass 密文传输模块 2 Os linux系统模块 3 Sys 查看python变量 4 copy 复制 5 6 import getpass 7 username = input('username:') 8 password = getpass.getpass('password:') 9 print(username,password) 10 11 import os 12 os.system('df-h') 13 os.mkdir('youDir') 14 cmd_res=os.popen('df-h').read()保存命令的结果 15 16 Import sys 17 print(sys.path) 18 19 import copy #引入copy模块 20 name = name.copy() #只copy第一层 21 name = deepcopy(name) #深度copy