My wife is a writer, which today means she uses a word processing program. It's a sophisticated, powerful program—OpenOffice.org Writer—but occasionally it won't do something that she wants it to do.
I'm trying to run Xpath queries using etree, but I can't seem to figure out the Xpath syntax. Here's a (sanitized) section of my XML document. 1) Query using XML based on some value like the 'id' or ...
Pythonでファイル操作を行う際、いきなり open() でファイルを読み込もうとして、「FileNotFoundError(ファイルが見つかりません)」というエラーでプログラムが止まってしまった経験はないでしょうか。 堅牢なプログラムを作るためには、処理を行う前に ...
外部システムから送られてきたCSVファイルや、何年も前の古いテキストログをPythonで読み込もうとした時、真っ先にぶつかる壁。 それが**「文字コード(エンコーディング)の壁」**です。 「UTF-8だと思って開いたらエラーが出た」 「Shift-JISで開いてみたら ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する