Python Reflectance {RSPython}R Documentation

Information about Python classes and methods

Description

These functions return information about a python class and its methods or the contents of module.

Usage

pythonMethods(obj, all=F)
getSuperClasses(obj, module)
pythonModuleNames(name)

Arguments

obj a character vector giving the name of a Python class, given in the form c("className", "moduleName")
module the name of the module in which to find the class given by obj
all controls how inherited methods and attributes are processed. If TRUE is specified, the inherited methods are also reported. Otherwise, these are ignored and only those methods defined within the class are returned.
name the name of the module for which we are to get the names of the elements in that module.

Details

Value

Note

This will be implemented differently in the future and will make use of the Signature module for Python

Author(s)

Duncan Temple Lang

References

http://www.omegahat.org/RSPython, http://www.python.org

See Also

Examples


 pythonModuleNames("__main__")
 pythonModuleNames("RS")

[Package RSPython Index]