Did I find the right examples for you? yes no

All Samples(21)  |  Call(0)  |  Derive(0)  |  Import(21)
int(x=0) -> int or long
int(x, base=10) -> int or long

Convert a number or string to an integer, or return 0 if no arguments
are given.  If x is floating point, the conversion truncates towards zero.
If x is outside the integer range, the function returns a long instead.

If x is not a number or if base is given, then x must be a string or
Unicode object representing an integer literal in the given base.  The
literal can be preceded by '+' or '-' and be surrounded by whitespace.(more...)

src/w/s/WsgiDAV-1.1.0/wsgidav/samples/virtual_dav_provider.py   WsgiDAV(Download)
    def getCreationDate(self):
        statresults = os.stat(self.filePath)
        return statresults[stat.ST_CTIME]      
    def getDisplayInfo(self):
        return {"type": "Content file"}

src/w/s/WsgiDAV-1.1.0/wsgidav/samples/dav_provider_tools.py   WsgiDAV(Download)
    def getCreationDate(self):
        statresults = os.stat(self.filePath)
        return statresults[stat.ST_CTIME]      
    def getDisplayInfo(self):
        return {"type": "File"}

src/w/s/wsgidav-HEAD/wsgidav/samples/virtual_dav_provider.py   wsgidav(Download)
    def getCreationDate(self):
        statresults = os.stat(self.filePath)
        return statresults[stat.ST_CTIME]      
    def getDisplayInfo(self):
        return {"type": "Content file"}

src/w/s/wsgidav-HEAD/wsgidav/samples/dav_provider_tools.py   wsgidav(Download)
    def getCreationDate(self):
        statresults = os.stat(self.filePath)
        return statresults[stat.ST_CTIME]      
    def getDisplayInfo(self):
        return {"type": "File"}

src/l/i/lib-pyFreenet-staging-HEAD/fcp/freenetfs.py   lib-pyFreenet-staging(Download)
            'atime'  : info[stat.ST_ATIME],
            'mtime'  : info[stat.ST_MTIME],
            'ctime'  : info[stat.ST_CTIME],
            }
 
        statrec[stat.ST_ATIME] = atime
        statrec[stat.ST_MTIME] = atime
        statrec[stat.ST_CTIME] = atime
 
        # throw remaining keywords into instance's attribs
            self[stat.ST_MTIME] = val
        elif attr == 'ctime':
            self[stat.ST_CTIME] = val
 
        elif attr == 'data':

src/s/h/shastity-HEAD/src/shastity/filesystem.py   shastity(Download)
        props['atime']               = statinfo[stat.ST_ATIME]
        props['mtime']               = statinfo[stat.ST_MTIME]
        props['ctime']               = statinfo[stat.ST_CTIME]
 
        return metadata.FileMetaData(props=props)

src/l/o/LODGrefine-HEAD/lod2-google-refine/extensions/jython/module/MOD-INF/lib/jython/os.py   LODGrefine(Download)
      ('st_atime', _stat.ST_ATIME),
      ('st_mtime', _stat.ST_MTIME),
      ('st_ctime', _stat.ST_CTIME),
    )
 

src/o/p/openvault-core-HEAD/hydra-jetty/webapps/media/WEB-INF/lib/Lib/os.py   openvault-core(Download)
      ('st_atime', _stat.ST_ATIME),
      ('st_mtime', _stat.ST_MTIME),
      ('st_ctime', _stat.ST_CTIME),
    )
 

src/l/f/lfm-2.3/lfm/files.py   lfm(Download)
    else:
        return (st[stat.ST_NLINK], st[stat.ST_UID], st[stat.ST_GID],
                st[stat.ST_ATIME], st[stat.ST_MTIME], st[stat.ST_CTIME],
                st[stat.ST_DEV], st[stat.ST_INO])
 

src/p/y/pyJasper-HEAD/pyjasper/backend/lib/Lib/os.py   pyJasper(Download)
      ('st_atime', _stat.ST_ATIME),
      ('st_mtime', _stat.ST_MTIME),
      ('st_ctime', _stat.ST_CTIME),
    )
 

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