r/learnpython • • 1d ago

About running python code in terminal

Guys, I am beginner. I have the python code and have saved in file. Now I want to place the file path in the terminal and run that code. I don't know what should I write before adding the file path? Please help!

5 Upvotes

17 comments sorted by

View all comments

Show parent comment

1

u/South-Put-7948 1d ago

Thank you so much, Yaa it was in Mac and Python3 made it work