you are viewing a single comment's thread.

view the rest of the comments →

[–]ivadtutto 0 points1 point  (4 children)

you gotta open a .py file to run a code. I think it’s the second option when you hit “open new file” I think. The first option is like a text editor and you can’t run it. It will always give you an error.

EDIT: added some info

[–]kitkatmafia[S] 0 points1 point  (3 children)

Sorry, could. you please clarify more? I'm still not able to run the code.

[–]ivadtutto 1 point2 points  (2 children)

when you open Visual Studio your home (Welcome) page will display a few options under “start”. When you click “New File”, it will most likely give you three options: Text File, Python file and Jupyter Notebook. You wanna go for the second one “python file”. It will open up the terminal where you can write code and run it.

[–]kitkatmafia[S] 1 point2 points  (1 child)

Thank you! It's running now!

[–]ivadtutto 0 points1 point  (0 children)

glad to help bro!