How to run code in for Python – what's the best way to execute scripts? or Struggling with how to run

22 Replies, 1665 Views

If you're on Windows, double-clicking a .py file might not work right (it’ll just flash and close).

For how to run code in for python, open cmd, cd to your folder, and type `python filename.py`.

Or use VS Code with the Python extension—it’s way smoother.

Messages In This Thread



Users browsing this thread: 1 Guest(s)