79383206

Date: 2025-01-24 04:14:54
Score: 0.5
Natty:
Report link

for running a python program or any program for that matter you have a create and save a file containing the code

new file

save a file

create

program

open terminal

execute

without saving a file be it any programming language, you can not execute it,

also to run a python open any terminal in any directory and type => python 'path\to\file.py', this executes the code if python is installed and correctly setup, also the file.py exists and the path is correct

using visual studio is one of the ways to create, save and execute python programs

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Daksh Rawal