1 | 2 | 3 | 4 | 5 | 6  Next
All Samples(56604)  |  Call(55959)  |  Derive(0)  |  Import(645)
exit([status])

Exit the interpreter by raising SystemExit(status).
If the status is omitted or None, it defaults to zero (i.e., success).
If the status is numeric, it will be used as the system exit status.
If it is another kind of object, it will be printed and the system
exit status will be one (i.e., failure).

All Samples(56604)  |  Call(55959)  |  Derive(0)  |  Import(645)
No Document.

All Samples(605)  |  Call(20)  |  Derive(0)  |  Import(585)
file(name[, mode[, buffering]]) -> file object

Open a file.  The mode can be 'r', 'w' or 'a' for reading (default),
writing or appending.  The file will be created if it doesn't exist
when opened for writing or appending; it will be truncated when
opened for writing.  Add a 'b' to the mode for binary files.
Add a '+' to the mode to allow simultaneous reading and writing.
If the buffering argument is given, 0 means unbuffered, 1 means line
buffered, and larger numbers specify the buffer size.  The preferred way
to open a file is with the builtin open() function.(more...)

All Samples(448)  |  Call(0)  |  Derive(0)  |  Import(448)
list() -> new empty list
list(iterable) -> new list initialized from iterable's items

All Samples(614)  |  Call(1)  |  Derive(0)  |  Import(613)
file(name[, mode[, buffering]]) -> file object

Open a file.  The mode can be 'r', 'w' or 'a' for reading (default),
writing or appending.  The file will be created if it doesn't exist
when opened for writing or appending; it will be truncated when
opened for writing.  Add a 'b' to the mode for binary files.
Add a '+' to the mode to allow simultaneous reading and writing.
If the buffering argument is given, 0 means unbuffered, 1 means line
buffered, and larger numbers specify the buffer size.  The preferred way
to open a file is with the builtin open() function.(more...)

All Samples(15752)  |  Call(15447)  |  Derive(0)  |  Import(305)
exc_info() -> (type, value, traceback)

Return information about the most recent exception caught by an except
clause in the current stack frame or in an older stack frame.

All Samples(91)  |  Call(0)  |  Derive(0)  |  Import(91)
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

All Samples(1042)  |  Call(0)  |  Derive(0)  |  Import(1042)
list() -> new empty list
list(iterable) -> new list initialized from iterable's items

All Samples(99)  |  Call(0)  |  Derive(0)  |  Import(99)
file(name[, mode[, buffering]]) -> file object

Open a file.  The mode can be 'r', 'w' or 'a' for reading (default),
writing or appending.  The file will be created if it doesn't exist
when opened for writing or appending; it will be truncated when
opened for writing.  Add a 'b' to the mode for binary files.
Add a '+' to the mode to allow simultaneous reading and writing.
If the buffering argument is given, 0 means unbuffered, 1 means line
buffered, and larger numbers specify the buffer size.  The preferred way
to open a file is with the builtin open() function.(more...)

All Samples(159)  |  Call(0)  |  Derive(0)  |  Import(159)
dict() -> new empty dictionary
dict(mapping) -> new dictionary initialized from a mapping object's
    (key, value) pairs
dict(iterable) -> new dictionary initialized as if via:
    d = {}
    for k, v in iterable:
        d[k] = v
dict(**kwargs) -> new dictionary initialized with the name=value pairs
    in the keyword argument list.  For example:  dict(one=1, two=2)

All Samples(2202)  |  Call(1940)  |  Derive(0)  |  Import(262)
getrefcount(object) -> integer

Return the reference count of object.  The count returned is generally
one higher than you might expect, because it includes the (temporary)
reference as an argument to getrefcount().

All Samples(1608)  |  Call(1608)  |  Derive(0)  |  Import(0)
settrace(function)

Set the global debug tracing function.  It will be called on each
function call.  See the debugger chapter in the library manual.

All Samples(1081)  |  Call(1039)  |  Derive(0)  |  Import(42)
_getframe([depth]) -> frameobject

Return a frame object from the call stack.  If optional integer depth is
given, return the frame object that many calls below the top of the stack.
If that is deeper than the call stack, ValueError is raised.  The default
for depth is zero, returning the frame at the top of the call stack.

This function should be used for internal and specialized
purposes only.

All Samples(1046)  |  Call(1039)  |  Derive(0)  |  Import(7)
getfilesystemencoding() -> string

Return the encoding used to convert Unicode filenames in
operating system filenames.

All Samples(982)  |  Call(982)  |  Derive(0)  |  Import(0)
No Document.

All Samples(64)  |  Call(0)  |  Derive(0)  |  Import(64)
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

All Samples(716)  |  Call(686)  |  Derive(0)  |  Import(30)
getdefaultencoding() -> string

Return the current default string encoding used by the Unicode 
implementation.

All Samples(464)  |  Call(0)  |  Derive(0)  |  Import(464)
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(428)  |  Call(428)  |  Derive(0)  |  Import(0)
setprofile(function)

Set the profiling function.  It will be called on each function call
and return.  See the profiler chapter in the library manual.

All Samples(380)  |  Call(328)  |  Derive(0)  |  Import(52)
No Document.

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