Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 766 Bytes

File metadata and controls

33 lines (22 loc) · 766 Bytes

README TO TEST ANY CODES

See specific README.md file inside each subdirectory, e.g., Video1_SnakeGame

Code Test Environment

  • VS Code IDS (Windows 10 OS)
  • Python virtual environment

Python Virtual Environment Setup

  • Open VS Code IDE and create a project, e.g., SnakeGame.
  • Open a new terminal in the project directory and run this command

For Windows python -m venv .venv OR py -3 -m venv .venv

For Linux/macOS python3 -m venv .venv

Here the virtual environment name is .venv.

  • Activate virtual environment For Windows .\.venv\Scripts\activate

For Linus/macOS source .venv/bin/activate

For more details on "Python environments in VS Code"