Stencila for Python
stable
PythonContext
SqliteContext
Host
HostHttpServer
Value
Stencila for Python
Docs
»
PythonContext
Edit on GitHub
PythonContext
¶
class
stencila.
PythonContext
(
dir=None
)
[source]
¶
runCode
(
code
)
[source]
¶
Run Python code
callCode
(
code
,
inputs={}
)
[source]
¶
Call Python code
spec
= {'base': 'Context', 'aliases': ['py', 'python'], 'name': 'PythonContext'}
¶
Read the Docs
v: stable
Versions
latest
stable
Downloads
pdf
htmlzip
epub
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.