• Facebook
  • Twitter
  • Reddit
  • StumbleUpon
  • Digg
  • email

All Samples(71660)  |  Call(66834)  |  Derive(4820)  |  Import(6)
dict() -> new empty dictionary
dict(mapping) -> new dictionary initialized from a mapping object's
    (key, value) pairs
dict(iterable) -> new dictionary initialized as if via:
    d = {}
    for k, v in iterable:
        d[k] = v
dict(**kwargs) -> new dictionary initialized with the name=value pairs
    in the keyword argument list.  For example:  dict(one=1, two=2)

src/p/y/PyXB-base-1.1.0/examples/dictionary/showdict.py   PyXB(Download)
import dict
import urllib2
import pyxb.utils.domutils as domutils
from xml.dom import minidom
 
# Get the list of dictionaries available from the service.
port_uri = 'http://services.aonaware.com/DictService/DictService.asmx'

src/p/y/PyXB-base-1.1.0/examples/dictionary/define.py   PyXB(Download)
import dict
import urllib2
import pyxb.utils.domutils as domutils
import sys
 
word = 'xml'
if 1 < len(sys.argv):

src/p/y/python-on-a-chip-HEAD/src/tests/system/t153.py   python-on-a-chip(Download)
# Fix dict.clear() which fails to free the seglists
#
 
import dict
 
# Clear a dict and then make sure it can be used afterward
d = {0:"zero", "one":1}

src/p/y/python-on-a-chip-HEAD/src/tests/system/t149.py   python-on-a-chip(Download)
# Test for Issue #149: Support the keyword del
#
 
import dict
 
 
#

src/p/y/python-on-a-chip-HEAD/src/tests/system/t138.py   python-on-a-chip(Download)
# globals namespace isn't right
#
 
import dict
 
print "dict.keys(globals()) = ", dict.keys(globals())
 

src/p/y/python-on-a-chip-HEAD/src/tests/system/t136.py   python-on-a-chip(Download)
# Create module interface for compound datatypes
#
 
import dict, list
 
 
# Tests for dict