Editing Pythonic
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 100: | Line 100: | ||
The python object can be manipulated by python calls like {{Codeline|pycall}} and {{Codeline|pyexec}} without needing to do an explicit conversion. For example | The python object can be manipulated by python calls like {{Codeline|pycall}} and {{Codeline|pyexec}} without needing to do an explicit conversion. For example | ||
{{Code|Octave object that points to a python object|<syntaxhighlight lang="octave" style="font-size:13px" line | {{Code|Octave object that points to a python object|<syntaxhighlight lang="octave" style="font-size:13px" line> | ||
pyexec ("import networkx as nx") | pyexec ("import networkx as nx") | ||
pyexec ("G=nx.complete_graph(10)") | pyexec ("G=nx.complete_graph(10)") |