摘要: file types: plaintext files, such as .txt .py Binary files, such as .docx, .pdf, iamges, spreadsheets, and executable programs(.exe) steps to read/wri 阅读全文
posted @ 2019-02-17 22:50 kaiming_ai 阅读(268) 评论(0) 推荐(0) 编辑
摘要: To lauch IDLE in the Current Woking Directory >>> usr/bin/idle3 Alt + n # next command Alt+p # previous command >>> import os # os module>>> os.getcwd 阅读全文
posted @ 2019-02-17 11:59 kaiming_ai 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 1.for loop example 1: sum of 1+2+...+10 ********** >>> sum=0 >>> for x in [1,2,3,4,5,6,7,8,9,10]: sum=sum+x >>> print(sum) ********** example 2: sum o 阅读全文
posted @ 2019-02-17 09:54 kaiming_ai 阅读(1178) 评论(0) 推荐(0) 编辑