代码搜索结果
找到约 10,000 项符合
Python 的代码
reader.py
#!/usr/bin/python -u
# -*- coding: ISO-8859-1 -*-
#
# this tests the basic APIs of the XmlTextReader interface
#
import libxml2
import StringIO
import sys
# Memory debug specific
libxml2.debugMemory(
validrng.py
#!/usr/bin/python -u
import libxml2
import sys
ARG = 'test string'
class ErrorHandler:
def __init__(self):
self.errors = []
def handler(self, msg, data):
if data != ARG:
pushsax.py
#!/usr/bin/python -u
import sys
import libxml2
# Memory debug specific
libxml2.debugMemory(1)
log = ""
class callback:
def startDocument(self):
global log
log = log + "startDocu
nsdel.py
#!/usr/bin/python -u
#
# this test exercise the XPath basic engine, parser, etc, and
# allows to detect memory leaks
#
import sys
import libxml2
instance="""
validschemas.py
#!/usr/bin/python -u
import libxml2
import sys
ARG = 'test string'
class ErrorHandler:
def __init__(self):
self.errors = []
def handler(self, msg, data):
if data != ARG:
web2korpus.py
#!/usr/bin/python
# -*- coding: iso-8859-1 -*-
#
# Hilfsklassen und -funktionen f黵 Korpus.py
import htmllib, formatter, urllib, urlparse
import StringIO
# Klasse zum Entfernen von HTML u
jmemorize_db.py
#!/usr/bin/python
# vim: set fileencoding=utf-8
# Copyright 漏 2008 Igor Mammedov,
# Contact email: igor@mammed.net
#
# This file is part of MemoCard.
#
# MemoCard is free software: you ca
trayicon.py
#!/usr/bin/python
# vim: set fileencoding=utf-8
# Copyright 漏 2008 Igor Mammedov,
# Contact email: igor@mammed.net
#
# This file is part of MemoCard.
#
# MemoCard is free software: you ca
flashcard.py
#!/usr/bin/python
# vim: set fileencoding=utf-8
# Copyright 漏 2008 Igor Mammedov,
# Contact email: igor@mammed.net
#
# This file is part of MemoCard.
#
# MemoCard is free software: you ca
run_flash.py
#!/usr/bin/python
# vim: set fileencoding=utf-8
# Copyright 漏 2008 Igor Mammedov,
# Contact email: igor@mammed.net
#
# This file is part of MemoCard.
#
# MemoCard is free software: you ca