DE | EN

1. Python Installation

System-independent Installation

To install Python system-independently, please follow these steps:

  1. Visit the official Python website at https://www.python.org/downloads/.
  2. Download the latest version of Python for your operating system.
  3. Run the downloaded installer and follow the installation instructions.
  4. Verify the installation by running the following command in the Command Prompt (Windows) or Terminal (Mac and Linux):
  5. Shell
    python3 --version
    Shell
    python --version

Make sure to enable the 'Add Python to PATH' option during the installation. This allows you to execute Python commands such as 'python --version' directly from the Windows Command Prompt.


Visual Studio Code (VS Code) Installation

Windows

  1. Open your web browser and visit the official VS Code website: https://code.visualstudio.com/.
  2. Click the download button for Windows to download the installer.
  3. Run the downloaded installer and follow the on-screen instructions. By default, VS Code is installed in the "Programs" folder.
  4. After completing the installation, you can start Visual Studio Code via the start menu or the desktop shortcut.

macOS

  1. Open your web browser and visit the official VS Code website: https://code.visualstudio.com/.
  2. Click the download button for macOS to download the installer.
  3. Drag the downloaded installer into the "Applications" folder to install Visual Studio Code.
  4. Open the "Applications" folder and locate Visual Studio Code. Double-click it to start the application.

Introduction to Visual Studio Code

Visual Studio Code (VS Code) is a free, open-source code editor developed by Microsoft and available on Windows, macOS, and Linux. Here are some basic concepts and features:

Visual Studio Code is popular among developers due to its ease of use and extensibility, making it well-suited for developing web applications, desktop applications, and much more.


Windows CMD Cheat Sheet

Command Description
dir Lists files and directories in the current directory.
cd directory Changes to the specified directory.
mkdir directory_name Creates a new directory.
del filename Deletes a file.
copy source_file destination Copies a file from one location to another.
ren old_file new_file Renames a file.

macOS Terminal Cheat Sheet

Command Description
ls Lists files and directories in the current directory.
cd directory Changes to the specified directory.
mkdir directory_name Creates a new directory.
rm filename Deletes a file.
cp source_file destination Copies a file from one location to another.
mv old_file new_file Moves or renames a file.



Next Exercise Sheet

...