Skip to content
Snippets Groups Projects
Select Git revision
  • f162a0eb61fc191dc54472499ab36bd4e61660f9
  • main default protected
2 results

mc-python-introduction

  • Clone with SSH
  • Clone with HTTPS
  • Python Introduction

    2023W 070128-1 Methodological course - Analyzing Central Europe's Intellectual Heritage

    General Shortcuts

    Ctrl + Shift + X: extension manager

    Ctrl + Shift + P: command palette

    Ctrl + Shift + G: source control view

    Repository Setup

    1. fork this repository in GitLab to have a private copy
    2. open VS Code
    3. clone git repository via command palette: Git: Clone
    • use https and not ssh with your username and password
    • if asked, open cloned repository in a new window
    1. download an image from the internet and add it to this readme
    2. make a git commit via the source control view and push the changes to GitLab

    Python Setup

    1. create virtual environment .venv via command palette: Python: Create environment
    2. install project requirements
    • open a new terminal via menu: (Terminal > New Terminal)
    • verify you are using the virtual environment
    • install dependencies via python packet manager pip install -r requirements.txt
    • list the installed packages via python packet manager pip freeze
    • close the terminal
    1. open the first Jupyter Notebook and install package if needed

    Lesson 1 - Web Resources

    This notebooks gives an introduction how to us data sources from the internet.