摘要: 0-- Exceptions 1-- Syntax Error 2-- Index Error 3--Attribute Error 4--Key Error 5--Name error 6--Type Error 阅读全文
posted @ 2017-08-27 06:08 ReedyLi 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 1-- pickle, transfer the target document to binary to save. 2, pickle_file, write 3. pickle_file, read To write a script to separet the text by ":" an 阅读全文
posted @ 2017-08-26 06:49 ReedyLi 阅读(139) 评论(0) 推荐(0) 编辑
摘要: Save the txt with UTF format and then open the file with f1 = open(path, encoding = 'utf') 阅读全文
posted @ 2017-08-26 06:31 ReedyLi 阅读(619) 评论(0) 推荐(0) 编辑
摘要: 000 To list the types of the files in define dir : Running result: Standar: referred: http://www.runoob.com/python/att-dictionary-setdefault.html 001 阅读全文
posted @ 2017-07-14 00:21 ReedyLi 阅读(289) 评论(0) 推荐(0) 编辑
摘要: Running Error: It is caused by the txt's encode format. Please do use UTF-8 to save the file (you can use Notepad++ to choose the encode format to sav 阅读全文
posted @ 2017-07-11 17:33 ReedyLi 阅读(6919) 评论(0) 推荐(0) 编辑
摘要: 000 get the files name and save what the users input _ with ':w' to save and quit running result: defect: no pop up message for user to input the text 阅读全文
posted @ 2017-07-10 23:38 ReedyLi 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 000 to print each line in a file : 001 To read and save the file to another file Standar: 002 阅读全文
posted @ 2017-07-06 22:50 ReedyLi 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 000- The basic BIF and opearations for Set 001 阅读全文
posted @ 2017-07-05 22:28 ReedyLi 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 000 Running Result Standar: 001 002 003 004 阅读全文
posted @ 2017-07-04 22:13 ReedyLi 阅读(116) 评论(1) 推荐(0) 编辑
摘要: 000--to creat a dict and access the value of a key 001 Standar: 002 Running Result: Defect: The dict1 will be clear when the program exist Referred: K 阅读全文
posted @ 2017-07-02 22:14 ReedyLi 阅读(140) 评论(0) 推荐(0) 编辑