Code for two days Python training.
This repository is configured to work with Visual Studio Code and Development Containers. Please make sure to have the following installed and configured:
For more information have a look at: https://code.visualstudio.com/docs/devcontainers/containers
For easy install of Docker, get Docker Desktop. Download it for your OS and follow through the install instructions.
For Visual Studio Code click on the Download button on the website. Follow the instructions to install it on your OS.
When installing the Visual Studio Remote Development Extension Pack click on 'Install' on the website. This should prompt to open Visual Studio Code and show a tab 'Extension: Remote Development'. Click on 'Install' here. Restart the application if necessary.
If you do not know how to clone this repository using git, the simplest way is to click on the green 'Code' button above and then 'Download ZIP'.
Unzip this file. The unzipped folder should be called 'academy-python-training-main'. Move this folder to the desired destination.
Next, open Visual Studio Code. Click on 'File > Open Folder'. Select 'academy-python-training-main'.
You should see a prompt on the bottom right to 'Reopen in Container'. Select this option. Docker Desktop should be started in the background if it's not already running.
You will find the Python files under the workspace directory. Use the file explorer left to select files. To execute a file you can press the play button on the top right. The outputs are shown in the terminal below. (It might take a few seconds for the play button to show up after loading the workspace).