Skip to content

Latest commit

 

History

History
39 lines (21 loc) · 2.59 KB

README.md

File metadata and controls

39 lines (21 loc) · 2.59 KB

Python Training

Code for two days Python training.

Environment Setup

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

Detailed Setup

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'.

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'.

vs_code_open_folder

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.

reopen_in_container

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).

vs_code_example