使用 xlwt 模組來建立 excel 文件時,寫出來的內容如果用excel預設的格式會很醜,因此整理了一下,如果要設定樣式(如:字體大小、字型、表格...等)ˊ時該怎麼做
find() 回傳第一個找到的區塊
find()
find_all() 則是回傳一個 list
find_all()
最近用了一套新的IDE-Thonny,主要是介面跟 Wings一樣簡潔,而且輕量、免費…
今天來介紹如何在 VS Code 執行 python 程式,以及在執行 debug 模式時遇到的問題。
本文介紹python 在 print 時的小技巧( .format()與print 逗號多行合併成一行)。
最近因為在準備轉換工作的事情,停頓了一陣子沒寫文章,稍微告一段落,趕緊來寫一下,做個紀錄。
常見的壓縮方式有以下幾種:
CSV指的是逗號分隔值、也可叫字元分隔值(Comma-Separated Values,CSV),為一連串的純文字,使用分隔符號(通常為逗號)來分隔出不同的欄位,在一些公共資訊平台,例如:政府、股票網,他們提供下載的資料格式通常都會有.csv檔。