XBMC Community Forum  

Go Back   XBMC Community Forum > Development > Plugin/Script (Python) Development

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!

Reply
 
Thread Tools Search this Thread Display Modes
Old 2004-04-20, 21:34   #1
carlosp_uk
Member
 
Join Date: Apr 2004
Posts: 47
carlosp_uk is on a distinguished road
Default

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'
carlosp_uk is offline   Reply With Quote
Old 2004-04-20, 21:48   #2
carlosp_uk
Member
 
Join Date: Apr 2004
Posts: 47
carlosp_uk is on a distinguished road
Default

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.
carlosp_uk is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:14.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project