homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author enrico.scame
Recipients enrico.scame, serhiy.storchaka
Date 2016年05月25日.13:14:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464182050.1.0.0341623192197.issue27120@psf.upfronthosting.co.za>
In-reply-to
Content
I have attached xmllib.py. This file is in python23\lib folder.
The strings in XML file are in cyrillic language.
My code:
import xmllib
class Parser(xmllib.XMLParser):
 # a simple styling engine
 def __init__(self):
 xmllib.XMLParser.__init__(self)
 self.cursupervisore = None
 self.curdata = ''
 self.elements = {'Superv':(self.starttag_superv, self.endtag_superv)
........
 }
 def load(self, file):
 while 1:
 s = file.readline()
 if not s:
 break
 self.feed(s)
 self.close()
def read_plant_tree(filexml):
 c = Parser()
 c.load(filexml)
History
Date User Action Args
2016年05月25日 13:14:10enrico.scamesetrecipients: + enrico.scame, serhiy.storchaka
2016年05月25日 13:14:10enrico.scamesetmessageid: <1464182050.1.0.0341623192197.issue27120@psf.upfronthosting.co.za>
2016年05月25日 13:14:10enrico.scamelinkissue27120 messages
2016年05月25日 13:14:09enrico.scamecreate

AltStyle によって変換されたページ (->オリジナル) /