Uses of Class
sanskrit.PyModule
Packages that use PyModule
-
Uses of PyModule in sanskrit
Modifier and TypeMethodDescriptionA builtin module (math, json, or one added byInterp.addModule(sanskrit.PyModule)), or null.PyModule.put(String fn, Builtin.Fn body) Adds a function written in Java, callable asname.fn(...)from Python.Adds a constant built from plain Java values: aMapwith String keys becomes adict(in the order of the map), aListalist, aStringastr.Adds a constant string, readable asname.constant.PyModule.putStringMap(String constant, Map<String, String> values) Adds a constantdictof strings, in the order of the map.