1、讀取文件
pickle_file = open('city_file.pkl', 'rb')
list_content = pickle.load(pickle_file)
print(list_content)
2、寫入文件
list1 = ['打包文件','測試']
pickle_file = open('city_file.pkl','wb')
pickle.dump(list1, pickle_file)
pickle_file.close()
Preface I made a Django Proje
CheckIO It is a foreign progra