Python Tutorials
These tutorials teach you how to build NEURON models in Python, progressing from the basics to a complete network simulation. If you are new to NEURON, start with the Scripting Basics tutorial, then work through the Ball-and-Stick series.
A quick introduction for Python users new to NEURON: importing the module, creating sections, and running a simulation.
How to run Python scripts with NEURON, access HOC from Python, and use NEURON’s core objects.
Basic Tutorials
Ball-and-Stick Tutorial
Build a biophysically detailed neuron model step by step — from a single compartment to a multi-cell ring network:
Single compartment — create a soma with Hodgkin–Huxley channels
Add dendrite — attach a dendrite and observe signal propagation
Instrumentation — record, plot, and analyze results
Ring network — connect multiple cells into a network