Modern Python Projects Transcripts
Chapter: Course conclusion and review
Lecture: VS Code

Login or purchase this course to watch this video and the rest of the course contents.
0:00 If you're planning to use VSCode to work with python,
0:03 the only thing that you really need to setup is to install the python extension
0:06 You can also install Pylance to get a better suggestions as your type,
0:11 and you can also add some additional extensions,
0:13 like Django or flask snippets. If you use them indent-rainbow to easily see
0:18 different indentation levels. Python doc string generator to help you quickly,
0:23 write documentation for your functions and so on.
0:25 Once you have that setup a Linter like flake 8 or pylint configured black as
0:30 your code formatter and start coding, when you want to run some code,
0:34 the easiest way is to just press this green arrow in the upper right corner.
0:38 But if you're working with a Web framework and you need to start a server,
0:42 go to the debugging panel and create a launch configuration,
0:47 then you can start a Debugger.
0:48 Put some break points here and there and poke around your code.
0:52 And finally, don't forget that we can also test your code to directly from VSCode
0:55 When you select a testing framework like pytest, you will get this nice sidebar for running your tests.