Search courses or pages...
Confirm whether Python is already installed, install a current Python 3 release if needed, and verify it from the terminal. You’ll learn what PATH, the Windows py launcher, and python --version are for without getting lost in system details.
Pick a beginner-friendly editor such as VS Code, PyCharm, or IDLE, then connect it to the Python interpreter you installed. You’ll create a project folder and recognize the editor settings that matter most at the start.
Use the command line just enough to move around your computer and run programs. You’ll practice pwd or cd, ls or dir, mkdir, clearing the screen, stopping a running command, and telling when you are in the right folder.
Start Python’s interactive prompt, type small commands, read immediate results, and exit cleanly. You’ll distinguish the terminal prompt from the Python >>> prompt so you know where each kind of command belongs.
Write code in a .py file, save it, and run it again from the terminal or your editor. You’ll trace the path from file to command to output and use print() when a script needs to display a result.
Recognize and fix the most common beginner setup problems: “command not found,” running from the wrong folder, choosing the wrong interpreter, unsaved files, and simple traceback messages. You’ll use error text as clues instead of guessing.
Apply the previous explanations in a guided problem.
Create a virtual environment for a project and select it in your editor. You’ll see why modern Python projects avoid sharing one global package space, even before you install many third-party libraries.
Check your understanding with a short quiz.
Review this chapter with practice based on your mistakes.