How to Set Up Python in Visual Studio Code on Windows 10

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ม.ค. 2025

ความคิดเห็น • 586

  • @ProgrammingKnowledge
    @ProgrammingKnowledge  6 ปีที่แล้ว +40

    Python Tutorial Course for Beginners - Please Chick to View th-cam.com/play/PLS1QulWo1RIYt4e0WnBp-ZjCNq8X0FX0J.html

    • @greatab2977
      @greatab2977 4 ปีที่แล้ว

      They said the extension is enabled globally

    • @harkirthsingh1791
      @harkirthsingh1791 4 ปีที่แล้ว

      There is not reload button

    • @yourbrogaming9968
      @yourbrogaming9968 4 ปีที่แล้ว

      no reload button u are making us foool

    • @crahsu7628
      @crahsu7628 3 ปีที่แล้ว

      @@yourbrogaming9968 oh no fool!

    • @DhruvGoel-jc1lp
      @DhruvGoel-jc1lp 3 ปีที่แล้ว

      Thanks alot Programmig Knowledge

  • @chrissabre1761
    @chrissabre1761 5 ปีที่แล้ว +417

    VS code starts at 6:20 if you already have python installed,

    • @houston3414
      @houston3414 5 ปีที่แล้ว +9

      you are a hero

    • @gauravgaikwad889
      @gauravgaikwad889 5 ปีที่แล้ว +1

      Yoyoyoyoy

    • @chrissabre1761
      @chrissabre1761 5 ปีที่แล้ว +1

      Right click near your code, and it opens to give another option to 'run' the code without the debugger,

    • @ennaourimanar3422
      @ennaourimanar3422 5 ปีที่แล้ว

      Thank u

    • @nour.104
      @nour.104 4 ปีที่แล้ว +5

      ure the type of person every video needs

  • @yesimoz2701
    @yesimoz2701 4 ปีที่แล้ว +867

    When you are trying to learn programming and can't even install python

    • @wasimakram4145
      @wasimakram4145 4 ปีที่แล้ว +41

      Exactly, I was like WTF....

    • @2024FIX
      @2024FIX 4 ปีที่แล้ว +10

      You can just tell your mum or dad to help

    • @chandanrabha4076
      @chandanrabha4076 4 ปีที่แล้ว +1

      lmao

    • @microhoarray
      @microhoarray 4 ปีที่แล้ว +1

      ahahaahjsdjg aynen

    • @eternal9497
      @eternal9497 4 ปีที่แล้ว +8

      @@microhoarray did you have a storke

  • @ayushmanbhardwaj9884
    @ayushmanbhardwaj9884 5 ปีที่แล้ว +58

    If you've already have python and vscode installed just start from here 8:50

  • @andrewsmichael7047
    @andrewsmichael7047 5 ปีที่แล้ว +18

    Thank you so much for the help and may almighty God continue to enrich you with more wisdom and blessings

  • @downerelec4378
    @downerelec4378 3 ปีที่แล้ว +2

    I had another environment installed so when I tried to use pylint in vsc (because configuring it in the other was a pain), it gave me errors, reinstalled everything with this tutorial now and its working. Thank you!

  • @prossygwokyalya5128
    @prossygwokyalya5128 5 ปีที่แล้ว +5

    Am totally thankful for this tutorial. I was having a hard time using Visual studio code but not anymore.

  • @jakubhanak4563
    @jakubhanak4563 4 ปีที่แล้ว +2

    After 10 videos finally something what actually helped me ty :)

  • @moe2552
    @moe2552 6 ปีที่แล้ว +1

    Very helpful! Microsoft should reference this video for setting up VScode!!!

  • @rwoodvet
    @rwoodvet 5 ปีที่แล้ว +8

    FFS thank you for helping me figure this out. I finally got VS Code to recognize python.

  • @ankitkumawat7373
    @ankitkumawat7373 4 ปีที่แล้ว +1

    Thank you so much 😘....
    Life saver ....
    Finally It runs...

  • @phillipmccullough5222
    @phillipmccullough5222 5 ปีที่แล้ว +3

    Thank you so much! You would not believe how long this took me...

  • @gkguru6830
    @gkguru6830 4 ปีที่แล้ว

    Because of you and your clear guidance, i installed Python & this editor. Thank you very much.

  • @szymson2209
    @szymson2209 4 ปีที่แล้ว

    thanks for help you help me better than my teacher

  • @lowdowngen603
    @lowdowngen603 3 ปีที่แล้ว

    No one can teach python better than you,just loved the way you explained it.

    • @scoc44_siddhesh_waje91
      @scoc44_siddhesh_waje91 3 ปีที่แล้ว

      Does it helped you because I want to do it now and I am thinking that this video is old and won't help me

  • @madhavrajkondawar8242
    @madhavrajkondawar8242 5 ปีที่แล้ว +2

    Thank you so much for your help, the input at 13:24 is really the most helpful one, solved my problem!

  • @aadityarathi9475
    @aadityarathi9475 4 ปีที่แล้ว +1

    Thanks a lot sir
    You are best

  • @taneliheikkila8276
    @taneliheikkila8276 6 ปีที่แล้ว +1

    Nearly lost my mind yesterday with this thing but now suddenly everything makes sense. Thank you!

  • @kannan3801
    @kannan3801 5 ปีที่แล้ว +5

    very useful to install Java and Python in Vs code..thanks again

  • @junaid_qadir
    @junaid_qadir 3 ปีที่แล้ว

    I did like and subscribe your channel. You are the best tutor. Please upload more helpful stuff. Thanks

  • @oceansblue692
    @oceansblue692 5 ปีที่แล้ว +11

    @minute 15:35 "StopOnEntry" is not listed in the launch.json at my end
    How can i add it?

  • @mukundhareddy3034
    @mukundhareddy3034 4 ปีที่แล้ว

    Nice way of teaching. Awesome

  • @中西晴奈-v5c
    @中西晴奈-v5c 6 ปีที่แล้ว +11

    Omg thank you so much for this! I had been having trouble doing this.
    This helped me a lot

  • @luxiao7419
    @luxiao7419 6 ปีที่แล้ว

    The configuring process really extinguishes a beginner's interest and ambition.

    • @PixDDD
      @PixDDD 6 ปีที่แล้ว +1

      also filters out the weak early. Programming is half looking up solutions and guides for your problems especially early on, so you need to be willing to do this.

    • @luxiao7419
      @luxiao7419 6 ปีที่แล้ว

      Yes, you're right. I failed many times in configuring python. At last, I gave up and switched to pycharm. But your video let me run my first python program successfully in vscode, thanks anyway.

  • @palashrathore6277
    @palashrathore6277 4 ปีที่แล้ว +31

    when you already installed several versions of python and don't know what to do!

    • @KusogeMan
      @KusogeMan 3 ปีที่แล้ว

      have you solved your problem?

  • @yagop8719
    @yagop8719 6 ปีที่แล้ว +4

    Thank you So much!!
    I've been struggling so hard to figure out the setting PATH on Python and Visual Studio Code.
    I followed every step of your instruction and it's working fine now. Thank you again!

    • @matthewheckman4522
      @matthewheckman4522 6 ปีที่แล้ว +1

      Same here! I had to re install everything because I got the path wrong.

  • @yaroslavzef7267
    @yaroslavzef7267 6 ปีที่แล้ว +1

    Spaibo bratan! Very pomoglo! Good udachi tebe in 2019!

  • @mitesh95221
    @mitesh95221 3 ปีที่แล้ว

    thanks a lot..!! this video is helpful to beginners...

  • @omkarshinde2059
    @omkarshinde2059 5 ปีที่แล้ว

    Thanks, bro ...Finally, it's working fine #Happy programming...

  • @vineetverma6645
    @vineetverma6645 4 ปีที่แล้ว

    Just like your previousvideo regarding setting up visual studio, installing code runner helps executing python files too. No need of setting json preferences. Thx for the great help btw

  • @zubinshah4589
    @zubinshah4589 2 ปีที่แล้ว

    thanks a bunch, this resolved my issue.

  • @gkguru6830
    @gkguru6830 4 ปีที่แล้ว

    For me , no errors came. Worked fine.

  • @DKTeluguPranks
    @DKTeluguPranks 6 ปีที่แล้ว +1

    Appreciate the "ProgrammingKnowledge" Team for keeping very helpful knowledgebase videos on the web for the world of programmers. Thanks a lot

  • @raphaelraenato1602
    @raphaelraenato1602 4 ปีที่แล้ว

    It's working thank you so much sir....

  • @primz01
    @primz01 2 ปีที่แล้ว

    Thanks a lot man you really saved my day

  • @huberts7944
    @huberts7944 3 ปีที่แล้ว

    Thanks a lot! I'm starting python course and I wasn't able to set up python in VS alone.

  • @sayanikamadhuhansi4361
    @sayanikamadhuhansi4361 2 ปีที่แล้ว

    Thank u soo much.It works properly..🙃

  • @10thpassgaming39
    @10thpassgaming39 3 ปีที่แล้ว +1

    thx bro its help me a lot

  • @ppmico
    @ppmico 5 ปีที่แล้ว

    thanks man u solved a huge problem for me

  • @kaizen9554
    @kaizen9554 3 ปีที่แล้ว

    Great video. thank you soo much.
    I got soo feedup with atom failing and crushing all the time. this is obviously a much robust editor

  • @officialchickenn
    @officialchickenn 4 ปีที่แล้ว

    This was epic! [New Subscriber btw]

  • @squirekev
    @squirekev 6 ปีที่แล้ว +4

    Helpful installation and up to date with 2018 so thanks!
    VSC must be getting very popular with Python users as the Extension Python MS install is up to 9,319,715 user by now since your Jan 2018 tut upload.
    It feels like a good IDE for familiarizing oneself with for the future for further explorations into C#, C++ , etc.

  • @Rakesh-tm7ls
    @Rakesh-tm7ls 4 ปีที่แล้ว

    Thank you sir ,this video is very helpful.

  • @Calm_Energy
    @Calm_Energy 5 ปีที่แล้ว +1

    Thank you so much for this! Especially @11:38

  • @stefancc83
    @stefancc83 6 ปีที่แล้ว

    It worked for me. Many Thanks!!!

  • @sweetcake1080
    @sweetcake1080 5 ปีที่แล้ว

    Thank you straight from Brazil ;D

  • @awildmartian9069
    @awildmartian9069 3 ปีที่แล้ว

    Sir i personally love u. Thanks

  • @jigneshdevganiya7107
    @jigneshdevganiya7107 3 ปีที่แล้ว

    Very supportive video, Thanks

  • @anupmestry2280
    @anupmestry2280 2 ปีที่แล้ว

    Thanks a lot, video was helpful

  • @sinnerman-i4r
    @sinnerman-i4r 4 ปีที่แล้ว

    Thanks man! This video helped :)

  • @ashaseeb
    @ashaseeb 2 ปีที่แล้ว

    excellent explanation, thank you great job

  • @jkdevelopement4161
    @jkdevelopement4161 6 ปีที่แล้ว +1

    I had to add the config manually to get debug to work properly... I just copied what is in your 'Python' option under configs to use.. Saved it, the launch.json file, then debug worked fine.
    "name": "Python",
    "type": "python",
    "request": "launch",
    "stopOnEntry": true,
    "pythonPath": "${config:python.pythonPath}",
    "program": "${file}",
    "cwd":"${workspaceFolder}",
    "env": {},
    "envFile": "${workspaceFolder}/.env",
    "debugOptions": [
    "RedirectOutput"
    ]

  • @bubavunga397
    @bubavunga397 3 ปีที่แล้ว

    you know it will help you when they have an indian accent
    thank you indians for making youtube tutorials all day

  • @jimboyrobias5641
    @jimboyrobias5641 4 ปีที่แล้ว

    thankyou man! big credits for u!!

  • @meenupradeep6126
    @meenupradeep6126 4 ปีที่แล้ว

    Amazing video..thank u

  • @ananyadutta5462
    @ananyadutta5462 2 ปีที่แล้ว

    It's really help me👍

  • @ravitiwari4885
    @ravitiwari4885 3 ปีที่แล้ว +1

    Hello Sir I am Follow All process but 09:34 In Time NOT Showning Reload Option
    please reply as well soon Thank you sir

  • @frankfarfan3107
    @frankfarfan3107 3 ปีที่แล้ว

    thank you so much bro, it was very util at my stage jajaja

  • @Christichy
    @Christichy 4 ปีที่แล้ว

    You are best man !

  • @trickyeducare1804
    @trickyeducare1804 2 ปีที่แล้ว

    thank you so much brother❤

  • @hercules3484
    @hercules3484 6 ปีที่แล้ว

    Awesome...very helpful. Thank you very much.

  • @9artsstudio75
    @9artsstudio75 3 ปีที่แล้ว

    awsome........its help me a lot ...

  • @dkalitka9540
    @dkalitka9540 6 ปีที่แล้ว +1

    good stuff bro! helped a lot, works just fine

  • @iSynbio
    @iSynbio 4 ปีที่แล้ว

    非常认真的讲解,感谢!

  • @anime_blizz5737
    @anime_blizz5737 2 ปีที่แล้ว +2

    12:30 i did'nt get this python path option

  • @shashwatdalakoti4998
    @shashwatdalakoti4998 4 ปีที่แล้ว +2

    What was the use of downloading Python plugin from VS code when you have to explicitly use a pre installed version of python and specify it's path in VS code??

  • @mfstudy
    @mfstudy 5 ปีที่แล้ว

    Thanks for installation vscode

  • @HiteshWrites
    @HiteshWrites 3 ปีที่แล้ว

    Thanks, it was helpful

  • @cyberpunk7088
    @cyberpunk7088 6 ปีที่แล้ว +139

    why cant i just run python by just one click ?

    • @donniemp3
      @donniemp3 6 ปีที่แล้ว +54

      wouldn't that be perfect? If everything ran immediately

    • @AnandSharma-lt8wq
      @AnandSharma-lt8wq 6 ปีที่แล้ว +6

      It's that exactly what I want.

    • @alvaro58139
      @alvaro58139 6 ปีที่แล้ว +11

      Pycharm is made for python, you can with it

    • @gedionatphysicsmathelectro1867
      @gedionatphysicsmathelectro1867 6 ปีที่แล้ว +2

      It should. At least it is better than Notepad++

    • @張宇-b5c
      @張宇-b5c 6 ปีที่แล้ว +5

      the plugin coderunner can meet your needs

  • @vidushi55
    @vidushi55 6 ปีที่แล้ว

    Thanks a lot!! Very helpful video.

  • @gorgeouspirate4378
    @gorgeouspirate4378 3 ปีที่แล้ว

    🙌🙌🙌🙌 thank you sir.

  • @f_x9771
    @f_x9771 7 ปีที่แล้ว

    Great video my brother, very helpful!

  • @ishanajmeri3275
    @ishanajmeri3275 5 ปีที่แล้ว +1

    thanks ,its really helpful.:)

  • @praveenRNSMCA30
    @praveenRNSMCA30 5 ปีที่แล้ว

    Thanks for your video.

  • @mentedecuriosidad
    @mentedecuriosidad 5 ปีที่แล้ว

    well guess what! you are de best bro!

  • @JigneshPatel-bw5pq
    @JigneshPatel-bw5pq 6 ปีที่แล้ว

    It was really very helpful and perfectly explained....Thank you

  • @cameronspencer5112
    @cameronspencer5112 5 ปีที่แล้ว +1

    Thanks so much, this really helped me out alot
    +1 Subscriber

  • @controversymedia1937
    @controversymedia1937 4 ปีที่แล้ว

    Thank you bro its working now

  • @nikunjsaraf5150
    @nikunjsaraf5150 5 ปีที่แล้ว

    Helped a lot!! THANKS

  • @jeffreynwankwo7912
    @jeffreynwankwo7912 5 ปีที่แล้ว +1

    Clearly explained.

  • @MexicanRmz
    @MexicanRmz 5 ปีที่แล้ว

    Nice video man, thanks.

  • @haydhn1474
    @haydhn1474 6 ปีที่แล้ว +14

    My launch.json file doesn't have the same settings as yours. I don't have a stopOnEntry setting. Is there a way I can add this? I tried just typing it in like it is in your file but it doesn't work.

    • @mcstar8885
      @mcstar8885 6 ปีที่แล้ว +1

      did you find a way to solve this? I'm having the same problem

    • @haydhn1474
      @haydhn1474 6 ปีที่แล้ว +1

      I didn't. I ended up uninstalling VS and just grew accustom to using the Python IDLE. If you're a beginner like me I recommend using the Python IDLE, it's simple and doesn't have any bells and whistles but if you're just learning Python it's adequate.
      Also, what version of Python do you have installed? I'm using 2.7 and I suspect that's why my .json file settings were different.

    • @mcstar8885
      @mcstar8885 6 ปีที่แล้ว

      Haydhn mine is v3.5

    • @vithuuthaya9832
      @vithuuthaya9832 6 ปีที่แล้ว

      Try this,
      {
      "name": "Python: Current File",
      "type": "python",
      "request": "launch",
      "program": "${file}",
      "console": "integratedTerminal",
      "stopOnEntry":true
      },

    • @nithinsreenivas4123
      @nithinsreenivas4123 6 ปีที่แล้ว

      you forget to add "envfile"

  • @aaronherman1618
    @aaronherman1618 6 ปีที่แล้ว

    Super helpful! Thanks!

  • @SaadAllali
    @SaadAllali 4 ปีที่แล้ว +5

    Thank you, just the tutorial is not up to date, there's some update in VS and even in the Python installation, although appreciate

  • @TonesOnTheTrack
    @TonesOnTheTrack 4 ปีที่แล้ว

    You go so fast and I'm in a new version of vs

  • @skippersprint
    @skippersprint 4 ปีที่แล้ว

    For those not seeing their launch.json file. Go to Debug/Run on the left side panel and create the launch.json file. You're welcome

  • @maio824
    @maio824 5 ปีที่แล้ว +10

    It says "No README available." whenever i try to install the extension

  • @esos_erik9774
    @esos_erik9774 5 ปีที่แล้ว +6

    he had 5.9 milion downloads on python now 1 year later I have 59 milion downloads :O that escalated quickly

  • @ellyjoungkyles1548
    @ellyjoungkyles1548 5 ปีที่แล้ว +1

    I have a question that after installing Python and Visual Studio code as followed your instruction, but I can't see the reload button in the VS but there are two button; one is disable, and the other is uninstall. Do you know why I don't have reload button and how to resolve this issue?

  • @quangminhp.n6457
    @quangminhp.n6457 3 ปีที่แล้ว

    This ise useful! Thank you

  • @PreludeSon
    @PreludeSon 5 ปีที่แล้ว

    Very very good tutorial...thank you!

  • @rj7108
    @rj7108 5 ปีที่แล้ว +2

    Thank u so much bro..

  • @jonathansimon2226
    @jonathansimon2226 6 ปีที่แล้ว

    Great thanks to you for this video bro!

  • @matheusbarros5080
    @matheusbarros5080 2 ปีที่แล้ว

    Thank you my friend.

  • @seanearnest
    @seanearnest 6 ปีที่แล้ว

    Thank you for this walk-through!

  • @ganeshkrishnaprasad3785
    @ganeshkrishnaprasad3785 4 ปีที่แล้ว

    Pycharm is the best IDE for python period

  • @vishaljhaveri6176
    @vishaljhaveri6176 5 ปีที่แล้ว

    Thankyou man!🤍

  • @luanaleticia2644
    @luanaleticia2644 5 ปีที่แล้ว

    it helped me a lot. tnks

  • @SpazKnightFN
    @SpazKnightFN 5 ปีที่แล้ว +2

    Real video starts at 7:51

  • @shreyanshkumar1787
    @shreyanshkumar1787 4 ปีที่แล้ว +2

    In 2 years python download went from 5,938,618 to 28,546,402.