今天來介紹如何在 VS Code 執行 python 程式,以及在執行 debug 模式時遇到的問題。
最近在學習 javaScript,搜尋了幾個IDE來試用,最後我選定了Visual Studio Code,主要是因為它支援多種語言,像python也有支援, -而且它也是像Sublime…
最近用了一套新的IDE-Thonny,主要是介面跟 Wings一樣簡潔,而且輕量、免費…
使用 xlwt 模組來建立 excel 文件時,寫出來的內容如果用excel預設的格式會很醜,因此整理了一下,如果要設定樣式(如:字體大小、字型、表格...等)ˊ時該怎麼做
不知道有沒有人跟我吃過一樣悶虧的人,寫code的時候明明看起來沒有錯,但卻一直顯示錯誤,最後才發現把l跟I混用了(鍵盤上L跟I其實蠻近的)。
find() 回傳第一個找到的區塊
find()
find_all() 則是回傳一個 list
find_all()