[Tutor] Parsing html user HTMLParser

2006-04-20 Thread ទិត្យវិរៈ
Hi folks, I need help here, I'm struggling with html parsing method, up until now I can only put and html file as instance. I have no experience with this, I want to read the childs inside this document and modify the data. What can I do if I start from here? from HTMLParser import HTMLParser

[Tutor] OR operator?

2006-04-05 Thread ទិត្យវិរៈ
Hi, I'm trying with this operator, could it possible? fruit1 = 'apple' fruit2 = 'orange' fruits = fruit1 or fruit2 is 'orange' = fruits ? ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] how to get data from xml

2006-04-04 Thread ទិត្យវិរៈ
Dear all Pythoners, I am quiet new to python and now working with xml. I have an xml like this: ?xml version=1.0 encoding=utf-8? fonttables table name=abc CONSONANTS KA0x6B/KA KHA0x78/KHA KO0x4B/KO KHO0x58/KHO NGO0x67/NGO