Of course, this could also be done in a separate Python program, but if you're following along it's probably easiest to do in a Python shell.
After loading the MNIST data, we'll set up a Network with 3030 hidden neurons. We do this after importing the Python program listed above, which is named network,