Video summary
برنامهنویسی به زبان پایتون | Operating Systems
Main summary
Key takeaways
Main ideas / concepts
Purpose of an Operating System (OS)
An operating system (OS) is essential software that:
- Communicates with the computer’s hardware
- Manages and allocates hardware resources to different components
- Serves as the core relationship layer between the user and the physical device
Common OS examples discussed
macOS (Mac)
- Apple computers (“Macs”)
- Framed as a combination of:
- A Windows-like friendly user interface (UX)
- The benefits of Linux, described via Unix-like behavior (explained later)
Linux
- Open source, meaning its code is publicly available (presented as free)
- Programmer-oriented, suited for professional/technical work—especially lower-level/hardware-adjacent work
- Contains many “distributions” (flavors) built from the same core
Windows
- Included mainly as a contrasting case
- Its command line experience is described as not very programmer-friendly compared to Unix-like systems
- The video emphasizes alternatives to avoid relying on Windows’ native command-line approach
Unix-like alignment and why it matters for coding
- macOS and Linux are both Unix-based
- Because of that, they use a similar terminal / command-line interface concept
- The video’s key point: if you learn one Unix-like terminal, that skill transfers to the others
Windows Subsystem for Linux (WSL)
WSL is presented as a way to get Linux-like capabilities inside Windows without:
- Installing a full virtual machine
- Installing Linux separately
WSL provides access to Linux kernel capabilities within Windows, with the goal of a near-identical command-line experience to Linux/macOS terminals.
Guidance on choosing an OS for a Python setup
OS choice affects tool access and workflow, but shouldn’t limit your overall path—your route will just differ. Recommendations depend on experience and budget:
- Beginners / not much experience
- Go with Linux
- Warning: Linux can be frustrating at first due to a steeper learning curve
- If you have money
- Recommend buying/using macOS (specifically a Mac laptop) for work
- If you have good experience (especially with Linux before)
- Recommend Linux again (or Mac if you can afford it)
- If Mac is too expensive and you’re on Windows
- Use WSL to get a Linux-like terminal experience
Key course methodology / learning strategy (terminal-first)
The course emphasizes a workflow where:
- “Everything goes into the terminal”
Claimed benefit:
- Terminal knowledge transfers across OSs (Linux, macOS, and Windows via WSL)
- If you switch systems later, your terminal experience remains useful
Why the course advises avoiding native Windows CLI
- Windows command line is described as not Unix-like, making it less useful for this programming approach
- The video mentions PowerShell as the common recommendation for Windows command environments, but still argues against relying on Windows’ native CLI for this learning path
Detailed bullet list of implied instructions / approach
-
Understand what an OS does
- Learn that an OS:
- Connects you to hardware
- Allocates/manages resources
- Learn that an OS:
-
Pick an OS based on your situation
- If you are a beginner: choose Linux
- If you have the budget: choose macOS (Mac laptop / macOS for work)
- If you already have Linux experience: choose Linux
- If you’re on Windows and Mac is expensive: use WSL
-
Use WSL if choosing Windows
- Install/enable WSL to access the Linux terminal and kernel inside Windows
- Follow later sessions for the exact setup and terminal access steps
-
Learn terminal access for the OS you chose
- In upcoming sessions, you will learn:
- How to open/access the terminal on your chosen OS
- How macOS and Linux terminals look and relate
- How WSL terminal access works in Windows
- In upcoming sessions, you will learn:
-
Perform learning via the terminal
- Use the terminal-based workflow as the primary environment
- Reason: terminal commands and behavior will be more consistent across:
- Unix-like terminals (macOS/Linux)
- WSL terminal in Windows
-
Carry terminal knowledge to other systems
- Later OS switching won’t break your understanding because the terminal approach is transferable
Speakers / sources featured (as mentioned)
- Speaker / instructor (not named in subtitles)
- Linus Torvalds (credited as creator of Linux; also said to be creator of GitHub per the subtitles)
- Apple (macOS attributed to Apple computers)
- Microsoft (Windows and WSL attributed to Microsoft)