Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
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/pyroTorrent-HEAD/pyrotorrent.py   pyroTorrent(Download)
app.config.from_pyfile('flask-config.py')
 
from config import FILE_BLOCK_SIZE, BACKGROUND_IMAGE, \
        USE_AUTH, ENABLE_API, rtorrent_config, torrent_users, USE_OWN_HTTPD, \
        CACHE_TIMEOUT
#        f_ret = env['wsgi.file_wrapper'](f, FILE_BLOCK_SIZE)
#    else:
    f_ret = iter(lambda: f.read(FILE_BLOCK_SIZE), '')
 
 

src/p/y/pyroTorrent-HEAD/lib/helper.py   pyroTorrent(Download)
 
# pyro imports
from config import FILE_BLOCK_SIZE, BACKGROUND_IMAGE, \
        USE_AUTH, ENABLE_API, rtorrent_config, torrent_users
from lib.config_parser import parse_config_part, parse_user_part, \