Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(36)  |  Call(36)  |  Derive(0)  |  Import(0)

src/h/t/HTPC-Manager-HEAD/libs/sqlobject/col.py   HTPC-Manager(Download)
if mxdatetime_available:
    if hasattr(DateTime, "Time"):
        DateTimeType = type(DateTime.now())
        TimeType = type(DateTime.Time())
    else: # Zope
    def now():
        if default_datetime_implementation == DATETIME_IMPLEMENTATION:
            return datetime.datetime.now()
        elif default_datetime_implementation == MXDATETIME_IMPLEMENTATION:
            return DateTime.now()

src/s/q/SQLObject-1.6.0b1dev-r4713/sqlobject/col.py   SQLObject(Download)
if mxdatetime_available:
    if hasattr(DateTime, "Time"):
        DateTimeType = type(DateTime.now())
        TimeType = type(DateTime.Time())
    else: # Zope
    def now():
        if default_datetime_implementation == DATETIME_IMPLEMENTATION:
            return datetime.datetime.now()
        elif default_datetime_implementation == MXDATETIME_IMPLEMENTATION:
            return DateTime.now()

src/a/t/atreal.filecart-1.0.0rc1/atreal/filecart/browser/filecart.py   atreal.filecart(Download)
            comment = dict(
                user = user,
                date = DateTime.now(),
                comment = self.request.form['filecart_download_comment'],)
            filecartcommentsutility = getUtility(interfaces.IFileCartCommentsUtility)