Python Programming Environment Setup

1. Get Python on your computer (for Windows 11) -

  • Get the Python installer from their website (yellow button).
  • Run the installer, select customized installation.
  • Adjust selections if needed (keep options to install pip and IDLE, and to add to environment variables).
  • Open the Command Prompt (type "cmd" in the Windows search bar).
  • To test it, type "python --version" (without quotes) in Command Prompt. It should show the version.
  • At this point, Python files can be run from the command line. See step 3 below.
  • If it didn't work, look up how to add python to your environment variables.

2. (Simplest) Write and Run code with the IDLE+


3. (Optional) Run python files from the Command Prompt +


4. (Recommended) Set up and use Jupyter Lab (especially for Data Science and ML) +


5. (Advanced Alternative) Use an IDE (for app development)+


Completed