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

  Рет қаралды 1,566,043

ProgrammingKnowledge

ProgrammingKnowledge

Күн бұрын

Пікірлер: 587
@ProgrammingKnowledge
@ProgrammingKnowledge 6 жыл бұрын
Python Tutorial Course for Beginners - Please Chick to View kzbin.info/aero/PLS1QulWo1RIYt4e0WnBp-ZjCNq8X0FX0J
@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 жыл бұрын
VS code starts at 6:20 if you already have python installed,
@houston3414
@houston3414 5 жыл бұрын
you are a hero
@gauravgaikwad889
@gauravgaikwad889 5 жыл бұрын
Yoyoyoyoy
@chrissabre1761
@chrissabre1761 5 жыл бұрын
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 жыл бұрын
ure the type of person every video needs
@ayushmanbhardwaj9884
@ayushmanbhardwaj9884 5 жыл бұрын
If you've already have python and vscode installed just start from here 8:50
@dea-ki5iq
@dea-ki5iq 4 жыл бұрын
Legend
@sajid8320
@sajid8320 3 жыл бұрын
Thanks
@yesimoz2701
@yesimoz2701 4 жыл бұрын
When you are trying to learn programming and can't even install python
@wasimakram4145
@wasimakram4145 4 жыл бұрын
Exactly, I was like WTF....
@2024FIX
@2024FIX 4 жыл бұрын
You can just tell your mum or dad to help
@chandanrabha4076
@chandanrabha4076 4 жыл бұрын
lmao
@microhoarray
@microhoarray 4 жыл бұрын
ahahaahjsdjg aynen
@eternal9497
@eternal9497 4 жыл бұрын
@@microhoarray did you have a storke
@andrewsmichael7047
@andrewsmichael7047 5 жыл бұрын
Thank you so much for the help and may almighty God continue to enrich you with more wisdom and blessings
@downerelec4378
@downerelec4378 3 жыл бұрын
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!
@oceansblue692
@oceansblue692 5 жыл бұрын
@minute 15:35 "StopOnEntry" is not listed in the launch.json at my end How can i add it?
@prossygwokyalya5128
@prossygwokyalya5128 5 жыл бұрын
Am totally thankful for this tutorial. I was having a hard time using Visual studio code but not anymore.
@aadityarathi9475
@aadityarathi9475 4 жыл бұрын
Thanks a lot sir You are best
@rwoodvet
@rwoodvet 5 жыл бұрын
FFS thank you for helping me figure this out. I finally got VS Code to recognize python.
@palashrathore6277
@palashrathore6277 4 жыл бұрын
when you already installed several versions of python and don't know what to do!
@KusogeMan
@KusogeMan 3 жыл бұрын
have you solved your problem?
@jakubhanak4563
@jakubhanak4563 4 жыл бұрын
After 10 videos finally something what actually helped me ty :)
@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
@phillipmccullough5222
@phillipmccullough5222 5 жыл бұрын
Thank you so much! You would not believe how long this took me...
@chrissabre1761
@chrissabre1761 5 жыл бұрын
I would,
@moe2552
@moe2552 6 жыл бұрын
Very helpful! Microsoft should reference this video for setting up VScode!!!
@中西晴奈-v5c
@中西晴奈-v5c 6 жыл бұрын
Omg thank you so much for this! I had been having trouble doing this. This helped me a lot
@haydhn1474
@haydhn1474 6 жыл бұрын
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 жыл бұрын
did you find a way to solve this? I'm having the same problem
@haydhn1474
@haydhn1474 6 жыл бұрын
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"
@madhavrajkondawar8242
@madhavrajkondawar8242 5 жыл бұрын
Thank you so much for your help, the input at 13:24 is really the most helpful one, solved my problem!
@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
@gkguru6830
@gkguru6830 4 жыл бұрын
Because of you and your clear guidance, i installed Python & this editor. Thank you very much.
@junaid_qadir
@junaid_qadir 3 жыл бұрын
I did like and subscribe your channel. You are the best tutor. Please upload more helpful stuff. Thanks
@kannan3801
@kannan3801 5 жыл бұрын
very useful to install Java and Python in Vs code..thanks again
@ankitkumawat7373
@ankitkumawat7373 4 жыл бұрын
Thank you so much 😘.... Life saver .... Finally It runs...
@squirekev
@squirekev 6 жыл бұрын
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.
@cyberpunk7088
@cyberpunk7088 6 жыл бұрын
why cant i just run python by just one click ?
@donniemp3
@donniemp3 6 жыл бұрын
wouldn't that be perfect? If everything ran immediately
@AnandSharma-lt8wq
@AnandSharma-lt8wq 6 жыл бұрын
It's that exactly what I want.
@alvaro58139
@alvaro58139 6 жыл бұрын
Pycharm is made for python, you can with it
@gedionatphysicsmathelectro1867
@gedionatphysicsmathelectro1867 6 жыл бұрын
It should. At least it is better than Notepad++
@張宇-b5c
@張宇-b5c 6 жыл бұрын
the plugin coderunner can meet your needs
@luxiao7419
@luxiao7419 6 жыл бұрын
The configuring process really extinguishes a beginner's interest and ambition.
@PixDDD
@PixDDD 6 жыл бұрын
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.
@maio824
@maio824 5 жыл бұрын
It says "No README available." whenever i try to install the extension
@szymson2209
@szymson2209 4 жыл бұрын
thanks for help you help me better than my teacher
@KRISTONGOODEN
@KRISTONGOODEN 6 жыл бұрын
my launch jason doesn't tell me the path like yours. and when i pressed debug the launch JSON option didn't come up
@yagop8719
@yagop8719 6 жыл бұрын
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 жыл бұрын
Same here! I had to re install everything because I got the path wrong.
@yaroslavzef7267
@yaroslavzef7267 6 жыл бұрын
Spaibo bratan! Very pomoglo! Good udachi tebe in 2019!
@DKTeluguPranks
@DKTeluguPranks 6 жыл бұрын
Appreciate the "ProgrammingKnowledge" Team for keeping very helpful knowledgebase videos on the web for the world of programmers. Thanks a lot
@huberts7944
@huberts7944 3 жыл бұрын
Thanks a lot! I'm starting python course and I wasn't able to set up python in VS alone.
@ravitiwari4885
@ravitiwari4885 3 жыл бұрын
Hello Sir I am Follow All process but 09:34 In Time NOT Showning Reload Option please reply as well soon Thank you sir
@jkdevelopement4161
@jkdevelopement4161 6 жыл бұрын
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" ]
@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]
@taneliheikkila8276
@taneliheikkila8276 6 жыл бұрын
Nearly lost my mind yesterday with this thing but now suddenly everything makes sense. Thank you!
@mukundhareddy3034
@mukundhareddy3034 4 жыл бұрын
Nice way of teaching. Awesome
@mitesh95221
@mitesh95221 3 жыл бұрын
thanks a lot..!! this video is helpful to beginners...
@omkarshinde2059
@omkarshinde2059 5 жыл бұрын
Thanks, bro ...Finally, it's working fine #Happy programming...
@zubinshah4589
@zubinshah4589 2 жыл бұрын
thanks a bunch, this resolved my issue.
@shashwatdalakoti4998
@shashwatdalakoti4998 4 жыл бұрын
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??
@bubavunga397
@bubavunga397 3 жыл бұрын
you know it will help you when they have an indian accent thank you indians for making youtube tutorials all day
@primz01
@primz01 2 жыл бұрын
Thanks a lot man you really saved my day
@ppmico
@ppmico 5 жыл бұрын
thanks man u solved a huge problem for me
@raphaelraenato1602
@raphaelraenato1602 4 жыл бұрын
It's working thank you so much sir....
@frankfarfan3107
@frankfarfan3107 3 жыл бұрын
thank you so much bro, it was very util at my stage jajaja
@gkguru6830
@gkguru6830 4 жыл бұрын
For me , no errors came. Worked fine.
@sayanikamadhuhansi4361
@sayanikamadhuhansi4361 2 жыл бұрын
Thank u soo much.It works properly..🙃
@mdsourav2073
@mdsourav2073 4 жыл бұрын
The version you installed in 9:35 minute, This extension is enable globally,, What to do now?
@2024FIX
@2024FIX 4 жыл бұрын
It works i know btw way i don't get what you said i will help you well try
@Rakesh-tm7ls
@Rakesh-tm7ls 4 жыл бұрын
Thank you sir ,this video is very helpful.
@10thpassgaming39
@10thpassgaming39 3 жыл бұрын
thx bro its help me a lot
@Calm_Energy
@Calm_Energy 5 жыл бұрын
Thank you so much for this! Especially @11:38
@anime_blizz5737
@anime_blizz5737 2 жыл бұрын
12:30 i did'nt get this python path option
@anupmestry2280
@anupmestry2280 2 жыл бұрын
Thanks a lot, video was helpful
@ashaseeb
@ashaseeb 2 жыл бұрын
excellent explanation, thank you great job
@awildmartian9069
@awildmartian9069 3 жыл бұрын
Sir i personally love u. Thanks
@esos_erik9774
@esos_erik9774 5 жыл бұрын
he had 5.9 milion downloads on python now 1 year later I have 59 milion downloads :O that escalated quickly
@EliteCJI
@EliteCJI 6 жыл бұрын
pythonPath isn't showing on my launch.json
@jackmanhardt9909
@jackmanhardt9909 6 жыл бұрын
The easy way that worked for me is to click the "select python environment" in the bottom left. As long as you added python to the PATH correctly it should give you the option to click on your python.exe location at the top. Then you should be all done :)
@jakubsiekiera8098
@jakubsiekiera8098 5 жыл бұрын
@@jackmanhardt9909 how can I fix it? Could you tell me when @ProgrammingKnowledge was talking about it? Pleaseee , I'm so confused and I'm thinking about this problem for 8 hours...
@jackmanhardt9909
@jackmanhardt9909 5 жыл бұрын
@@jakubsiekiera8098 I don't believe the creator of the video mentions this method, but if you pause the video at 11:00 you will notice a yellow message in the bottom left that says, "select python environment." As long as you have completed installing python and setting environment variables as the video explains earlier, clicking this button will allow you choose the python environment you have just installed and complete the process
@jakubsiekiera8098
@jakubsiekiera8098 5 жыл бұрын
@@jackmanhardt9909 i solved this by a lot of methods. First I reinstalled vs code, python and all programs connected with this language and now I'm happy owner of vs code without any problems... :-)
@9artsstudio75
@9artsstudio75 2 жыл бұрын
awsome........its help me a lot ...
@SaadAllali
@SaadAllali 4 жыл бұрын
Thank you, just the tutorial is not up to date, there's some update in VS and even in the Python installation, although appreciate
@dkalitka9540
@dkalitka9540 6 жыл бұрын
good stuff bro! helped a lot, works just fine
@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
@meenupradeep6126
@meenupradeep6126 4 жыл бұрын
Amazing video..thank u
@bjorn7427
@bjorn7427 4 жыл бұрын
13:17 your settings doesn't look like mine. Im stuck in this step. Pls help
@membobb
@membobb 4 жыл бұрын
because this was fn made in 2018 uhhhhhhhhhh
@stefancc83
@stefancc83 6 жыл бұрын
It worked for me. Many Thanks!!!
@jigneshdevganiya7107
@jigneshdevganiya7107 3 жыл бұрын
Very supportive video, Thanks
@SpazKnightFN
@SpazKnightFN 5 жыл бұрын
Real video starts at 7:51
@sinnerman-i4r
@sinnerman-i4r 4 жыл бұрын
Thanks man! This video helped :)
@hercules3484
@hercules3484 6 жыл бұрын
Awesome...very helpful. Thank you very much.
@ellyjoungkyles1548
@ellyjoungkyles1548 5 жыл бұрын
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?
@Venkatesh-Im-ur-dad
@Venkatesh-Im-ur-dad 4 жыл бұрын
I have a pyton files to install some application and i have a batch scripts to setup the application.. how can i automate all these sripts to install in one single package? Is there a way we can execute them we install as a package with out executing manually?
@f_x9771
@f_x9771 6 жыл бұрын
Great video my brother, very helpful!
@shreyanshkumar1787
@shreyanshkumar1787 4 жыл бұрын
In 2 years python download went from 5,938,618 to 28,546,402.
@mentedecuriosidad
@mentedecuriosidad 5 жыл бұрын
well guess what! you are de best bro!
@mfstudy
@mfstudy 5 жыл бұрын
Thanks for installation vscode
@TonesOnTheTrack
@TonesOnTheTrack 4 жыл бұрын
You go so fast and I'm in a new version of vs
@HiteshWrites
@HiteshWrites 3 жыл бұрын
Thanks, it was helpful
@avinashreddykn
@avinashreddykn 6 жыл бұрын
Hi, thanks for making this video, very helpful. However, when I install Visual Studio code and go to launch.json, the code I see in my system is different what is shown in the video. 'pythonpath" is not at the beginning but its at the end of the code and though i change the path in user settings I still get some error which states that path which i have given is not recognized. Plz help
@cameronspencer5112
@cameronspencer5112 5 жыл бұрын
Thanks so much, this really helped me out alot +1 Subscriber
@sweetcake1080
@sweetcake1080 5 жыл бұрын
Thank you straight from Brazil ;D
@JigneshPatel-bw5pq
@JigneshPatel-bw5pq 6 жыл бұрын
It was really very helpful and perfectly explained....Thank you
@midos2200
@midos2200 6 жыл бұрын
we can just download visual studio and select python for installation. no need to seperate them. Also. you can still select other more coding languages such as C++ and so on.
@trickyeducare1804
@trickyeducare1804 2 жыл бұрын
thank you so much brother❤
@ananyadutta5462
@ananyadutta5462 2 жыл бұрын
It's really help me👍
@rs._._rathore
@rs._._rathore 4 жыл бұрын
When I was on the launch.json part, in the configurations part I didn't have the no configuration option because of which I couldn't change or modify the path. Please help!!!!
@mello9686
@mello9686 4 жыл бұрын
unless your getting a error the json file thing isnt a issue that part has been updated
@firecat4k642
@firecat4k642 6 жыл бұрын
When I start to debug the terminal opens, is there a way to make it so the debug console opens instead?
@lightninginmyhands4878
@lightninginmyhands4878 6 жыл бұрын
yeah I'm trying to find the setting to launch the Debug Console instead of the Terminal - no luck
@Ali-hs9sr
@Ali-hs9sr 5 жыл бұрын
@@fritheaxolotl27527 in debug click on configuration and select External Terminal
@Wfb_DVM
@Wfb_DVM 5 жыл бұрын
next to the "settings" gear where you click the green arrow to debug, there is a square with a little arrow in it. that is to debug to console rather than terminal. hope this helps.
@LucianaCuarelli
@LucianaCuarelli 5 жыл бұрын
I followed all the steps but my launch.json is a little different than yours, is there any problem? I can debug it by the way.....
@seanearnest
@seanearnest 5 жыл бұрын
Does anyone have a good benchmark for how long Python installation should take? In this video it looks like it took only a few seconds, and for me it took several minutes. I consider my system fairly fast (16GB RAM, i7-6700 processor, 128GB SSD) so not sure what the holdup is...Should I be concerned? Thanks!
@seanearnest
@seanearnest 5 жыл бұрын
Looks like his installation of VSC went faster than mine as well...beginning to suspect something may not be right with my system.
@controversymedia1937
@controversymedia1937 4 жыл бұрын
Thank you bro its working now
@ShogunBlackShark
@ShogunBlackShark 6 жыл бұрын
Thank you for this great tutorial for the setup of python in VS Code.
@liliacfury
@liliacfury 6 жыл бұрын
When I click the debugging option when its set to no configurations, the fire wall doesn't pop up, just this list thing asking me to 'Select Environment'. 11:40
@daylenworth8956
@daylenworth8956 5 жыл бұрын
Same happened to me...
@gorgeouspirate4378
@gorgeouspirate4378 3 жыл бұрын
🙌🙌🙌🙌 thank you sir.
@chakshuprajapati698
@chakshuprajapati698 4 жыл бұрын
When I m defining a constructor means a __init__ method then I have to write self in the brackets which is not the case with pycharm. It automatically done In pycharm when you click on the __init__ method . So any trick to do this shortcutly in vs code?
@jimboyrobias5641
@jimboyrobias5641 4 жыл бұрын
thankyou man! big credits for u!!
@tetaliteja
@tetaliteja 4 жыл бұрын
Quick question on the python packages. VS Code is not able to find the modules i installed via pip...Any video on that would be great...
@rj7108
@rj7108 5 жыл бұрын
Thank u so much bro..
@ferdans6270
@ferdans6270 5 жыл бұрын
I couldn't find the build.json file, I'm using python 3.7.0 and the latest version has different settings please help!
@zeegay
@zeegay 5 жыл бұрын
me too
@vidushi55
@vidushi55 6 жыл бұрын
Thanks a lot!! Very helpful video.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
10 Python Tips and Tricks For Writing Better Code
39:21
Corey Schafer
Рет қаралды 1,3 МЛН
Python Tutorial 5: How to Install Visual Studio Code
21:12
Paul McWhorter
Рет қаралды 47 М.
👩‍💻 Python for Beginners Tutorial
1:03:21
Kevin Stratvert
Рет қаралды 3,4 МЛН
Visual Studio Code Crash Course
1:32:35
freeCodeCamp.org
Рет қаралды 1,2 МЛН
Visual Studio Code Intro & Setup
38:37
Traversy Media
Рет қаралды 617 М.
Let's Create a Compiler (Pt.1)
1:11:03
Pixeled
Рет қаралды 574 М.
Python for Beginners - Learn Coding with Python in 1 Hour
1:00:06
Programming with Mosh
Рет қаралды 19 МЛН
Python Object Oriented Programming (OOP) - For Beginners
53:06
Tech With Tim
Рет қаралды 3,4 МЛН
Getting Started with Python in Visual Studio Code
32:48
Microsoft Visual Studio
Рет қаралды 239 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН