|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.python.core.__builtin__
The builtin module. All builtin functions are defined here
Field Summary | |
static PyString |
__doc__zip
|
Constructor Summary | |
__builtin__()
|
Method Summary | |
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)
|
static PyObject |
abs(PyObject o)
|
static PyObject |
apply(PyObject o,
PyObject args)
|
static PyObject |
apply(PyObject o,
PyObject args,
PyDictionary kws)
|
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 PyComplex |
complex(PyObject real)
|
static PyComplex |
complex(PyObject real,
PyObject imag)
|
static void |
delattr(PyObject o,
PyString n)
|
static PyObject |
dir()
|
static PyObject |
dir(PyObject o)
|
static PyObject |
divmod(PyObject x,
PyObject y)
|
static PyObject |
eval(PyObject o)
|
static PyObject |
eval(PyObject o,
PyObject globals)
|
static PyObject |
eval(PyObject o,
PyObject globals,
PyObject locals)
|
static void |
execfile_flags(String name,
PyObject globals,
PyObject locals,
CompilerFlags cflags)
|
static void |
execfile(String name)
|
static void |
execfile(String name,
PyObject globals)
|
static void |
execfile(String name,
PyObject globals,
PyObject locals)
|
static PyObject |
filter(PyObject f,
PyObject l)
|
static PyObject |
filter(PyObject f,
PyString s)
|
static PyFloat |
float$(PyObject o)
|
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 int |
id(PyObject o)
|
static PyObject |
input()
|
static PyObject |
input(PyObject prompt)
|
static PyInteger |
int$(PyObject o)
|
static PyInteger |
int$(PyString o,
int base)
|
static PyString |
intern(PyString s)
|
static boolean |
isinstance(PyObject obj,
PyClass myClass)
|
static boolean |
issubclass(PyClass subClass,
PyClass superClass)
|
static int |
len(PyObject o)
|
static PyList |
list(PyObject o)
|
static PyObject |
locals()
|
static PyLong |
long$(PyObject o)
|
static PyLong |
long$(PyString o,
int base)
|
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 n)
|
static PyObject |
range(int start,
int stop)
|
static PyObject |
range(int start,
int stop,
int step)
|
static String |
raw_input()
|
static String |
raw_input(PyObject prompt)
|
static PyObject |
reduce(PyObject f,
PyObject l)
|
static PyObject |
reduce(PyObject f,
PyObject l,
PyObject z)
|
static PyObject |
reload(PyJavaClass o)
|
static PyObject |
reload(PyModule o)
|
static PyString |
repr(PyObject o)
|
static PyFloat |
round(double f)
|
static PyFloat |
round(double f,
int digits)
|
static void |
setattr(PyObject o,
PyString n,
PyObject v)
|
static PySlice |
slice(PyObject stop)
|
static PySlice |
slice(PyObject start,
PyObject stop)
|
static PySlice |
slice(PyObject start,
PyObject stop,
PyObject step)
|
static PyString |
str(PyObject o)
|
static PyTuple |
tuple(PyObject o)
|
static PyClass |
type(PyObject o)
|
static char |
unichr(int i)
|
static PyString |
unicode(PyObject v)
|
static PyString |
unicode(PyString v,
String encoding)
|
static PyString |
unicode(PyString v,
String encoding,
String errors)
|
static PyObject |
vars()
|
static PyObject |
vars(PyObject o)
|
static PyObject |
xrange(int n)
|
static PyObject |
xrange(int start,
int stop)
|
static PyObject |
xrange(int start,
int stop,
int step)
|
static PyObject |
zip(PyObject[] argstar)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static PyString __doc__zip
Constructor Detail |
public __builtin__()
Method Detail |
public static void classDictInit(PyObject dict)
public static PyObject abs(PyObject o)
public static PyObject apply(PyObject o, PyObject args)
public static PyObject apply(PyObject o, PyObject args, PyDictionary kws)
public static boolean callable(PyObject o)
public static char unichr(int i)
public static char chr(int i)
public static int cmp(PyObject x, PyObject y)
public static PyTuple coerce(PyObject o1, PyObject o2)
public static PyCode compile(String data, String filename, String type)
public static PyComplex complex(PyObject real, PyObject imag)
public static PyComplex complex(PyObject real)
public static void delattr(PyObject o, PyString n)
public static PyObject dir(PyObject o)
public static PyObject dir()
public static PyObject divmod(PyObject x, PyObject y)
public static PyObject eval(PyObject o, PyObject globals, PyObject locals)
public static PyObject eval(PyObject o, PyObject globals)
public static PyObject eval(PyObject o)
public static void execfile(String name, PyObject globals, PyObject locals)
public static void execfile_flags(String name, PyObject globals, PyObject locals, CompilerFlags cflags)
public static void execfile(String name, PyObject globals)
public static void execfile(String name)
public static PyObject filter(PyObject f, PyString s)
public static PyObject filter(PyObject f, PyObject l)
public static PyFloat float$(PyObject o)
public static PyObject getattr(PyObject o, PyString n)
public static PyObject getattr(PyObject o, PyString n, PyObject def)
public static PyObject globals()
public static boolean hasattr(PyObject o, PyString n)
public static PyInteger hash(PyObject o)
public static PyString hex(PyObject o)
public static int id(PyObject o)
public static PyObject input(PyObject prompt)
public static PyObject input()
public static PyInteger int$(PyString o, int base)
public static PyInteger int$(PyObject o)
public static PyString intern(PyString s)
public static boolean isinstance(PyObject obj, PyClass myClass)
public static boolean issubclass(PyClass subClass, PyClass superClass)
public static int len(PyObject o)
public static PyList list(PyObject o)
public static PyObject locals()
public static PyLong long$(PyObject o)
public static PyLong long$(PyString o, int base)
public static PyObject map(PyObject[] argstar)
public static PyObject max(PyObject[] l)
public static PyObject min(PyObject[] l)
public static PyString oct(PyObject o)
public static PyFile open(String name) throws IOException
name
- the file to open.
IOException
public static PyFile open(String name, String mode) throws IOException
name
- name of the file to open.mode
- open mode of the file. Use "r", "w", "r+", "w+" and "a".
IOException
public static PyFile open(String name, String mode, int bufsize) throws IOException
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.
IOException
public static final int ord(char c)
public static PyObject pow(PyObject x, PyObject y)
public static PyObject pow(PyObject xi, PyObject yi, PyObject zi)
public static PyObject range(int start, int stop, int step)
public static PyObject range(int n)
public static PyObject range(int start, int stop)
public static String raw_input(PyObject prompt)
public static String raw_input()
public static PyObject reduce(PyObject f, PyObject l, PyObject z)
public static PyObject reduce(PyObject f, PyObject l)
public static PyObject reload(PyModule o)
public static PyObject reload(PyJavaClass o)
public static PyString repr(PyObject o)
public static PyFloat round(double f, int digits)
public static PyFloat round(double f)
public static void setattr(PyObject o, PyString n, PyObject v)
public static PySlice slice(PyObject start, PyObject stop, PyObject step)
public static PySlice slice(PyObject start, PyObject stop)
public static PySlice slice(PyObject stop)
public static PyString str(PyObject o)
public static PyString unicode(PyObject v)
public static PyString unicode(PyString v, String encoding)
public static PyString unicode(PyString v, String encoding, String errors)
public static PyTuple tuple(PyObject o)
public static PyClass type(PyObject o)
public static PyObject vars(PyObject o)
public static PyObject vars()
public static PyObject xrange(int start, int stop, int step)
public static PyObject xrange(int n)
public static PyObject xrange(int start, int stop)
public static PyObject zip(PyObject[] argstar)
public static PyObject __import__(String name)
public static PyObject __import__(String name, PyObject globals)
public static PyObject __import__(String name, PyObject globals, PyObject locals)
public static PyObject __import__(String name, PyObject globals, PyObject locals, PyObject fromlist)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |