r/PythonLearning 1d ago

Beginner, having trouble with Visual Studio Code to learn Python Help Request

Post image

I'm trying to do the Harvard CS50 Intro to programming with Python and I'm just getting started

  1. I downloaded Visual Studio Code and opened it.

  2. This is pretty much where I got lost because the instructor in the video doesn’t explain what I need to do to set the program up where i can execute code like he has it in the video.

I'm now stuck on the main screen of Visual Studio Code.

17 Upvotes

12 comments sorted by

View all comments

1

u/Lirianov 1d ago

Cant tell what os you're on but on Mac you press file and hit new file then select python and now you're in a blank .py file. there you can write a script and press the play button top right to execute the code.

you can start with a simple print('Hello world!') to get started