--- title: Tutorial 01 --- ## Miniforge Install [Miniforge](https://github.com/conda-forge/miniforge) ```{admonition} Installation Suggested to use "conda" as target directory. ``` Conda configuration: ``` conda config --set auto_activate_base false ``` Create the `pta` enviroment: ``` conda create -n pta python=3.11 ``` Activate the enviroment and install the Jupyter package ``` conda activate pta conda install jupyter ``` --- ## Python Interpreter Open a console/terminal: ``` > python -V > python ``` Enter some Python code: ```python import sys print(f"Python version: {sys.version}") ``` `Control-D` to exit --- ## VS Code Install [VS Code](http://code.visualstudio.com/) Install the following VS Code extension: - [Python Extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-python.python) Create a Python file (e.g. `demo.py`) with the same codes as above and run the Python script. {{page_break}}