Windows powershell

How to execute python code in windows powershell in sublime text? It is not running on windows powershell. Why?

hey @Spartan_online ,
follow the steps :

  1. Move to the directory in which you have code file with command
    cd path\to\directory

  2. Execute your code with
    python file.py

It will execute you code.
I hope this would have helped you.
Thank You and Happy Learning :slightly_smiling_face:.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.