public class __builtin__
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static PyString |
__doc__zip |
Constructor and Description |
---|
__builtin__() |
Modifier and Type | Method and Description |
---|---|
static PyObject |
__import__(java.lang.String name) |
static PyObject |
__import__(java.lang.String name,
PyObject globals) |
static PyObject |
__import__(java.lang.String name,
PyObject globals,
PyObject locals) |
static PyObject |
__import__(java.lang.String name,
PyObject globals,
PyObject locals,
PyObject fromlist) |
static PyObject |
__import__(java.lang.String name,
PyObject globals,
PyObject locals,
PyObject fromlist,
int level) |
static PyObject |
abs(PyObject o) |
static PyObject |
apply(PyObject o) |
static PyObject |
apply(PyObject o,
PyObject args) |
static PyObject |
apply(PyObject o,
PyObject args,
PyDictionary kws) |
static boolean |
callable(PyObject obj) |
static char |
chr(int i) |
static int |
cmp(PyObject x,
PyObject y) |
static PyTuple |
coerce(PyObject o1,
PyObject o2) |
static void |
delattr(PyObject obj,
PyObject name) |
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(java.lang.String name,
PyObject globals,
PyObject locals,
CompilerFlags cflags) |
static void |
execfile(java.lang.String name) |
static void |
execfile(java.lang.String name,
PyObject globals) |
static void |
execfile(java.lang.String name,
PyObject globals,
PyObject locals) |
static void |
fillWithBuiltins(PyObject dict) |
static PyObject |
filter(PyObject func,
PyObject seq) |
static PyObject |
filterBaseString(PyObject func,
PyBaseString seq,
PyType stringType) |
static PyObject |
filterTuple(PyObject func,
PyTuple seq) |
static PyObject |
getattr(PyObject obj,
PyObject name) |
static PyObject |
getattr(PyObject obj,
PyObject nameObj,
PyObject def) |
static PyObject |
globals() |
static boolean |
hasattr(PyObject obj,
PyObject nameObj) |
static PyInteger |
hash(PyObject o) |
static PyString |
hex(PyObject o) |
static long |
id(PyObject o) |
static PyObject |
input() |
static PyObject |
input(PyObject prompt) |
static PyString |
intern(PyObject obj) |
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 obj) |
static PyObject |
locals() |
static PyObject |
map(PyObject[] argstar) |
static PyString |
oct(PyObject o) |
static int |
ord(PyObject c)
Built-in Python function ord() applicable to the string-like types
str ,
bytearray , unicode . |
static PyObject |
pow(PyObject x,
PyObject y) |
static PyObject |
pow(PyObject x,
PyObject y,
PyObject z) |
static PyObject |
range(PyObject n) |
static PyObject |
range(PyObject start,
PyObject stop) |
static PyObject |
range(PyObject ilow,
PyObject ihigh,
PyObject istep) |
static java.lang.String |
raw_input()
Implementation of
raw_input() built-in function using the console directly. |
static java.lang.String |
raw_input(PyObject prompt)
Implementation of
raw_input(prompt) built-in function using the console
indirectly via sys.stdin and sys.stdin . |
static java.lang.String |
raw_input(PyObject prompt,
PyObject file)
Companion to
raw_input built-in function used when the interactive interpreter
is directed to a file. |
static PyObject |
reduce(PyObject f,
PyObject l) |
static PyObject |
reduce(PyObject f,
PyObject l,
PyObject z) |
static PyObject |
reload(PyModule o) |
static PyObject |
reload(PyObject o) |
static PyObject |
reload(PySystemState o) |
static PyString |
repr(PyObject o) |
static PyObject |
reversed(PyObject seq) |
static void |
setattr(PyObject obj,
PyObject name,
PyObject value) |
static PyObject |
sum(PyObject seq) |
static PyObject |
sum(PyObject seq,
PyObject result) |
static PyType |
type(PyObject o) |
static int |
unichr(int i) |
static int |
unichr(PyObject obj) |
static PyObject |
vars() |
static PyObject |
vars(PyObject o) |
static PyObject |
zip() |
static PyObject |
zip(PyObject[] argstar) |
public static PyString __doc__zip
public static void fillWithBuiltins(PyObject dict)
public static PyObject apply(PyObject o, PyObject args, PyDictionary kws)
public static boolean callable(PyObject obj)
public static int unichr(PyObject obj)
public static int unichr(int i)
public static char chr(int i)
public static PyObject dir()
public static void execfile_flags(java.lang.String name, PyObject globals, PyObject locals, CompilerFlags cflags)
public static void execfile(java.lang.String name, PyObject globals)
public static void execfile(java.lang.String name)
public static PyObject filterBaseString(PyObject func, PyBaseString seq, PyType stringType)
public static PyObject globals()
public static long id(PyObject o)
public static PyObject input()
public static int len(PyObject obj)
public static PyObject locals()
public static final int ord(PyObject c) throws PyException
str
,
bytearray
, unicode
.c
- string-like object of length 1PyException
- TypeError
if not a string-like typepublic static java.lang.String raw_input(PyObject prompt, PyObject file)
raw_input
built-in function used when the interactive interpreter
is directed to a file.prompt
- to issue at console before readfile
- a file-like object to read frompublic static java.lang.String raw_input(PyObject prompt)
raw_input(prompt)
built-in function using the console
indirectly via sys.stdin
and sys.stdin
.prompt
- to issue at console before readpublic static java.lang.String raw_input()
raw_input()
built-in function using the console directly.public static PyObject reload(PySystemState o)
public static PyObject vars()
public static PyObject zip()
public static PyObject __import__(java.lang.String name)
public static PyObject __import__(java.lang.String name, PyObject globals, PyObject locals)
public static PyObject __import__(java.lang.String name, PyObject globals, PyObject locals, PyObject fromlist)