Python Tutorial for Beginners with VS Code 🐍

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

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

  • @DaNOliveiraDaN
    @DaNOliveiraDaN 5 месяцев назад +97

    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 4 месяца назад +6

      Same here.

    • @zeynab107
      @zeynab107 4 месяца назад +10

      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 3 месяца назад

      @@zeynab107because he’s in Harvards dev environment

    • @khalidmohammed6197
      @khalidmohammed6197 Месяц назад +1

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

    • @bodybypriest3745
      @bodybypriest3745 24 дня назад

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

  • @liiilliees
    @liiilliees 18 дней назад +2

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

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

    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 Год назад +17

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

  • @MegaJohn144
    @MegaJohn144 10 месяцев назад +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 4 дня назад

      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.

  • @Piper_Pilot_Ventures
    @Piper_Pilot_Ventures 4 месяца назад +3

    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!

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

    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!

  • @almightyyotto
    @almightyyotto 6 месяцев назад +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.

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

    Nice tutorial.
    Clear voice, straight on without a lot of bull talk.
    easy to understand, well thaught :)
    Subscribed.

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

    Dave => Real Mentor for JavaScript and python

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

    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.

  • @latashagranger8253
    @latashagranger8253 4 дня назад

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

  • @aidanlanphier6259
    @aidanlanphier6259 11 дней назад

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

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

    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 Год назад +5

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

  • @xNibsu
    @xNibsu 4 месяца назад +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 3 месяца назад

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

  • @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!

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

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

  • @user-bl9fs9gn2d
    @user-bl9fs9gn2d 6 месяцев назад +2

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

  • @heinzandberg2716
    @heinzandberg2716 9 дней назад

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

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

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

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

    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

  • @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

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

    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.

  • @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!

  • @michaelhudson2375
    @michaelhudson2375 11 месяцев назад +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 2 месяца назад +1

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

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

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

  • @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🙏🙏

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

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

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

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

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

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

  • @powang8978
    @powang8978 16 дней назад

    Awesome Video!! Thank you Dave.

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

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

  • @butterfly5572
    @butterfly5572 9 месяцев назад

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

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

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

  • @caropazpm
    @caropazpm 11 месяцев назад

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

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

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

    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.

  • @user-dw3cd3jy7j
    @user-dw3cd3jy7j 3 месяца назад

    Thank you Dave for making it easy

  • @user-mb7le8ek7o
    @user-mb7le8ek7o 4 месяца назад

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

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

    never thought gabe newell would teach me python

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

    More Python content please 🙏

  • @mo7sin711
    @mo7sin711 3 месяца назад +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

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

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

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

    Nice Dave, Keep going !! 🙂

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

  • @dimitrioszafeiropoulos673
    @dimitrioszafeiropoulos673 27 дней назад

    Thank you for this tutorial :)

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

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

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

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

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

    cant wait for the next episode of this series

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

    We're going python! Thank You Dave

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

    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.

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

    Ooo Dave! You are best in all programing languages

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

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

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

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

    Very good lesson explained in a simple way!

  • @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 🐍!!

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

    Bro you explained that so well. Thank you

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

    many thanks from the bottom of my heart!

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

    Thank you, super helpful.

  • @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

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

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

  • @Valdaur
    @Valdaur Год назад +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.

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

    Thanks Dave, Please continue python programming .. ✋

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

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

    thanks dave

  • @user-fz4yt6xw7w
    @user-fz4yt6xw7w 2 месяца назад +1

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

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

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

  • @PIKACHUHraje
    @PIKACHUHraje 3 месяца назад +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 2 месяца назад

      same issue here, i have 0 idea what to do

    • @kratosrenascitur7652
      @kratosrenascitur7652 20 дней назад

      @@nick11jl try the python3 instead

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

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

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

  • @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

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

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

    print("thanks. great help.")

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

    Great job dave pleas keep up

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

    thank u Dave !

  • @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. 💯🐍

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

    This went a long way!!

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

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

  • @hosbalcantos7399
    @hosbalcantos7399 11 месяцев назад +1

    how did u create you file lesson01?

    • @user-tb3dj3km2p
      @user-tb3dj3km2p 5 месяцев назад

      I thought I was the only one stuck on this issue

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

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

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

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

    thanks dave!

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

    thanks man

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

    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.

  • @alexlim6300
    @alexlim6300 9 месяцев назад

    C:\Users\Alex\lesson1> py
    'py' is not recognized as an internal or external command,
    operable program or batch file.
    when I type py into the command prompt

  • @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

  • @halfninja3499
    @halfninja3499 5 месяцев назад +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!

  • @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 🚀

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

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

  • @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

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

    Thanks a lot mr gray

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

    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`

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

    Hi Dave, I did all of what you said in the video. However, there seems to be something wrong when my file executes the program. Because it never shows the Hello World. It just prints the locations of my python interpreter location and the file location, I do not know why.

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

    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

  •  Месяц назад

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

  • @RISHIKESHSINGH-ex7vj
    @RISHIKESHSINGH-ex7vj Год назад

    Thank you

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

    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 ?