You will be learning the basics of programming with Python.
We will describe the following steps to get started:
For the first two steps: follow the instructions fromand
this tutorial,
which will tell you how to install Python itself and also
Visual Studio Code
, an editor to write Python code in.
The following page shows you how to install a Python package. You will need this package during the first 9 weeks of the start semester.
You should have Python already installed.
Furthermore miniconda
or anaconda
are not required. Feel free to uninstall these applications if you don’t know what these do.
python -m pip install fhict-cb-01
on MacOS and *Nix or
py -m pip install fhict-cb-01
on some Windows Python installs.
If you get an error as follows : ModuleNotFoundError: No module named 'fhict_cb_01'"
Make sure that you installed the FHICT Python package in the same environment that you are trying to run it in. In Visual Studio Code check the bottom of the window and check the interpreter. You may have multiple python environments on your computer and you might have installed the package in another environment. Also make sure that installing the pip package as above did not give an error message.