Hey everybody. So this tutorial is a long one, but we cover just about anything you'd want to know about Python development within VSCode. Timestamps for topics in this tutorial: Installation - 1:13 Python Extension - 5:48 Switching Interpreters - 10:04 Changing Color Themes - 12:35 VSCode Settings - 16:16 Set Default Python - 21:33 Using Virtual Environments - 25:10 IntelliSense - 29:45 Code Formatting - 32:13 Code Linting - 37:06 Code Runner Extension - 39:42 Git Integration - 47:44 Use Different Terminal - 51:07 Debugging - 58:45 Unit Testing - 1:03:25 Zen Mode - 1:09:55 If I missed anything then just let me know. Hope you're all having a great week!
Please do a pycharm one. I recently shifted from vscode to pycharm and now i am not sure how the workflow goes or how to make the editor environment more productive. Thanks .
Thanks for the great video. Only thing i found a issue was the max-line formatting, but maybe that is just preference.. 80 for me was abit to little. if anyone else has that problem, since we are using formatting black add this "python.formatting.blackArgs": [ "--max-line-length=120" ], "editor.rulers": [ 120 ],
This was the most impeccable tutorial ever. As a beginner, I’ve been always intimated by vscode with all the settings and all the errors that pop up. This cleared up all my doubts. I sincerely thank you for your selfless contributions to the public.
I love everything about this tutorial. No stupid music, large font on his terminal, and great information, especially about useful setup details that are hard to find without someone showing you. Who would have thought there were extensions to change the folder symbols?
💖 Great work, Corey! 👍 Big Thanks!!! 💖 How to upload an existing project to Github 47:56 and 56:28 Setting .gitignore file 49:30 How to format document: 32:44 Shift+Alt+F
Thanks Corey Schafer for the most comprehensive explanation for setting up VS Code on windows. Never saw such an easy-to-understand video on TH-cam. Indeed you are the best teacher for aspiring web developers around the globe. God bless you.
I clicked on this video expecting to only skim through it and focus on one section I was having trouble with. I ended up watching every second of it. Thank you, thank you, thank you!
Please go to this link and subscribe if you like watching Coding videos. (NOTE- Subscribe only if you love coding, especially Python 3) Link-th-cam.com/channels/9n1st3cSVeu3sQpbRbyEyQ.html
Corey is the best python tutor. The reason i have become good in python over the years is because his wonder tutorials.. specially the ones on flask, classes and objects etc ... thanks a ton and always grateful.
This is the best VScode how to video ever. He even covered git and debug. Everything he showed us here will help setup VScode for any language with a little googling for specific stuff related to the language. Subscribed forever!
You really saved my life. I have been struggling finding a debug tool for my python project for months. I have tried IDLE, Pycharm, VSCode, .. but my limited knowledge couldn’t help me solve difficulties when dealing with these tools. There are many challenges involves path, node, shell,.. which keeping me from running the debug features. I was very desperate and hey, I found your video. Even though now the VSCode doesn’t look exactly the same as when you took this video, but most of the instructions are still applied. Again, sincere thanks for your great video. You are my hero.
What I liked about VS Code is the accessibility support put into it. It is very screen reader-friendly, which is very interesting for blind/visually-impaired programmers of any level! Great work on your video as well!
You're actually a life saver. I've been hit with more frustration than I can handle with trying to find information on all of this. I finally found this video. THANK YOU.
Thank you. U know, one thing is knowing how to code and another thing is to know how to set-up the environment. I'm currently having problems using Atom & sublime editors for python. VS is actually great! Thanks again
This is nice. This channel is one of my favorites that is related to Python. I've only coded for a relatively short period but I've always done it in IDLE 😂 Now I want to try VSCode and seeing this just made me so happy lol
Thank you for the excellent video. When I started using it, the integrated python interactive / jupyter functionality was a massive game changer on how I develop. Jupyter was always missing debug, unit testing, github, intellisense and other advanced features. Now vscode combines the two worlds. I think you would positively impact many devs if you make a video on this functionality of vscode.
Superb tutorial. Watched it once all the way through. Then again stepping back and forth to my VSC session. No doubt I'll be referring back to this. Thank you for posting.
Just commenting to tell you that I really appreciate the large fonts etc. I have watched too many videos where people simply recorded their screen at insane resolutions where you couldn't read anything. Thanks for thinking about your viewers experience. :)
Hi Corey. Thank you very much for all the time and effort you put into your videos. Whenever I click on one of your videos, the first thing I do is to like the video before even watching it since I am sure that it is of high quality.
Great intro to VSCode. Suggestions: Another video on debugging in VSCode for Django (like your Django Project) would be interesting. Also one on how to implement meaningful unit tests for the Django Project would be interesting.
Really great video for someone brand new to VSC. Every step was explained thoroughly and clearly. And every additional piece that would be needed to get VCS set up to be productive with it asap was explained as well. I really appreciate you.
Interesting, the Sublime Text big enthusiast is finally switching to the mighty VS Code! Welcome bro! I always feel that your tutorials are missing something and that was VS Code. It will feel complete for me to follow your upcoming tutorials in VS code! I can't wait...
I've just start learning Python and I have a chance to find this "Magnifique" (Belgium expression) Tuto. Many thanks for this good, detailed and practical tutorial. Again thx
Corey thanks for the awesome video guide. Helped me a ton to understand how Vs Code works. Really appreciate all the hard work and wish u all the success. Thanks once again :)
Thanks a lot you are the best teacher ever this was really helpful i could never figure out how to use venv and you explained in seconds i can't thank you enough. it also helped me learn so many new things Thanks a lot :)
Nice job Corey, I use it every day and I learned some new things with you video. Specially with debugging and unit test. REQUEST: could you do a more detailed unit test video for vscode. Thanks again!👍
Excellent video as usual, for the next one, a deep view of the integrated debug tool is a good idea I think, a tutorial on how to use tasks.json vs code file is something I'm looking for, thank's for your great job Corey.
Great Video! I ran into all kinds of issues getting started with python. Mainly due to my PATH not pointing to the correct version of python, your other video about setting the PATH helped out a lot. On the VENV section of the video I had an issue with VS Code not being able to execute the activate.ps1 file (it was saying it wasn't digitally signed). After looking around I found that I needed to run Power Shell as an administrator and run this command, Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser, once I did that the VENV was able to activate in VS Code.
Thank you for this walk through. I'm an R user that wants to start learning Python. I was looking for an IDE that's comparable to phenomal R Studio and it looks like VS Code comes pretty close to it. Curios to see all the content your channel has to offer for new Python users.
PyCharm is another good alternative. The Cmmunity Edition is free. The Professional Edition is superior to Spyder in my opinion but costs $200 for the first year while Spyder is free.
Your tutorials and videos in general are fantastic. Thank you so much and congrats on all the amazing work, it is really inspiring, too, not only informative. Cheers.
Hey everybody. So this tutorial is a long one, but we cover just about anything you'd want to know about Python development within VSCode. Timestamps for topics in this tutorial:
Installation - 1:13
Python Extension - 5:48
Switching Interpreters - 10:04
Changing Color Themes - 12:35
VSCode Settings - 16:16
Set Default Python - 21:33
Using Virtual Environments - 25:10
IntelliSense - 29:45
Code Formatting - 32:13
Code Linting - 37:06
Code Runner Extension - 39:42
Git Integration - 47:44
Use Different Terminal - 51:07
Debugging - 58:45
Unit Testing - 1:03:25
Zen Mode - 1:09:55
If I missed anything then just let me know. Hope you're all having a great week!
Best youtuber for python. Thanks Corey.
can you make a video on sys.exceptionhook and python traceback
Please do a pycharm one. I recently shifted from vscode to pycharm and now i am not sure how the workflow goes or how to make the editor environment more productive. Thanks .
Thanks for the great video. Only thing i found a issue was the max-line formatting, but maybe that is just preference.. 80 for me was abit to little. if anyone else has that problem, since we are using formatting black add this
"python.formatting.blackArgs": [
"--max-line-length=120"
],
"editor.rulers": [
120
],
@@WOWDarkesty Yes, that is an annoying problem so i stopped using black instead if use yapf
This man makes the best tutorials ever.
2 much talking, sorry.
This was the most impeccable tutorial ever. As a beginner, I’ve been always intimated by vscode with all the settings and all the errors that pop up. This cleared up all my doubts. I sincerely thank you for your selfless contributions to the public.
I love everything about this tutorial. No stupid music, large font on his terminal, and great information, especially about useful setup details that are hard to find without someone showing you. Who would have thought there were extensions to change the folder symbols?
💖 Great work, Corey! 👍 Big Thanks!!! 💖
How to upload an existing project to Github 47:56 and 56:28
Setting .gitignore file 49:30
How to format document: 32:44 Shift+Alt+F
Thanks Corey Schafer for the most comprehensive explanation for setting up VS Code on windows. Never saw such an easy-to-understand video on TH-cam. Indeed you are the best teacher for aspiring web developers around the globe. God bless you.
Thank you Corey for taking the time to make these tutorials. You do a fantastic job and are very thorough and it is greatly appreciated!
I clicked on this video expecting to only skim through it and focus on one section I was having trouble with. I ended up watching every second of it. Thank you, thank you, thank you!
Please go to this link and subscribe if you like watching Coding videos.
(NOTE- Subscribe only if you love coding, especially Python 3)
Link-th-cam.com/channels/9n1st3cSVeu3sQpbRbyEyQ.html
Corey is the best python tutor. The reason i have become good in python over the years is because his wonder tutorials.. specially the ones on flask, classes and objects etc ... thanks a ton and always grateful.
This is the best VScode how to video ever. He even covered git and debug. Everything he showed us here will help setup VScode for any language with a little googling for specific stuff related to the language. Subscribed forever!
You really saved my life. I have been struggling finding a debug tool for my python project for months. I have tried IDLE, Pycharm, VSCode, .. but my limited knowledge couldn’t help me solve difficulties when dealing with these tools. There are many challenges involves path, node, shell,.. which keeping me from running the debug features. I was very desperate and hey, I found your video. Even though now the VSCode doesn’t look exactly the same as when you took this video, but most of the instructions are still applied. Again, sincere thanks for your great video. You are my hero.
Hands down the best python tutorial videos on the internet
its been using VSCode for many months , but these settings helped me a lot , thanks man ! , you are one of the great tutor on youtube !
This the best tutorial on vscode I've ever seen. Not only this one all of your tutorials are the ever best one, no matter how long or short it is!
Corey...just started using VSC and your tutorial is fantastic. Well done, love your work.
people like you make life easier for beginners, thank you
What I liked about VS Code is the accessibility support put into it. It is very screen reader-friendly, which is very interesting for blind/visually-impaired programmers of any level!
Great work on your video as well!
Absolutely great video! Just started learn python from scratch and choose VS code as IDE and your video gave me a great push ahead! thank you Corey!
You're actually a life saver. I've been hit with more frustration than I can handle with trying to find information on all of this. I finally found this video. THANK YOU.
Simple, straight to the point, and the voice is full of energy. Love your videos!
I was so confused because I couldn't run any code yesterday, 10min in and now I can... THANKS YOU
Thank you. U know, one thing is knowing how to code and another thing is to know how to set-up the environment. I'm currently having problems using Atom & sublime editors for python. VS is actually great! Thanks again
This tutorial is one of the best I have ever viewed. Keep it up,
Snr.
This is nice. This channel is one of my favorites that is related to Python. I've only coded for a relatively short period but I've always done it in IDLE 😂 Now I want to try VSCode and seeing this just made me so happy lol
Thank you for the excellent video. When I started using it, the integrated python interactive / jupyter functionality was a massive game changer on how I develop. Jupyter was always missing debug, unit testing, github, intellisense and other advanced features. Now vscode combines the two worlds. I think you would positively impact many devs if you make a video on this functionality of vscode.
This video saved me. I feel like i searched for vscode python at the right time
Superb tutorial. Watched it once all the way through. Then again stepping back and forth to my VSC session. No doubt I'll be referring back to this. Thank you for posting.
Best VSCode Setup video for begginers I've seen so far. You got a subscriber here Corey! ;-P
This video literally saves me after a number of useless webs!!!appreciate it so much
Great Video. I finally opened VSCode and started Python.
The best vs code setup by far, thanks a ton
Thanks so much for making your UI so large. It really helps when I'm either watching on my phone or have TH-cam split on only half my monitor
@Corey Your tutorials are the best of the best. I miss you producing more tutorials.
Perfect, provides a very wide and practical guide to coding in python with VSCode. Thanks!
Yes! you finally switched to VSC can't wait to see you using it in future tutorials
Just commenting to tell you that I really appreciate the large fonts etc.
I have watched too many videos where people simply recorded their screen at insane resolutions where you couldn't read anything. Thanks for thinking about your viewers experience. :)
Hi Corey. Thank you very much for all the time and effort you put into your videos. Whenever I click on one of your videos, the first thing I do is to like the video before even watching it since I am sure that it is of high quality.
Great intro to VSCode. Suggestions: Another video on debugging in VSCode for Django (like your Django Project) would be interesting. Also one on how to implement meaningful unit tests for the Django Project would be interesting.
Really great video for someone brand new to VSC. Every step was explained thoroughly and clearly. And every additional piece that would be needed to get VCS set up to be productive with it asap was explained as well. I really appreciate you.
Now this is what quality content means
Man your tutorials just rock. Thank you very much
This tutorial uncovered a lot of powerful features which I never knew of.
Nice tutorial Corey.
By far my favourite programming channel...so well delivered, and you pick very nice topics. Congratulations, you are one of a kind
Best intro vs code ever... loved it.
I know why I recently subscribed to you:
BECAUSE: you are sooo goood.
I already have VSCode set up fully for Python and Java and I'm still watching this video to learn something new,
Thanks for this Corey, I've moved over from using Sublime Text 3 to Visual Studio Code. This video has really helped.
This is just amazing!
Thanks, Corey! Your work is very much appreciated.
This is the best tutorial video I've ever seen :)
You should have an award for your explanation of complex concepts to babies like us!
Thanks for this video. Very helpful especially as someone fairly new to coding.
most useful vscode tutorial so far on youtube for me. cheers
2 years ago, start over again
Interesting, the Sublime Text big enthusiast is finally switching to the mighty VS Code! Welcome bro! I always feel that your tutorials are missing something and that was VS Code. It will feel complete for me to follow your upcoming tutorials in VS code! I can't wait...
just started with vs code and now this video just made my day
Great video explaining the features of VS Code for Python
I've just start learning Python and I have a chance to find this "Magnifique" (Belgium expression) Tuto. Many thanks for this good, detailed and practical tutorial. Again thx
Corey thanks for the awesome video guide. Helped me a ton to understand how Vs Code works. Really appreciate all the hard work and wish u all the success. Thanks once again :)
The BEST tutorial
This is the most useful information for setting up python on VS Code! Thanks a lot buddy!!!
Thanks a lot you are the best teacher ever this was really helpful i could never figure out how to use venv and you explained in seconds i can't thank you enough. it also helped me learn so many new things Thanks a lot :)
What a great video, literally every little piece of information was useful for me as a beginner! :)
Super comprehensive and useful - Thank You!
Corey: I am migrating to VScode from sublime.
Also Corey: Makes VScode looks and works like sublime :)
Hahahaha
Great video. Some thorough debugging of Python code in VScode is sth we would look forward to see from you :)
I agree :)
Awesome. This was one of the most useful videos i've ever watched. Thanks Corey!
We need more video like this from you guys. Keep this energy flowing, ❤❤ u guys
#mezieProgrammer cares 🙌🙌
Nice job Corey, I use it every day and I learned some new things with you video. Specially with debugging and unit test. REQUEST: could you do a more detailed unit test video for vscode. Thanks again!👍
i trust your recommendations more than anyone
w.r.t. the Debugger, adding variables to WATCH and Interactive Debug Console are really useful features. Corey is the best !
27:26 was much needed...thanks a lottt
Hey Corey, thanks for putting this tutorial together. It was very useful.
Excellent video as usual, for the next one, a deep view of the integrated debug tool is a good idea I think, a tutorial on how to use tasks.json vs code file is something I'm looking for, thank's for your great job Corey.
very useful tutorial!!!
Just shared this with my FB group. Thanks.
Amazing video!!! Contains all the basics to setup python in vs code for absolute beginners. Great job 👍🏽😁
Great tutorial for setting python environment in vscode I already using vscode
I'm seriously loving this editor. I use it for JS/TS mostly, but it's cool to do Python as well, for sure
this is simply and amazing tutorial. it was extremely useful, thank you sir
Hi Corey,
Thank you very much for the video. I really grateful for the effort you out to make these videos.
Wishing you all the best. ☺
Lots of valuable information in the video. thank you for the content.
ERG
3 years ago
Thank you for the excellent video
Great Video! I ran into all kinds of issues getting started with python. Mainly due to my PATH not pointing to the correct version of python, your other video about setting the PATH helped out a lot. On the VENV section of the video I had an issue with VS Code not being able to execute the activate.ps1 file (it was saying it wasn't digitally signed). After looking around I found that I needed to run Power Shell as an administrator and run this command, Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser, once I did that the VENV was able to activate in VS Code.
I feel like I've been blessed by Python god.
Thank you Corey for these excellent tutorials 👏
Great tutorial. Please post more on VS code and advanced python
I really appreciate your channel, keep up the good work
Thank you for this walk through. I'm an R user that wants to start learning Python. I was looking for an IDE that's comparable to phenomal R Studio and it looks like VS Code comes pretty close to it. Curios to see all the content your channel has to offer for new Python users.
hey did you check spyder?
R studio can be python ide too
PyCharm is another good alternative. The Cmmunity Edition is free. The Professional Edition is superior to Spyder in my opinion but costs $200 for the first year while Spyder is free.
VSCode is portable too. Thank you for the tutorial. Python Newbie ☺
Dude! you won yourself a new subscriber today, hope TH-cam gives you loads of money cause of it.
Your videos are dope AF, thank you
Your tutorials and videos in general are fantastic. Thank you so much and congrats on all the amazing work, it is really inspiring, too, not only informative. Cheers.
Ay Corey really amazing tutorial, this was incredibly helpful for me. Thank you my guy.
Clear and to the point. Thanks
Your Videos are a gold mine
Thank you so much in your efforts making this. I learned a great deal from your video.
Thank you so much for this! :) Has saved me so much time and headache!
Just as I wanted to switch from Sublime. I love you Corey!
I think i need to watch that video over and over again do understand all.
Amazing tutorial! Thank you :)
Thanks so much for an excellent video - saved me tons of time!
this is pure gold thank you man