12 2018 档案
摘要:Ubuntu18.04默认内嵌python2、python3,pip安装时,python2对应安装pip,python3对应安装pip3. sudo apt install python3-pip 检查版本: pip3 -V pip 9.0.1 from /usr/lib/python3/dist-
阅读全文
摘要:file_path =(r'i:\vacpy\ch10\pi_digits.txt') #将文件路径存储在变量file_path中with open (file_path) as file_object: contents = file_object.read() print(contents)""
阅读全文
摘要:active =Truewhile active: message =input("\nPlease input your name:\n") if message =='q': break print("welcome " + message + " come to our website!")
阅读全文

浙公网安备 33010602011771号