Just started a Python course for beginners (Harvardx) and in the first class the teacher just said: open VSC and type this code. I didn't know where to get it, how to get it, if I needed to install python, how to install it, nothing. Needed to come here to learn that. Thank YOU and screw that teacher.
Dave is my new favorite UA-cam instructor. I started Python with Mosh paid version (the most popular on youtube too) but then switched to Dave's course and never looked back. Why? Mosh is only focused on syntax while Dave walks you through real projects and examples and best practices on how to use the language in real life. Subed. keep them coming!
This was so thorough and helpful! So many tutorials that give direction with the assumption that you know certain things already, but you broke this down perfectly for a beginner. Thank you!
I only install a new version of Python once a year when the new version comes out, but here's a word of caution for all Windows users. I keep forgetting this and having to re-learn it the hard way. Run the setup in Admin mode. Don't take any of the defaults when you understand Python. Click the option whare you choose what to install. Be sure and add Python to your PATH, and install Python for ALL user. Do everything in admin mode. I forgot to do this and wound up having to install and uninstall three times before I finally got it right. Up till now, I have been using Sublime Text for my development, but I saw some new videos about using VS Code. I am going to try it, and this is the reason why I am watching this.
thank you so much! VS code was saying that Python was not found even though I selected the Python interpreter manually but then I followed your steps and what you said, I uninstalled Python then re-installed it with Admin privileges and when i ran the command "py -3 --version" in VS code it finally showed me the version of Python I was using. I highly advise everyone reading my comment to install Python with Admin privileges if you're facing the same problem I was facing when running that command.
At first I thought this will be a next js course video but I understand why python as it is very flexible and more easy to learn programming language which will benefit many people including a lot of beginners as their first choice of programming language. Thank you very much sir.
I do not know if comments are read on old videos, but I have to say the step-by-step guide and your explanations are excellent. I will be liking and subscribing and look forward to learning more.
Thank you so much Dave, I was looking forward to seeing Python tutorials on your chanel, finally my dream came true, please keep making such excellent videos 😊
Dave, I'm 100% sure it gonna be great playlist once again. Thank you! suggestion: Before directly jumping into the fundamentals it would be great to know details (under the hood how python communicates and executes, and how the memory are getting occupied and freed when the variables are used). Kind of 1 therotical video dedicated to this would be helpful to understand more clearly. THANKS IN ADVANCE!
I actually Consumed all your Javascript, and React.js including ur Node.js Tutorials... And I can say ur teachings made me a better Developer... the Timing is perfect was about to jump on Python only to come across ur Python Tutorial for Beginners... I am so excited, I believe u would do justice to this as u did for Javascript... Looking forward to touching on Python frameworks like Django, fast API, and Flask... Thanks, Dave Dray
when I write py -3 --version on my windows(11) . it says py is not recognized as an internal or external command..... i chose command prompt . what to do???
Great content, well presented & explained. As a learner half the battle is getting the confidence to keep going and I was able to follow this video and have it work exactly as shown. Thank you. Also appreciated the information about VS Code and especially using the terminal, which can be a scary place to go for a beginner. Looking forward to completing the whole playlist.
I just started to learn this python thing and noticed that in Python 3.12 Windows version, you also have to use "python" instead of just typing "py". Not sure is it just me but it is what it is.
THANK YOU for this video! I am a mechanical engineer and I have managed to escape both my university studies and my professional career with NOT knowing/learning how to program. My tiny human #1 though, as I look at where the world is going, is unlikely going to be able to pull that off. So, I REALLY appreciate you making this video so that I was able to install Visual Studio Code for tiny human #1, so that tiny human #1 can start programming for real (rather than using block-based programming). One question I have though -- how did you set up your VSCode so that it will use command prompt to compile/run your Python code (rather than using Windows PowerShell)? I tried looking through the settings and it wasn't immediately obvious where and/or how I can set the command prompt as the default. Your help is greatly appreciated. Thank you.
I used to be learning code in python with vs code but I left because I had so much troubles with it. I checked all from the beginning and I find the problem ... Thank to you, I´m getting comfortable with the platform again and I hope I can boost my knowledge . Thank you!
I get this error message when I try to verify my version or type py in the terminal:- path was included, verify that the path is correct and try again. At line:1 char:1 + py -3 --version + ~~ + CategoryInfo : ObjectNotFound: (py :String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundExce ption
This video saved me big time before an assignment was due. After watching I learned more than I anticipated/was supposed to. Either way thanks Dave, I'll be back again.
Python is really nice to look at. I love JS in all of its strangeness, but I am looking forward to learning what a normal programming language feels like.
Good introduction, I've been feeling a bit lost as to which direction to take as of late. I'm still slowly getting through your CSS tutorials, but I feel that I want to try something else as well just in case it doesn't lead to much in terms of future prospects. So I think learning a programming language like Python will be useful as I know it's quite popular and there's lots you can do with it. Looking forward to getting to the stage where I can get past the basics and build some personal projects.
Thanks very much,Sir. Please teach in-depth Python programming to an expert level. I like your teaching and vivid explanation method. I've learned so much from you. Stay Blessed.
I can't seem to verify the Python version using the terminal. I keep getting an error saying: '$' is not recognized as an internal or external command, operable program or batch file. Edit: Never mind, I just realised it's probably a bash command. Typing in the code without the '$' works fine.
Thanks for the upload. However, would prefer a Next js course. Since there are lot of terminologies like SSG, SSR, ISR, etc. which many people find confusing. Request you for the same
Dave thanks for starting this. I am a python programmer and hope that you would at some point teach how to create complex models ourselves and train them like chat GPT
You're welcome! We are a good distance from that right now, but after the fundamentals we can dive into other topics, too. Data Science, ML, AI.. Python does a lot!
Hey Dave , when i m using the "source .venv/Scripts/activate" command the terminal is showing that "'source' is not recognized as an internal or external command, operable program or batch file." How to fix this ?
Thanks, for the tutorial you made it understandable. My question is if i want to make notes for Python or a note-taking app. What and Which app would you suggest, apart from Jupyter which am learning....
A fourth way to run the file (not sure if this works on windows). Place this at the top of the file: #!/usr/bin/env python Then the file can be run directly like an executable with `./hello.py`
is there any complete course like js 8 Hour or other tutorials ? I see some advance stuff in these videos and It's really convenient for me to download the whole video to follow along . the only thing is I always jump back to like and like again cause I really appreciate how valuable these course are. I wish he make a advance course and learn us how to deal with packages like I see in his virtual environment ( request package) cause those stuff are rare and you got to deal with then in web sites. like I had problem how to hide the API key for a program that I wrote , and accidentally I saw it in one of his beginner videos that really helped me a lot.
You can do that with my Node.js course: ua-cam.com/video/f2EqECiTBL8/v-deo.html ..if you are waiting for Django or Flask with Python, we must cover the fundamentals first - but eventually 🚀
Dave and all, when you run a python file I notice that the next line of code in the terminal keeps you in the same directory. In my case, the next line of code takes me back to my home directory. How can I make it so that when running python files, the next lines of code in the terminal keep me in the same directory?
When I updated Python, it placed the newer version in a different location. Should I uninstall and reinstall? When I try to add libraries, it keeps pointing them to the older version. I can just copy my library folder but I don't want to keep doing that.
Thank you! My theme choices: ua-cam.com/users/shortsdp4u1NNFhtE My VS Code icons: ua-cam.com/users/shorts-uhzj-kjfV4 Add font ligatures: ua-cam.com/users/shortsf1HVI5slxms
What an awful mess this 'getting started in VSCode' really is. The majority of the books and videos on Python try to get us to use VSCode, but VSCODE is impossibly clumsy and confusing. It is also very unclear to people who don't have experience what all the options we have to navigate through are doing and why they are necessary. Maybe this is due to Microsoft's monopoly power. They are just forcing a lousy, overcomplex and over-engineered products on defenseless users. The alternatives aren't great but minimally acceptable. Jupyter notebooks is workable though clumsy. PyCharm is awkward and still overcomplicated but a day vs night improvement over VSCode.
Hello, I´m begginer at programming and I want to learn how to code in Python. But when I type in the "cmd" command "py -3 --version" It just says "'py' is not recognized as an internal or external command, operable program or batch file." and I don´t know how to fix it. Any advice please?
Just started a Python course for beginners (Harvardx) and in the first class the teacher just said: open VSC and type this code. I didn't know where to get it, how to get it, if I needed to install python, how to install it, nothing. Needed to come here to learn that. Thank YOU and screw that teacher.
Same here.
same lol and I still don't know how he managed to create a new file by writing "code hello.py" in his terminal
@@zeynab107because he’s in Harvards dev environment
can you please directe to this course link or which platform ?
I'm having issues with power shell. This tutorials ain't working for it. I don't have bash
Dave is my new favorite UA-cam instructor.
I started Python with Mosh paid version (the most popular on youtube too) but then switched to Dave's course and never looked back. Why? Mosh is only focused on syntax while Dave walks you through real projects and examples and best practices on how to use the language in real life. Subed. keep them coming!
There are many other Python courses, but I've been waiting for Dave's Python course.
Thank you!
More to come!
This was so thorough and helpful! So many tutorials that give direction with the assumption that you know certain things already, but you broke this down perfectly for a beginner. Thank you!
Glad it was helpful!
I only install a new version of Python once a year when the new version comes out, but here's a word of caution for all Windows users. I keep forgetting this and having to re-learn it the hard way. Run the setup in Admin mode. Don't take any of the defaults when you understand Python. Click the option whare you choose what to install. Be sure and add Python to your PATH, and install Python for ALL user. Do everything in admin mode. I forgot to do this and wound up having to install and uninstall three times before I finally got it right.
Up till now, I have been using Sublime Text for my development, but I saw some new videos about using VS Code. I am going to try it, and this is the reason why I am watching this.
thank you so much! VS code was saying that Python was not found even though I selected the Python interpreter manually but then I followed your steps and what you said, I uninstalled Python then re-installed it with Admin privileges and when i ran the command "py -3 --version" in VS code it finally showed me the version of Python I was using. I highly advise everyone reading my comment to install Python with Admin privileges if you're facing the same problem I was facing when running that command.
At first I thought this will be a next js course video but I understand why python as it is very flexible and more easy to learn programming language which will benefit many people including a lot of beginners as their first choice of programming language. Thank you very much sir.
Next.js this Friday
@@DaveGrayTeachesCode Really!!!, thank you soo much
Excellent!!!
I do not know if comments are read on old videos, but I have to say the step-by-step guide and your explanations are excellent. I will be liking and subscribing and look forward to learning more.
Thanks!
Thanks Dave! really learned HTML from your channel please please continue this series !
Thanks, will do!
Thank you so much Dave, I was looking forward to seeing Python tutorials on your chanel, finally my dream came true, please keep making such excellent videos 😊
You're very welcome!
Dave, I'm 100% sure it gonna be great playlist once again. Thank you!
suggestion: Before directly jumping into the fundamentals it would be great to know details (under the hood how python communicates and executes, and how the memory are getting occupied and freed when the variables are used). Kind of 1 therotical video dedicated to this would be helpful to understand more clearly.
THANKS IN ADVANCE!
Dave => Real Mentor for JavaScript and python
I actually Consumed all your Javascript, and React.js including ur Node.js Tutorials... And I can say ur teachings made me a better Developer... the Timing is perfect was about to jump on Python only to come across ur Python Tutorial for Beginners... I am so excited, I believe u would do justice to this as u did for Javascript... Looking forward to touching on Python frameworks like Django, fast API, and Flask... Thanks, Dave Dray
Great to hear!
Thanks to the friend who sent me this link. I got the confidence in learning VS with python.
the only tutorial that made me get my head around it. thanks Dave
when I write py -3 --version on my windows(11) . it says py is not recognized as an internal or external command..... i chose command prompt . what to do???
Start over
write python3 --version instead
you are born to be a professor. Too good instructions. Nice
Thank you!
Great content, well presented & explained. As a learner half the battle is getting the confidence to keep going and I was able to follow this video and have it work exactly as shown. Thank you. Also appreciated the information about VS Code and especially using the terminal, which can be a scary place to go for a beginner. Looking forward to completing the whole playlist.
Thank you so much for the support! 💯
I just started to learn this python thing and noticed that in Python 3.12 Windows version, you also have to use "python" instead of just typing "py". Not sure is it just me but it is what it is.
hi sorry but when i use py or python on the terminal it says that it's not recognized as a command?
Thank you. This is one step closer to achieving my goal!!!
THANK YOU for this video!
I am a mechanical engineer and I have managed to escape both my university studies and my professional career with NOT knowing/learning how to program.
My tiny human #1 though, as I look at where the world is going, is unlikely going to be able to pull that off.
So, I REALLY appreciate you making this video so that I was able to install Visual Studio Code for tiny human #1, so that tiny human #1 can start programming for real (rather than using block-based programming).
One question I have though -- how did you set up your VSCode so that it will use command prompt to compile/run your Python code (rather than using Windows PowerShell)?
I tried looking through the settings and it wasn't immediately obvious where and/or how I can set the command prompt as the default.
Your help is greatly appreciated.
Thank you.
I used to be learning code in python with vs code but I left because I had so much troubles with it. I checked all from the beginning and I find the problem ... Thank to you, I´m getting comfortable with the platform again and I hope I can boost my knowledge . Thank you!
You're welcome!
fantastic work. clear concise, many thanks sir! :)
I get this error message when I try to verify my version or type py in the terminal:-
path was included, verify that the path is
correct and try again.
At line:1 char:1
+ py -3 --version
+ ~~
+ CategoryInfo : ObjectNotFound: (py
:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundExce
ption
Same
I've been so skeptical about learning python but since you are d one teaching it, I will learn😋😋
Glad to hear that! Learning Python is a great additional skill even if you already know JavaScript.
@@DaveGrayTeachesCode Thank you so much for everything sir🙏🙏
Man! you are just amazing. Please do not forget Django as well! Thank you!
Thank you!
@@DaveGrayTeachesCode you are a good 10 years ahead of your contemporaries, yes sure...
Thank you Dave... I've been always wanting to learn Python, and who better to learn it from than you? Love It!
Happy to hear that!
you are the best teacher i have ever seen, thanks dave
Thank you!
Thank you Dave! My first PY practice and trial on other lang apart from JS!
You're welcome!
Awesome Video!! Thank you Dave.
Thank you Dave for making it easy
This video saved me big time before an assignment was due. After watching I learned more than I anticipated/was supposed to. Either way thanks Dave, I'll be back again.
Thank you for this tutorial :)
Python is really nice to look at. I love JS in all of its strangeness, but I am looking forward to learning what a normal programming language feels like.
You're going to like it! 💯
Good introduction, I've been feeling a bit lost as to which direction to take as of late. I'm still slowly getting through your CSS tutorials, but I feel that I want to try something else as well just in case it doesn't lead to much in terms of future prospects. So I think learning a programming language like Python will be useful as I know it's quite popular and there's lots you can do with it. Looking forward to getting to the stage where I can get past the basics and build some personal projects.
You got this!
Couldn't wait for your flask tutorial!
I don't have one yet, but after the Python for Beginners series I will get into other topics with Python.
Thanks very much,Sir. Please teach in-depth Python programming to an expert level. I like your teaching and vivid explanation method. I've learned so much from you.
Stay Blessed.
Thank you!
Nice Dave, Keep going !! 🙂
Ooo Dave! You are best in all programing languages
Thank you!
We're going python! Thank You Dave
Right on! 💯
Great! I had to learn Python! Thanks a lot!
You're welcome!
I can't seem to verify the Python version using the terminal. I keep getting an error saying: '$' is not recognized as an internal or external command, operable program or batch file.
Edit: Never mind, I just realised it's probably a bash command. Typing in the code without the '$' works fine.
Samee 😭
cant wait for the next episode of this series
Every week!
many thanks from the bottom of my heart!
You're welcome!
Hi, I ran into a problem when running the last bit and it gives me [Errno 2] No such file or directory. What can be done in this case?
thanks
Thanks for the upload. However, would prefer a Next js course. Since there are lot of terminologies like SSG, SSR, ISR, etc. which many people find confusing. Request you for the same
Coming Friday. I've been doing beginners topics on Tuesdays and more advanced on Fridays.
never thought gabe newell would teach me python
Dave thanks for starting this. I am a python programmer and hope that you would at some point teach how to create complex models ourselves and train them like chat GPT
You're welcome! We are a good distance from that right now, but after the fundamentals we can dive into other topics, too. Data Science, ML, AI.. Python does a lot!
@@DaveGrayTeachesCode yes exactly! Am patiently waiting lol
Thanks Dave, Please continue python programming .. ✋
Will do. Adding to the playlist every week 🚀
What do I type on a mac as Python doesn't work. I followed along and got the version, but after than errors.
amazing, tutorials dave!!, please also make series on node with sequelize (ORM) MySQL
Thank you for the request!
Hey Dave , when i m using the "source .venv/Scripts/activate" command the terminal is showing that "'source' is not recognized as an internal or external command,
operable program or batch file."
How to fix this ?
Thanks, for the tutorial you made it understandable. My question is if i want to make notes for Python or a note-taking app. What and Which app would you suggest, apart from Jupyter which am learning....
how did u create you file lesson01?
I thought I was the only one stuck on this issue
Thank you so much for all your efforts continue the good work ..
You are very welcome!
A fourth way to run the file (not sure if this works on windows).
Place this at the top of the file:
#!/usr/bin/env python
Then the file can be run directly like an executable with `./hello.py`
why does my vs code say that the python interprator is invalid?
Thank you for everything. Also please consider making course on firebase in near future.
You're welcome and thank you for the request!
When I do command shift p and type in python nothing shows up
is there any complete course like js 8 Hour or other tutorials ? I see some advance stuff in these videos and It's really convenient for me to download the whole video to follow along . the only thing is I always jump back to like and like again cause I really appreciate how valuable these course are. I wish he make a advance course and learn us how to deal with packages like I see in his virtual environment ( request package) cause those stuff are rare and you got to deal with then in web sites. like I had problem how to hide the API key for a program that I wrote , and accidentally I saw it in one of his beginner videos that really helped me a lot.
thank you dave we want the rest framework to build api an integrate it with react
You can do that with my Node.js course: ua-cam.com/video/f2EqECiTBL8/v-deo.html ..if you are waiting for Django or Flask with Python, we must cover the fundamentals first - but eventually 🚀
I am using a Mac, and I dont every step until you typed "Python; select interpret" it said "not found.
Dave and all, when you run a python file I notice that the next line of code in the terminal keeps you in the same directory. In my case, the next line of code takes me back to my home directory. How can I make it so that when running python files, the next lines of code in the terminal keep me in the same directory?
This went a long way!!
thank u Dave !
When I updated Python, it placed the newer version in a different location. Should I uninstall and reinstall? When I try to add libraries, it keeps pointing them to the older version. I can just copy my library folder but I don't want to keep doing that.
This article includes how to configure the Python path: blog.enterprisedna.co/where-is-python-installed/
thanks man
awesome tutorial, what theme and icons are being used here? It looks good, appreciate you in advance!
Thank you!
My theme choices: ua-cam.com/users/shortsdp4u1NNFhtE
My VS Code icons: ua-cam.com/users/shorts-uhzj-kjfV4
Add font ligatures: ua-cam.com/users/shortsf1HVI5slxms
Hello, I have a problem in python it does not ring no matter how many videos I watch I can't figure it out, please help.
Just started python it is not running please help me
In my VS Code it doesn't show the terminal
Yeah python! I hope you will show some code with Django 😁
🐍
print("thanks. great help.")
py command doesn't work on bash
i am really struggling with this having to keep deleting and reinstalling vs code
Thank you
Thanks a lot mr gray
Very welcome!
thanks
You're welcome!
I just have iPad how start for the first using python in my iPad ""….
I am bit of disappointed. Python should be come after Nextjs. But whatever, starting to learn the great "Python". Love the way you start.
Advanced topics on Fridays. This Friday= Next.js
INVALID syntax help
can we expect to have more tutorials about python ?
Yes, on Tuesdays as this series continues.
Dave I want to ask that what to do when the terminal says-
File "", line 1
after i wrote quit{} and pressed enter
Google: www.google.com/search?q=File+%22%3Cstdin%3E%22%2C+line+1
@@DaveGrayTeachesCodeThanks Dave it helps out a lot
Is more coming out?
Yes, every Tuesday
God bless you
Oh Python!
I learned Python and then learned Java and now I am a Javascript dev :) :)
Now looks like I need to go back ? LOL
Might be a review for you if you already learned it 😀
Esse vídeo na hora certa, é bizarro do nada estar entendendo tudo em inglês sem legenda XD
Glad I could help!
It could be longer but not clearer
Python finally 🥹
🐍
Johnson Kenneth Rodriguez Christopher Johnson Matthew
Davis Helen Garcia Scott Taylor Jennifer
Gonzalez Daniel Martinez Dorothy Rodriguez Larry
Jaleel Port
What an awful mess this 'getting started in VSCode' really is.
The majority of the books and videos on Python try to get us to use VSCode, but VSCODE is impossibly clumsy and confusing. It is also very unclear to people who don't have experience what all the options we have to navigate through are doing and why they are necessary.
Maybe this is due to Microsoft's monopoly power. They are just forcing a lousy, overcomplex and over-engineered products on defenseless users.
The alternatives aren't great but minimally acceptable. Jupyter notebooks is workable though clumsy. PyCharm is awkward and still overcomplicated but a day vs night improvement over VSCode.
tks
Thanks!
NAO AJUYDOUY
Whenever Mr.Gray's vid comes out! I hit the like! ❤️
Thank you!
@@DaveGrayTeachesCode You're welcome!
Yes. I love his videos on PHP. Being a great teacher is doing God’s work I think
when i try to run the py command its saying bash: py: command not found what should i do and im on windows
thankyou
Welcome
Hello, I´m begginer at programming and I want to learn how to code in Python. But when I type in the "cmd" command "py -3 --version" It just says "'py' is not recognized as an internal or external command,
operable program or batch file." and I don´t know how to fix it. Any advice please?
same issue here, i have 0 idea what to do
@@nick11jl try the python3 instead