![]() |
|
|||||||
| Plugin/Script (Python) Development Developers forum for XBMC Python Plugins/Scripts. Scripters/coders only! Not for posting feature requests, bugs, or end-user support requests! |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Member
Join Date: Apr 2004
Posts: 47
![]() |
hi there
does anyone have a working bit of code that gets pyexpat up and running. i'm trying import xml.parsers.expat .... reader = expat.reader() which says attributeerror: 'module' object has no attribute 'reader' |
|
|
|
|
|
#2 |
|
Member
Join Date: Apr 2004
Posts: 47
![]() |
i've managed to get as far as
reader = expat.createparser() now.. ..but i'm struggling to find any documentation on this on the net. basically, i've got some xmltv listings that i've managed to get automatically ftping onto my xbox, and i want to easily parse them to write an on-screen tv guide. can anyone give me any pointers? i'd really like to use pyexpat to do this if possible, but could really do with some sample code. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|