.venv and practice-project.
1. Save a small helper
Open a plain-text editor, such as Notepad on Windows or Text Editor on Ubuntu. Create a new file and paste the complete code below. Save it in the outer tutorial folder asinspect_greeting.py.
On Windows, select All files in Notepad’s Save dialog so the filename does not become inspect_greeting.py.txt. This is a Python file, not a Word document. You do not need to understand every line before running it.
local:peoplebot-practice is the label we have chosen for this local repository. It is not a web address, password, or instruction to upload the project.
2. Run it
Windows PowerShell:3. Check the result
You should see two sections:
A
blob is Git’s term for a stored file’s contents. The full commit codes will be long and different from one another. You do not need to memorize them; software records and reuses them.
A PeopleBot State reference answers three questions: which repository, which saved version, and optionally which file? This is more precise than “use the latest file,” which can mean something different tomorrow.
If you get stuck
- Python cannot open the helper: check its name and that it is beside
practice-project, not inside it. - Python reports a syntax error: compare the saved code with the complete block, including indentation.
- The previous version cannot be found: complete both commits in lesson 2.
- “No module named peoplebot”: use the virtual environment’s Python shown above.