|
|
Python is a popular language for scientific computing, and great for general-purpose programming as well. Althought lecturers will provide a short introduction to Python, if you are not familiar with it, we strongly recommend to take a look at the first 4 chapters of thePython Tutorial (https://docs.python.org/3.5/tutorial/).
Installing all of its scientific packages individually can be a bit difficult, so we recommend Anaconda, an all-in-one installer. Regardless of how you choose to install it, please make sure you install Python version 3.x (e.g., 3.4 is fine).
We will teach Python using the Jupyter Notebook, a programming environment that runs in a web browser. For this to work you will need a reasonably up-to-date browser. The current versions of the Chrome, Safari and Firefox browsers are all supported (some older browsers, including Internet Explorer version 9 and below, are not).
bash Anaconda3-and then press tab. The name of the file you just downloaded should appear.
yes
and press enter to approve the license. Press enter to approve the default location for the files. Type yes
and press enter to prepend Anaconda to your PATH
(this makes the Anaconda distribution the default Python).Z2Pack
The link for installing Z2Pack is here: http://z2pack.ethz.ch/doc/2.0/tutorial_installation.html. For the school, only the first two parts are relevant ("Installing Z2Pack" and "Installing the tight-binding backend").
Online user: 1 | RSS Feed |