Pythonのお勉強 Part60at TECHPythonのお勉強 Part60
- 暇つぶし2ch138:デフォルトの名無しさん 19/05/06 13:15:04.22 4WCBwXBu.net >>137 各要素の.stringを参照するならループ内でいちいち参照する for elm in sp.select(): ____elm_string = elm.string か、内包表記で 各要素.string が並んだリスト(的なもの)をforで回す for elm in (e.string for e in sp.select()):