Download Python from: python.org
Verify installation:
Most steps below are run in a terminal (Mac/Linux) or Command Prompt / PowerShell (Windows).
⚡ This is where you will type all commands step by step.
python --version
✅ You should see something like Python 3.10.x or newer.
Create a new folder for your project. Here we use my-project as the project name, but you can choose any name you like (e.g., myapp, student-app).
mkdir my-project
After creating the folder, navigate into it:
cd my-project
This keeps your project clean and dependencies separate from your system Python.
Create it (only once):
python -m venv venv
Activate it (every time you want to run your project):
venv\Scripts\activate
source venv/bin/activate
(venv) in your terminal prompt.Install the packages your project needs. For example:
pip install playwright
playwright install
playwright install downloads browsers (Chromium, Firefox, WebKit).pip install openai
pip install playwright openai
playwright install
Create a new Python file inside your my-project folder. For example, you can name it wem_agent.py, app.py, or any name you prefer (just make sure it ends with .py).
Paste your required code inside the file. To test your setup, you can start with this simple example:
print("Hello, ASM Times – Students Corner!")
Run your Python file in the terminal (replace your_file.py with the actual filename you used):
python your_file.py
✅ You should see this output in your terminal:
Hello, ASM Times – Students Corner!
python3 instead of python:python3 your_file.py