Running a simple local HTTP server

  python, windows

I’m following this help page:

I’m running Windows 10 and Python 3.7.8. I created a folder where I want a test environment. Then I changed the directory in the command prompt to that folder and ran the command to start up the server.

C:UsersjpilbeamTestEnvironment>python3 -m http.server

But it didn’t work:

Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.

The alternative port also did not work:

python3 -m http.server 7800

Source: Windows Questions