Python Tutorial for Beginners with VS Code 🐍

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 263

  • @DaNOliveiraDaN
    @DaNOliveiraDaN 7 месяцев назад +143

    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.

    • @kevintaylor8122
      @kevintaylor8122 6 месяцев назад +6

      Same here.

    • @zeynab107
      @zeynab107 6 месяцев назад +11

      same lol and I still don't know how he managed to create a new file by writing "code hello.py" in his terminal

    • @monseneur00economist
      @monseneur00economist 6 месяцев назад

      @@zeynab107because he’s in Harvards dev environment

    • @khalidmohammed6197
      @khalidmohammed6197 4 месяца назад +2

      can you please directe to this course link or which platform ?

    • @bodybypriest3745
      @bodybypriest3745 3 месяца назад

      I'm having issues with power shell. This tutorials ain't working for it. I don't have bash

  • @Piper_Pilot_Ventures
    @Piper_Pilot_Ventures 6 месяцев назад +5

    Hello! I just got python today and started to learn. I was sooooo confuesd about downloading python on virtua; studio code and I am so glad I found this video! You really went into detail, took your time, and went through the steps flaulessly. This really helped me and I hope to learn more from you.
    THANK YOU!

  • @User.2024.1
    @User.2024.1 9 месяцев назад +29

    Dave is my new favorite RUclips 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!

  • @kcell2042
    @kcell2042 Год назад +22

    There are many other Python courses, but I've been waiting for Dave's Python course.
    Thank you!

  • @ArcaneCat4579
    @ArcaneCat4579 16 дней назад +2

    I just started just for fun. I teach myself. This was my first code. print('Enter Name:')
    x = input()
    print ('Enter surname:')
    y = input()
    print ('Enter Father Name:')
    h = input()
    print('Hello, ' + x + ' ' + y + ' ' + 'and' + ' ' + h)

  • @almightyyotto
    @almightyyotto 8 месяцев назад +9

    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.

  • @liiilliees
    @liiilliees 2 месяца назад +2

    The most beginner friendly python course i've watched on YT. Thank you sir and God bless You.

  • @DevTalksTech
    @DevTalksTech 5 месяцев назад +3

    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!

  • @MegaJohn144
    @MegaJohn144 Год назад +3

    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.

    • @supergamer2026
      @supergamer2026 2 месяца назад +1

      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.

  • @Skullisho
    @Skullisho 8 месяцев назад +2

    Man this was nice, im an ICT student but my school doesnt teach code and all of our school computers are busted so self studying with your vids are really helpful

  • @clen9870
    @clen9870 8 месяцев назад +2

    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.

  • @baxtiyortursunov1494
    @baxtiyortursunov1494 Год назад +8

    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 😊

  • @usmaanahmed9450
    @usmaanahmed9450 Год назад +8

    Thanks Dave! really learned HTML from your channel please please continue this series !

  • @xNibsu
    @xNibsu 7 месяцев назад +4

    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.

    • @mila_a0441
      @mila_a0441 6 месяцев назад +1

      hi sorry but when i use py or python on the terminal it says that it's not recognized as a command?

  • @Vorslav
    @Vorslav 8 месяцев назад +2

    the only tutorial that made me get my head around it. thanks Dave

  • @butterfly5572
    @butterfly5572 11 месяцев назад +2

    Thanks to the friend who sent me this link. I got the confidence in learning VS with python.

  • @shivendra3019
    @shivendra3019 Год назад +10

    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.

  • @webdeveloper2795
    @webdeveloper2795 9 месяцев назад +1

    Dave => Real Mentor for JavaScript and python

  • @aidanlanphier6259
    @aidanlanphier6259 2 месяца назад

    I'm just starting learning to code and this is great so far, but I do have one quick note. For those of you who have non-English keyboards, the keyboard shortcuts may different. For example, I'm using a Swedish keyboard and for me the shortcut for new terminal is Ctrl + Shift + ö.

  • @NickSilva-y8r
    @NickSilva-y8r 4 дня назад

    I love your lessons, they are very straight forward and its easy for me to follow along. thank you so much for making these videos. I was wondering though, will you make a new python video based on the newly released python, i downloaded it and it was giving me some issues on VScode. maybe its because i don't know much. not sure really. but if there is no need to make new content that's awesome!
    can't wait to watch more of your videos

  • @ayfedtechnologies
    @ayfedtechnologies 7 месяцев назад

    Thanks for this video, i have decided to check this out instead of going around looking for Python Tutorials somewhere

  • @soumadip_banerjee
    @soumadip_banerjee Год назад +23

    Whenever Mr.Gray's vid comes out! I hit the like! ❤️

  • @georgep779
    @georgep779 6 месяцев назад +1

    you are born to be a professor. Too good instructions. Nice

  • @heinzandberg2716
    @heinzandberg2716 2 месяца назад

    Thank you. This is one step closer to achieving my goal!!!

  • @ranjanrnj6864
    @ranjanrnj6864 Год назад +7

    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!

  • @latashagranger8253
    @latashagranger8253 2 месяца назад

    Thank you for this. Reading through comments after finishing each video.

  • @folajhimie
    @folajhimie Год назад

    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

  • @billwilson4956
    @billwilson4956 5 месяцев назад

    Thank goodness I found your videos before I got way down the road. They are the best.

  • @michaelhudson2375
    @michaelhudson2375 Год назад +3

    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.

  • @gaborbence6943
    @gaborbence6943 4 месяца назад +1

    fantastic work. clear concise, many thanks sir! :)

  • @martinbrault1563
    @martinbrault1563 Год назад

    Thank you Dave... I've been always wanting to learn Python, and who better to learn it from than you? Love It!

  • @robertomazzi-j3h
    @robertomazzi-j3h 7 месяцев назад

    Great way to Teach. I will continue with the next videos. Thank you!

  • @omarakki705
    @omarakki705 Год назад

    you are the best teacher i have ever seen, thanks dave

  • @caropazpm
    @caropazpm Год назад

    This has been the perfect tutoriall for start (I played multiple ones) !! thanks

  • @bastiane215
    @bastiane215 Год назад

    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!

  • @codernerd7076
    @codernerd7076 Год назад

    Awesome to see some Python content as well! it's the nr1/2 most favorite program language every year it seems!

  • @zoltanmolnar6956
    @zoltanmolnar6956 Год назад +1

    Man! you are just amazing. Please do not forget Django as well! Thank you!

  • @Jiv_the_protogen
    @Jiv_the_protogen Год назад

    your literary helping my course in my collage thank you for making this very understandable

  • @cbbcbb6803
    @cbbcbb6803 Год назад +1

    You should use light theme on your tutorials. Some of us are using smaller screens to watch your videos. Dark screens do not display as clearly as light themes do. A large computer monitor may (in fact it does) display dark theme better than small ones do. Besides, the brightness of a large monitor can be adjusted if it is too bright.

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  Год назад +1

      My eyes can't handle the light mode and using light mode would generate far more complaints. This is the first request I've ever received for light mode.

  • @ewenchan1239
    @ewenchan1239 Месяц назад

    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.

  • @akintobby
    @akintobby Год назад +1

    I've been so skeptical about learning python but since you are d one teaching it, I will learn😋😋

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  Год назад +1

      Glad to hear that! Learning Python is a great additional skill even if you already know JavaScript.

    • @akintobby
      @akintobby Год назад

      @@DaveGrayTeachesCode Thank you so much for everything sir🙏🙏

  • @affiliatemarketingnetworkhub
    @affiliatemarketingnetworkhub 8 месяцев назад

    Been trying to get python working but kept failing. It was giving me a headache lol. Your video was Amazing, its now working ok. What a fantastic learning video.

  • @powang8978
    @powang8978 2 месяца назад

    Awesome Video!! Thank you Dave.

  • @leosteiner1161
    @leosteiner1161 22 дня назад

    Thank you really much. Very helpful vid

  • @yw3546
    @yw3546 Год назад

    Couldn't wait for your flask tutorial!

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  Год назад

      I don't have one yet, but after the Python for Beginners series I will get into other topics with Python.

  • @baranip1331
    @baranip1331 3 месяца назад

    Nice Dave, Keep going !! 🙂

  • @newtonwakhungu9597
    @newtonwakhungu9597 Год назад

    Thanks Dave we need the in_depth of python using this editor..Thanks alot

  • @RonaldoRyne
    @RonaldoRyne 6 месяцев назад

    Thank you Dave for making it easy

  • @neetubajwa01
    @neetubajwa01 8 месяцев назад

    Very good lesson explained in a simple way!

  • @idevbrandon
    @idevbrandon Год назад

    Thank you Dave! My first PY practice and trial on other lang apart from JS!

  • @manuelk64
    @manuelk64 Год назад

    Thanks a lot for this course, Mister Dave Gray! 😊

  • @dafiraone
    @dafiraone Год назад

    We're going python! Thank You Dave

  • @CTILET
    @CTILET Год назад

    Ooo Dave! You are best in all programing languages

  • @ogt1407gabriel
    @ogt1407gabriel Год назад

    cant wait for the next episode of this series

  • @kylesanders852
    @kylesanders852 10 месяцев назад

    Bro you explained that so well. Thank you

  • @YigalBZ
    @YigalBZ Год назад

    Thanks for a clear video. Are you going to explain how to install Python packages with VScode?

  • @sdfsfsfd437
    @sdfsfsfd437 Год назад

    Great! I had to learn Python! Thanks a lot!

  • @mml_mokhethea
    @mml_mokhethea Год назад +1

    Thank you very much Mr Dave with your great courses I can't wait for a full course of this 🐍!!

  • @IG7799-c4u
    @IG7799-c4u Год назад

    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.

  • @willyhorizont8672
    @willyhorizont8672 Год назад

    Yo yo yo yoo this is huge !!! Hey Dave do you think python is similar to Javascript, or it is just me ?

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  Год назад

      There are definitely both similarities and differences. Both are very versatile and good to know. The syntax for Python is considered easier by most. 💯🐍

  • @bmehder
    @bmehder Год назад

    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.

  • @mohdiq7124
    @mohdiq7124 Год назад

    Thanks Dave, Please continue python programming .. ✋

  • @dimitrioszafeiropoulos673
    @dimitrioszafeiropoulos673 3 месяца назад

    Thank you for this tutorial :)

  • @SHADOWMONARCH-g4l
    @SHADOWMONARCH-g4l 4 месяца назад +4

    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???

  • @abdulrahmanagboolaosho3582
    @abdulrahmanagboolaosho3582 Год назад

    You dont know how happy I am that you made a python course, please touch frameworks such a django in future tutorials, thank you sooo much dave

  • @primeweird
    @primeweird Год назад

    amazing, tutorials dave!!, please also make series on node with sequelize (ORM) MySQL

  • @CDeeMondays
    @CDeeMondays 7 месяцев назад

    many thanks from the bottom of my heart!

  • @khalidakhan6089
    @khalidakhan6089 Год назад

    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.

  • @okonkwo.ify18
    @okonkwo.ify18 Год назад +1

    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

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  Год назад +2

      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!

    • @okonkwo.ify18
      @okonkwo.ify18 Год назад

      @@DaveGrayTeachesCode yes exactly! Am patiently waiting lol

  • @Borracho-y-loco
    @Borracho-y-loco Год назад

    No Nextjs ? I'm really looking forward to learning next from you 🙏

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  Год назад

      Friday. Beginners topics on Tuesdays and more advanced on Fridays.

  • @e.m.janssen3638
    @e.m.janssen3638 5 месяцев назад

    Thank you, super helpful.

  • @muzhaffarhaydar7928
    @muzhaffarhaydar7928 3 месяца назад

    thanks dave

  • @Maia_iukuridze
    @Maia_iukuridze 2 месяца назад

    When you write those things what do you make? Where's the product? Why nobody shows anything after writing those things what do you get

  • @rohitsingh-xj1ey
    @rohitsingh-xj1ey Год назад

    Thank you so much for all your efforts continue the good work ..

  • @mo7sin711
    @mo7sin711 5 месяцев назад +2

    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

    • @Kwirts
      @Kwirts Месяц назад

      Same

  • @abinashmandal6202
    @abinashmandal6202 Год назад

    Thank you for everything. Also please consider making course on firebase in near future.

  • @PIKACHUHraje
    @PIKACHUHraje 6 месяцев назад +2

    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?

    • @nick11jl
      @nick11jl 4 месяца назад

      same issue here, i have 0 idea what to do

    • @kratosrenascitur7652
      @kratosrenascitur7652 2 месяца назад

      @@nick11jl try the python3 instead

    • @alexkukreja3509
      @alexkukreja3509 2 дня назад

      Try entering "python" instead. "python --version"

  • @Fush2
    @Fush2 Год назад +1

    never thought gabe newell would teach me python

  • @teetanrobotics5363
    @teetanrobotics5363 Год назад

    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

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  Год назад

      Coming Friday. I've been doing beginners topics on Tuesdays and more advanced on Fridays.

  • @deeptib3123
    @deeptib3123 Год назад

    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....

  • @funkdoc2001
    @funkdoc2001 Год назад +1

    More Python content please 🙏

  • @Tebarek
    @Tebarek Год назад

    Great job dave pleas keep up

  • @ThuyLe-sy6zn
    @ThuyLe-sy6zn 9 месяцев назад

    thank u Dave !

  • @IG7799-c4u
    @IG7799-c4u Год назад +1

    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.

  • @josephagbo2908
    @josephagbo2908 Год назад

    This went a long way!!

  • @joshuacoleman6245
    @joshuacoleman6245 23 дня назад

    Ty

  • @MoZeDtheMonkey
    @MoZeDtheMonkey Год назад

    awesome tutorial, what theme and icons are being used here? It looks good, appreciate you in advance!

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  Год назад

      Thank you!
      My theme choices: ruclips.net/user/shortsdp4u1NNFhtE
      My VS Code icons: ruclips.net/user/shorts-uhzj-kjfV4
      Add font ligatures: ruclips.net/user/shortsf1HVI5slxms

  • @avelinecash
    @avelinecash Год назад

    thanks dave!

  • @biswashbura6728
    @biswashbura6728 Год назад

    hey Dave, i really enjoy your contents. its always detailed and easily understandable . I really would like to access the next video in the series . But its shows as unavailable and hidden. Dont know why

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  Год назад +1

      It is not published yet. I have it scheduled for Tuesday.

    • @biswashbura6728
      @biswashbura6728 Год назад

      @@DaveGrayTeachesCode ohhh....thanks for the reply . Really really appreciate your efforts to provide us all with the awesome contents, and that to in such quick successions..🥳🥳🥳. Just gratitude..pure gratitude

  • @Micahkunn
    @Micahkunn 5 месяцев назад

    thanks man

  • @halfninja3499
    @halfninja3499 7 месяцев назад +1

    Anyone able to give me a ahand py isn't working on my windows cmd it give me the error "'py' is not recognized as an internal or external command,
    operable program or batch file." Thanks!

    • @Kwirts
      @Kwirts Месяц назад

      I had to create a new file and then go down to the terminal thing and type python instead of py

  • @letsstudytogether-w6q
    @letsstudytogether-w6q Год назад

    Yeah python! I hope you will show some code with Django 😁

  • @noahatya755
    @noahatya755 Месяц назад

    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

  • @xzex2609
    @xzex2609 Год назад

    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.

  • @khalilbenmeziane8836
    @khalilbenmeziane8836 Год назад

    thank you dave we want the rest framework to build api an integrate it with react

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  Год назад

      You can do that with my Node.js course: ruclips.net/video/f2EqECiTBL8/видео.html ..if you are waiting for Django or Flask with Python, we must cover the fundamentals first - but eventually 🚀

  • @88kaizen888
    @88kaizen888 Год назад

    beginner here thanks for this content .i couldn't download pycharm .....

  • @riteshrawat05
    @riteshrawat05 2 месяца назад

    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 ?

  • @antique-bs8bb
    @antique-bs8bb 12 дней назад

    I don't know where the praise on here is coming from. Nothing on this screen looks anything like the Visual Studio I have.
    I've done Python courses before, i have taught introduction to python courses, but I haven't got a clue what a Terminal window is, how to find it on my Visual Studio (with different tabs) or why I would even need it.
    This is presumably a course for people who have been using Visual Studio for a long time

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  12 дней назад

      To confirm you have the correct "Visual Studio", download Visual Studio Code here: code.visualstudio.com/ ..after you open it, there is a Terminal menu at the top just like there is a File menu. You can choose "New Terminal" from that menu or just press Ctrl+` to open it. Not a skill that takes a long time. I really do try to state all directions clearly and often say the keys I press like "ctrl + backtick" which is Ctrl + `

  •  3 месяца назад

    Why all the tutorials are always over dark interfaces, I can't see any tutorial from my e-ink devices. 😢

  • @nanojr10
    @nanojr10 13 дней назад

    7:09 i installed python left everything default but when i type python --version in the vscode terminal it says python was not found and i also clearl selected the interpreter as you did still no luck HELP PLEASE !!!