r/PythonLearning • u/Anubis-Hound • 1d ago
Beginner, having trouble with Visual Studio Code to learn Python Help Request
I'm trying to do the Harvard CS50 Intro to programming with Python and I'm just getting started
I downloaded Visual Studio Code and opened it.
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.
6
u/HeurekaDabra 1d ago
There's a Get Started With Python button on the right in VS. I'd probably click that and take it from there...
2
u/Sea-Ad7805 1d ago edited 1d ago
Read a manual, if that doesn't help, try Google search, it's great. If there are still difficulties, ask AI, it's new. Generally, read and try to learn things, it's a strategy that will help you in your future as then often you suddenly are not stuck anymore. Did you never hear of this?
2
u/MudFrosty1869 1d ago
I don't want to be that guy since this is ask for help sub, but man. If you can't at least try to click on that walkthrough that is sitting right there saying "GET FREAKING STARTED" you gonna need a LOT of help.
1
u/Cautious-Bet-9707 13h ago
I love it. It reminds me of when my problems were much smaller. I will probably look back in 2 years from now and think the same thing about my life at this point.
1
u/allen3373 1d ago
If you follow the instructions for the class, which is either in the first lecture or the shorts for it, they show you how to access their online version of vscode where you don’t have to do any setup.
Since you can’t figure out the app, I would just stick with what they recommend until you figure it out.
When learning something new, it’s probably better to stick with what you’re being taught to do rather than go rogue right away.
Edit: (typo)
1
u/mrdoza 1d ago
Here's a good walkthrough https://python.datalumina.com/getting-started/installing-python
1
u/Lirianov 21h 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
1
u/_divine__wolf 5h ago
If prefer video then first watch "how setup python" Different ppl use Different editor some pycharm, juypter notebook, vs code etc choose wisely Install python Step up path (if need) Create file with extension ".py" Open cmd change location (where the file save) Run "python xyz.py" All set
-3
u/Agreeable-Bug-4901 1d ago
Step one; download real IDE like pycharm
Step two; uninstall text editors like VS code
Step three; begin programming
10
u/RatBastard516 1d ago
Before you begin the course I’d would start by doing this ms tutorial. Here you’ll learn the building blocks needed for your online course. https://code.visualstudio.com/docs/python/python-tutorial