Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)
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/p/y/pyant-0.0.5/pyant/extensions/file.py   pyant(Download)
        'S_IWRITE' : stat.S_IWRITE,
        'S_IEXEC' : stat.S_IEXEC,
        'UF_NODUMP' : stat.UF_NODUMP,
        'UF_APPEND' : stat.UF_APPEND,

src/f/i/files-1.1.1/files.py   files(Download)
    def chflags(self, *flags):
        s = 0
        if "no dump" in flags:
            s |= stat.UF_NODUMP

src/o/v/ovirt-shell-   ovirt-shell(Download)
                 stat.S_IRUSR |
                 stat.S_IWUSR |
    def write_config_file(self):

src/a/t/attic-HEAD/attic/testsuite/archiver.py   attic(Download)
        os.mkfifo(os.path.join(self.input_path, 'fifo1'))
        if has_lchflags:
            os.lchflags(os.path.join(self.input_path, 'flagfile'), stat.UF_NODUMP)
    def test_basic_functionality(self):