From 4a6e63b4c471abdf9f45bfabc49e7216745dfbd7 Mon Sep 17 00:00:00 2001 From: IgorTatarnikov Date: Tue, 30 Sep 2025 11:44:39 +0100 Subject: [PATCH] Terminal slides --- slides/interactive_python.qmd | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/slides/interactive_python.qmd b/slides/interactive_python.qmd index ebbd283..7e82cfb 100644 --- a/slides/interactive_python.qmd +++ b/slides/interactive_python.qmd @@ -1,3 +1,28 @@ +## Terminal {.smaller} +:::: {.incremental} +* A text based interface to interact with your operating system +* You can run programs, manage files and folders, install software, etc. +* Many names: + + Command Prompt + + PowerShell + + Terminal + + Shell + + Git Bash + + Anaconda/minforge Prompt +:::: + +## Terminal {.smaller} +:::: {.incremental} +* Typically arguments are separated by spaces +* Named arguments are preceded by `--` or `-` (double or single dash) +* Help is usually available with `-h`, `--help` or `man ` +* Cancel a running command with `Ctrl+C` or `Ctrl+Z` +* `Tab` key to autocomplete commands and file names +* `Up` and `Down` keys to cycle through command history +* `q` (typically) to quit multi-page outputs +* `python` is a program that can be run from the terminal +:::: + ## Ways of working with Python {.incremental} ::: {.incremental} @@ -6,8 +31,6 @@ * `Scripts` (.py) ::: - - ## Using interactive Python (REPL) ::: {.fragment .fade-in}