Did you know ...
Search Documentation:
Predicate py_dot/4
HOME
DOWNLOAD
SWI-Prolog
Sources/building
Docker images
Add-ons
Browse GIT
DOCUMENTATION
Manual
Packages
FAQ
Command line
PlDoc
Bluffers
▶
Prolog syntax
PceEmacs
HTML generation
License
Publications
Rev 7 Extensions
TUTORIALS
Beginner
▶
Getting started
Learn Prolog Now!
Simply Logical
Debugger
Development tools
Advanced
▶
Modules
Grammars (DCGs)
clp(fd)
Printing messages
PlDoc
Web applications
▶
Web applications
Let's Encrypt!
Pengines
Semantic web
▶
ClioPatria
RDF namespaces
Graphics
▶
XPCE
GUI options
Machine learning
▶
Probabilistic Logic Programming
External collections
▶
Meta level tutorials
For packagers
▶
Linux packages
COMMUNITY
IRC
Forum & mailing list
Blog
News
Report a bug
Submit a patch
Submit an add-on
Roadmap (on GitHub)
External links
Contributing
Code of Conduct
Contributors
SWI-Prolog items
COMMERCIAL
WIKI
Login
View changes
Sandbox
Wiki help
All tags
swipy
janus.pl -- Call Python from Prolog
py_version/0
py_call/1
py_call/2
py_call/3
py_iter/2
py_iter/3
py_setattr/3
py_is_object/1
py_is_dict/1
py_free/1
py_with_gil/1
py_gil_owner/1
py_func/3
py_func/4
py_dot/3
py_dot/4
values/3
keys/2
key/2
items/2
py_shell/0
py_pp/1
py_pp/2
py_pp/3
py_object_dir/2
py_object_dict/2
py_obj_dir/2
py_obj_dict/2
py_type/2
py_isinstance/2
py_module_exists/1
py_hasattr/2
py_import/2
py_module/2
py_initialize/3
py_lib_dirs/1
py_add_lib_dir/1
py_add_lib_dir/2
py_dot
(+ObjRef, +MethAttr, -Ret)
is
det
py_dot
(+ObjRef, +MethAttr, -Ret, +Options)
is
det
Call a method or access an attribute on the object
ObjRef
. The SWI-Prolog implementation is equivalent to
py_call(ObjRef:MethAttr, Return)
. See
py_call/2
for details.
Compatibility
- PIP. See
py_func/3
for details.