All Samples(10900) | Call(10582) | Derive(0) | Import(318)
globals() -> dictionary Return the dictionary containing the current scope's global variables.
All Samples(0) | Call(0) | Derive(0) | Import(0)
int(x[, base]) -> integer Convert a string or number to an integer, if possible. A floating point argument will be truncated towards zero (this does not include a string representation of a floating point number!) When converting a string, use the optional base. It is an error to supply a base when converting a non-string. If base is zero, the proper base is guessed based on the string content. If the argument is outside the integer range a long object will be returned instead.
All Samples(0) | Call(0) | Derive(0) | Import(0)
int(x[, base]) -> integer Convert a string or number to an integer, if possible. A floating point argument will be truncated towards zero (this does not include a string representation of a floating point number!) When converting a string, use the optional base. It is an error to supply a base when converting a non-string. If base is zero, the proper base is guessed based on the string content. If the argument is outside the integer range a long object will be returned instead.
All Samples(3199) | Call(2896) | Derive(0) | Import(303)
User-callable function to create and return a unique temporary file. The return value is a pair (fd, name) where fd is the file descriptor returned by os.open, and name is the filename. If 'suffix' is specified, the file name will end with that suffix, otherwise there will be no suffix. If 'prefix' is specified, the file name will begin with that prefix, otherwise a default prefix is used. (more...)
All Samples(14) | Call(7) | Derive(0) | Import(7)
The (generalized) hypergeometric function is defined by a series where the ratios of successive terms are a rational function of the summation index. When convergent, it is continued analytically to the largest possible domain. The hypergeometric function depends on two vectors of parameters, called the numerator parameters :math:`a_p`, and the denominator parameters :math:`b_q`. It also has an argument :math:`z`. The series definition is .. math ::(more...)
All Samples(11404) | Call(11372) | Derive(0) | Import(32)
filter(function or None, sequence) -> list, tuple, or string Return those items of sequence for which function(item) is true. If function is None, return the items that are true. If sequence is a tuple or string, return the same type, else return a list.
All Samples(1) | Call(0) | Derive(0) | Import(1)
Program:
pyDownTube
Author:
Bonacina Alberto <bonacina.alberto@gmail.com>
Copyright (c) 2011 Bonacina Alberto
This file is part of pyDownTube.
(more...)
All Samples(4) | Call(4) | Derive(0) | Import(0)
Creates the data string which must be RSA-signed in secure requests.
For more details see the documenation on secure AuthSub requests:
http://code.google.com/apis/accounts/docs/AuthSub.html#signingrequests
Args:
http_request: The request being made to the server. The Request's URL
must be complete before this signature is calculated as any changes
to the URL will invalidate the signature.
nonce: str Random 64-bit, unsigned number encoded as an ASCII string in(more...)
All Samples(11) | Call(4) | Derive(0) | Import(7)
Raised when a database operation times out. .. versionadded:: 1.8
All Samples(12) | Call(6) | Derive(0) | Import(6)
Parse a channel mode string.
The function returns a list of lists with three members: sign,
mode and argument. The sign is "+" or "-". The argument is
None if mode isn't one of "b", "k", "l", "v" or "o".
Example:
>>> irclib.parse_channel_modes("+ab-c foo")
[['+', 'a', None], ['+', 'b', 'foo'], ['-', 'c', None]]