org.python.core
public class __builtin__ extends Object implements ClassDictInit
Field Summary | |
---|---|
static PyString | __doc__zip |
Method Summary | |
---|---|
static PyObject | abs(PyObject o) |
static PyObject | apply(PyObject o, PyObject args) |
static PyObject | apply(PyObject o, PyObject args, PyDictionary kws) |
static PyObject | bool(PyObject o) |
static boolean | callable(PyObject o) |
static char | chr(int i) |
static void | classDictInit(PyObject dict) Internal use only. |
static int | cmp(PyObject x, PyObject y) |
static PyTuple | coerce(PyObject o1, PyObject o2) |
static PyCode | compile(String data, String filename, String type) |
static PyCode | compile(String data, String filename, String type, int flags, boolean dont_inherit) |
static void | delattr(PyObject o, PyString n) |
static PyObject | dir(PyObject o) |
static PyObject | dir() |
static PyObject | divmod(PyObject x, PyObject y) |
static PyEnumerate | enumerate(PyObject seq) |
static PyObject | eval(PyObject o, PyObject globals, PyObject locals) |
static PyObject | eval(PyObject o, PyObject globals) |
static PyObject | eval(PyObject o) |
static void | execfile(String name, PyObject globals, PyObject locals) |
static void | execfile(String name, PyObject globals) |
static void | execfile(String name) |
static void | execfile_flags(String name, PyObject globals, PyObject locals, CompilerFlags cflags) |
static PyObject | filter(PyObject f, PyString s) |
static PyObject | filter(PyObject f, PyObject l) |
static PyObject | getattr(PyObject o, PyString n) |
static PyObject | getattr(PyObject o, PyString n, PyObject def) |
static PyObject | globals() |
static boolean | hasattr(PyObject o, PyString n) |
static PyInteger | hash(PyObject o) |
static PyString | hex(PyObject o) |
static long | id(PyObject o) |
static PyObject | input(PyObject prompt) |
static PyObject | input() |
static PyString | intern(PyString s) |
static boolean | isinstance(PyObject obj, PyObject cls) |
static boolean | issubclass(PyObject derived, PyObject cls) |
static PyObject | iter(PyObject obj) |
static PyObject | iter(PyObject callable, PyObject sentinel) |
static int | len(PyObject o) |
static PyObject | locals() |
static PyObject | map(PyObject[] argstar) |
static PyObject | max(PyObject[] l) |
static PyObject | min(PyObject[] l) |
static PyString | oct(PyObject o) |
static PyFile | open(String name)
Open a file read-only.
|
static PyFile | open(String name, String mode)
Open a file with the specified mode.
|
static PyFile | open(String name, String mode, int bufsize)
Open a file with the specified mode and buffer size.
|
static int | ord(char c) |
static PyObject | pow(PyObject x, PyObject y) |
static PyObject | pow(PyObject xi, PyObject yi, PyObject zi) |
static PyObject | range(int start, int stop, int step) |
static PyObject | range(int n) |
static PyObject | range(int start, int stop) |
static String | raw_input(PyObject prompt) |
static String | raw_input() |
static PyObject | reduce(PyObject f, PyObject l, PyObject z) |
static PyObject | reduce(PyObject f, PyObject l) |
static PyObject | reload(PyModule o) |
static PyObject | reload(PyJavaClass o) |
static PyString | repr(PyObject o) |
static PyFloat | round(double f, int digits) |
static PyFloat | round(double f) |
static void | setattr(PyObject o, PyString n, PyObject v) |
static PySlice | slice(PyObject start, PyObject stop, PyObject step) |
static PySlice | slice(PyObject start, PyObject stop) |
static PySlice | slice(PyObject stop) |
static PyObject | sum(PyObject seq, PyObject result) |
static PyObject | sum(PyObject seq) |
static PyTuple | tuple(PyObject o) |
static PyType | type(PyObject o) |
static char | unichr(int i) |
static PyObject | vars(PyObject o) |
static PyObject | vars() |
static PyObject | xrange(int start, int stop, int step) |
static PyObject | xrange(int n) |
static PyObject | xrange(int start, int stop) |
static PyObject | zip(PyObject[] argstar) |
static PyObject | __import__(String name) |
static PyObject | __import__(String name, PyObject globals) |
static PyObject | __import__(String name, PyObject globals, PyObject locals) |
static PyObject | __import__(String name, PyObject globals, PyObject locals, PyObject fromlist) |
Parameters: name the file to open.
Throws: java.io.IOException
Parameters: name name of the file to open. mode open mode of the file. Use "r", "w", "r+", "w+" and "a".
Throws: java.io.IOException
Parameters: name name of the file to open. mode open mode of the file. Use "r", "w", "r+", "w+" and "a". bufsize size of the internal buffer. Not currently used.
Throws: java.io.IOException