Python Language

Python is a very popular programming language. You can easily find Python tutorials on Internet.

For example, here is a very short Python tutorial that we can recommend:

https://cs231n.github.io/python-numpy-tutorial/#python

In your Python script, you can call more than 200 functions to access data and analysis functionality of NeuroExplorer. See Scripting Reference for details.

NeuroExplorer uses Python 2.7.17 and Python 3.7.8 and there is no need to install Python – all the Python files needed for scripting are installed by NeuroExplorer setup program.

We recommend that you use Python 3 for your scripts since Python 2 is being deprecated.

To specify Python version for your scripts, select Script | Python Options menu command and select Python version.

You can convert your existing Python 2 script to Python 3 using Tools | Convert Python 2 Script to Python 3 menu command in NexScript Editor:

../../../_images/nexscript_tools.png