08 2017 档案
摘要:00-- In python, else can be used with if; while; try 01-- using "with", we can open a file without f.close(): 002-- make use of exception to make the
阅读全文
摘要:00-- we can use Try, Except, Finally to handle the Exceptions Oder 001: use Try and Except to handle the exceptions in the code : 002-- usage of raise
阅读全文
摘要:0-- Exceptions 1-- Syntax Error 2-- Index Error 3--Attribute Error 4--Key Error 5--Name error 6--Type Error
阅读全文
摘要: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
阅读全文
摘要:Save the txt with UTF format and then open the file with f1 = open(path, encoding = 'utf')
阅读全文

浙公网安备 33010602011771号