Did I find the right examples for you? yes no

All Samples(8)  |  Call(5)  |  Derive(0)  |  Import(3)

        def load_xml(name):
  xml_file = os.path.join(os.path.dirname(os.path.abspath(__file__)), name)
  return mllib.xml_parse(xml_file)
        


src/a/m/amqp-HEAD/protocol.py   amqp(Download)
    Described, Primitive, Binary
from composite import Composite, Restricted, load_composite, Field
from util import load_xml, pythonize
 
class Body(Composite):
    return True
 
TRANSPORT = load_xml("transport.xml")
MESSAGING = load_xml("messaging.xml")
SECURITY = load_xml("security.xml")
TRANSACTIONS = load_xml("transactions.xml")

src/a/m/amqp-HEAD/codec.py   amqp(Download)
 
import datetime, struct, time, uuid, cStringIO
from util import pythonize, load_xml, identity, Constant
 
class Type:
  return result
 
TYPES = load_xml("types.xml")
ENCODINGS = load_encodings(TYPES)
 

src/a/m/amqp-HEAD/composite.py   amqp(Download)
import inspect
from codec import Array, Described, Primitive, Value, Symbol
from util import load_xml, pythonize, decode_numeric_desc
 
class Field: