Did I find the right examples for you? yes no

All Samples(233)  |  Call(81)  |  Derive(0)  |  Import(152)
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/l/a/lamson-1.3.4/examples/osb/app/handlers/index.py   lamson(Download)
from lamson.routing import route, stateless
import logging
from config import settings
from app.model import post
from markdown import markdown

src/l/a/lamson-1.3.4/examples/myinboxisnotatv/tests/model/filter_tests.py   lamson(Download)
from nose.tools import *
from lamson.testing import *
from lamson import mail
from config import settings
from app.model import filter, addressing

src/l/a/lamson-1.3.4/examples/myinboxisnotatv/tests/model/addressing_tests.py   lamson(Download)
from nose.tools import *
from lamson.testing import *
from lamson import mail
from config import settings
from app.model import addressing

src/l/a/lamson-1.3.4/examples/myinboxisnotatv/tests/handlers/anonymizer_tests.py   lamson(Download)
from nose.tools import *
from lamson.testing import *
from lamson import mail
from config import settings
from app.model import addressing

src/l/a/lamson-1.3.4/examples/librelist/tests/handlers/bounce_tests.py   lamson(Download)
from email.utils import parseaddr
from lamson import bounce
from config import settings
 
sender = admin_tests.sender

src/l/a/lamson-1.3.4/examples/librelist/tests/handlers/admin_tests.py   lamson(Download)
from nose.tools import *
from lamson.testing import *
from config import settings
import time
from app.model import archive, confirmation

src/l/a/lamson-1.3.4/examples/librelist/app/model/mailinglist.py   lamson(Download)
from webapp.librelist.models import *
from django.db.models import Q
from email.utils import parseaddr
from lamson.mail import MailResponse
from config import settings

src/l/a/lamson-1.3.4/examples/librelist/app/model/bounce.py   lamson(Download)
from lamson import view, encoding, queue
from config import settings
 
 
def mail_to_you_is_bouncing(message):

src/l/a/lamson-1.3.4/examples/librelist/app/model/archive.py   lamson(Download)
from __future__ import with_statement
from lamson import queue
from config import settings
from datetime import datetime
import os

src/s/a/salmon-mail-1/examples/osb/app/handlers/index.py   salmon-mail(Download)
from lamson.routing import route, stateless
import logging
from config import settings
from app.model import post
from markdown import markdown

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next