wenwen
wenwen

探索網路世界和進入區塊鏈的過程或許很平凡,但我就是想分享給大家,若能幫助到有需要幫助的人,那就更好了。 有幫到你的話,記得按下方拍手圖,不需花你任何金錢,免費註冊Liker ID,就可對我化讚為賞:https://button.like.co/willie5068

016第十章 FILES AND EXCEPTIONS

早上太趕,加上 看 Netflix 的《無照律師》(已看到第八季了),差點忘了在今日PO文。

💛20230116 晨讀感言:

💔原以為只是個別的將資料存入files,和學習避免程式crash 的 Exception Block,沒想到 這兩者 還必需 結合 在一起,才能 讓 data 從 files 中 提取 或 儲存 的過程中 避免 files 開啟 錯誤 而導致 程式 crash。

💔遇到了 我超有興趣的 json.dump() and json.load() 這兩個方法,不知道和我所知的 JSON 運用,有什麼差別。

💔至此,我想寫個 猜數字遊戲(幾A幾B)所需運用 的 function 和 method 也都 具備了。

💛晨讀摘要:

💚Now that you’ve mastered the basic skills you need to write organized programs that are easy to use, it’s time to think about making your programs even more relevant and usable. In this chapter you’ll learn to work with files so your programs can quickly analyze lots of data.

from:《python crash course》

CC BY-NC-ND 2.0 版权声明

喜欢我的文章吗?
别忘了给点支持与赞赏,让我知道创作的路上有你陪伴。

加载中…
加载中…

发布评论