title
Visual Studio Code (Windows) - Setting up a Python Development Environment and Complete Overview

description
In this Python Programming Tutorial, we will be learning how to set up a Python development environment in VSCode on Windows. VSCode is a very nice free editor for writing Python applications and many developers are now switching over to this editor. In this video, we will learn how to install VSCode, get the Python extension installed, how to change Python interpreters, create virtual environments, format/lint our code, how to use Git within VSCode, how to debug our programs, how unit testing works, and more. We have a lot to cover, so let's go ahead and get started... VSCode on MacOS - https://youtu.be/06I63_p-2A4 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 VSCode Site - https://code.visualstudio.com/ Python Installation - https://youtu.be/YYXdXT2l-Gg Source Code Pro - https://github.com/adobe-fonts/source-code-pro VENV Tutorial - https://youtu.be/APOPm01BVrk Git Tutorial - https://youtu.be/HVsySz-h9r4 Unit Testing Tutorial - https://youtu.be/6tNS--WetLI My VSCode Settings - http://bit.ly/vscode-coreyms ✅ Support My Channel Through Patreon: https://www.patreon.com/coreyms ✅ Become a Channel Member: https://www.youtube.com/channel/UCCezIgC97PvUuR4_gbFUs5g/join ✅ One-Time Contribution Through PayPal: https://goo.gl/649HFY ✅ Cryptocurrency Donations: Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3 Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33 Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot ✅ Corey's Public Amazon Wishlist http://a.co/inIyro1 ✅ Equipment I Use and Books I Recommend: https://www.amazon.com/shop/coreyschafer ▶️ You Can Find Me On: My Website - http://coreyms.com/ My Second Channel - https://www.youtube.com/c/coreymschafer Facebook - https://www.facebook.com/CoreyMSchafer Twitter - https://twitter.com/CoreyMSchafer Instagram - https://www.instagram.com/coreymschafer/ #Python #VSCode

detail
{'title': 'Visual Studio Code (Windows) - Setting up a Python Development Environment and Complete Overview', 'heatmap': [{'end': 588.54, 'start': 538.401, 'weight': 0.725}, {'end': 1763.551, 'start': 1624.924, 'weight': 0.808}], 'summary': 'Provides a comprehensive overview of setting up visual studio code for python, including installation, python extension setup with 42.2 million downloads, customization, interpreter and virtual environment setup, auto-formatting, linting, git integration, debugging, and unit testing, emphasizing ease of use and built-in features.', 'chapters': [{'end': 344.256, 'segs': [{'end': 30.534, 'src': 'embed', 'start': 0.229, 'weight': 0, 'content': [{'end': 1.23, 'text': "Hey there, how's it going everybody?", 'start': 0.229, 'duration': 1.001}, {'end': 6.236, 'text': "In this video, we're going to be learning how to install Visual Studio Code and set up a Python development environment.", 'start': 1.571, 'duration': 4.665}, {'end': 10.68, 'text': "We're also going to go over the different features of this editor and see why it's so nice for Python development.", 'start': 6.476, 'duration': 4.204}, {'end': 17.748, 'text': "So we'll cover how to easily switch between editors, how to debug applications, how Git integration works,", 'start': 11.021, 'duration': 6.727}, {'end': 20.531, 'text': 'look at unit testing capabilities and a few other things.', 'start': 17.748, 'duration': 2.783}, {'end': 26.212, 'text': "So I've had a ton of comments and requests to cover VS Code, and it just seems like so many people are switching over to it.", 'start': 20.991, 'duration': 5.221}, {'end': 30.534, 'text': "I don't know how many of you all listen to Talk Python Podcast with Michael Kennedy,", 'start': 26.693, 'duration': 3.841}], 'summary': 'Learn to install visual studio code, set up python environment, and explore its features for python development.', 'duration': 30.305, 'max_score': 0.229, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ20229.jpg'}, {'end': 135.534, 'src': 'embed', 'start': 90.003, 'weight': 1, 'content': [{'end': 94.668, 'text': 'VS Code is a lighter weight editor that can be extended with plugins for whatever we need.', 'start': 90.003, 'duration': 4.665}, {'end': 98.952, 'text': 'So be sure to search for Visual Studio Code and not just Visual Studio.', 'start': 95.068, 'duration': 3.884}, {'end': 102.314, 'text': "I'll also have a link to this page in the description section below.", 'start': 99.672, 'duration': 2.642}, {'end': 106.018, 'text': "Now VS Code is free, so we don't need to buy anything.", 'start': 102.835, 'duration': 3.183}, {'end': 108.119, 'text': 'We just need to download it and install it.', 'start': 106.138, 'duration': 1.981}, {'end': 110.781, 'text': "So I'm just going to download it from the website here.", 'start': 108.48, 'duration': 2.301}, {'end': 114.785, 'text': "So I'll click on download and then choose your operating system.", 'start': 110.942, 'duration': 3.843}, {'end': 116.266, 'text': "I'm on a Windows here.", 'start': 114.985, 'duration': 1.281}, {'end': 119.228, 'text': 'And now this should download automatically.', 'start': 116.987, 'duration': 2.241}, {'end': 123.472, 'text': "Okay, so once that is downloaded, I'm just going to run that executable.", 'start': 120.149, 'duration': 3.323}, {'end': 128.232, 'text': 'And this is just like any other software installation wizard.', 'start': 125.251, 'duration': 2.981}, {'end': 135.534, 'text': "We'll have to accept some terms here, pick our install location, and I'll go ahead and create a desktop icon for this as well.", 'start': 128.271, 'duration': 7.263}], 'summary': 'Vs code is a free, lightweight editor that can be extended with plugins, and is available for download on various operating systems.', 'duration': 45.531, 'max_score': 90.003, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ2090003.jpg'}, {'end': 225.97, 'src': 'embed', 'start': 195.736, 'weight': 3, 'content': [{'end': 198.297, 'text': "because you don't have a lot of other stuff getting in your way.", 'start': 195.736, 'duration': 2.561}, {'end': 204.799, 'text': "but when you're new it might be hard for you to remember your way around, because we're mostly dealing with icons and not descriptions.", 'start': 198.297, 'duration': 6.502}, {'end': 209.401, 'text': 'so this bar over here on the left is called our Activity Bar.', 'start': 204.799, 'duration': 4.602}, {'end': 212.223, 'text': 'And this is our main navigation for the editor.', 'start': 209.881, 'duration': 2.342}, {'end': 218.266, 'text': "And if you hover over any one of these icons, then after a second or two, it'll pop up with a description.", 'start': 212.563, 'duration': 5.703}, {'end': 221.388, 'text': 'So we can see here that this top one here is the Explorer.', 'start': 218.626, 'duration': 2.762}, {'end': 225.97, 'text': 'And if we click on that, then this is where we can open our directories and files.', 'start': 221.848, 'duration': 4.122}], 'summary': 'New users may find it difficult to navigate due to icon-based interface, but tooltips provide descriptions for each icon.', 'duration': 30.234, 'max_score': 195.736, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ20195736.jpg'}], 'start': 0.229, 'title': 'Setting up visual studio code for python', 'summary': 'Covers installing visual studio code and setting up python environment, highlighting features for python development, including switching editors, debugging, git integration, and unit testing capabilities. it also details the process of downloading, installing, and setting up visual studio code on a windows os, including navigating the interface and managing extensions.', 'chapters': [{'end': 110.781, 'start': 0.229, 'title': 'Setting up visual studio code for python', 'summary': 'Covers how to install visual studio code and set up a python development environment, highlighting its features for python development, including switching between editors, debugging applications, git integration, and unit testing capabilities.', 'duration': 110.552, 'highlights': ['Visual Studio Code is a lighter weight editor that can be extended with plugins for whatever we need. VS Code is a lighter weight editor that can be extended with plugins, providing flexibility for different programming needs.', 'The chapter covers how to install Visual Studio Code and set up a Python development environment, highlighting its features for Python development, including switching between editors, debugging applications, Git integration, and unit testing capabilities. The chapter covers how to install Visual Studio Code and set up a Python development environment, highlighting its features for Python development, including switching between editors, debugging applications, Git integration, and unit testing capabilities.', 'VS Code is free, so there is no need to buy anything; it just needs to be downloaded and installed. VS Code is free, so there is no need to buy anything; it just needs to be downloaded and installed.']}, {'end': 344.256, 'start': 110.942, 'title': 'Installing visual studio code on windows', 'summary': 'Details the process of downloading, installing, and setting up visual studio code on a windows operating system, including navigating the interface and managing extensions.', 'duration': 233.314, 'highlights': ['The process involves downloading the software and running the installation wizard, including accepting terms, choosing an install location, and creating a desktop icon.', 'Upon opening Visual Studio Code for the first time, it displays the getting started page in the browser and a welcome screen within the editor.', 'The interface features a simple design with an Activity Bar for main navigation, including options for Explorer, search, Git integration, debugging, and managing extensions.', "The managing extensions feature recommends and displays popular extensions, such as Azure repos and Sublime Text keymap and settings, based on the user's installed software."]}], 'duration': 344.027, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ20229.jpg', 'highlights': ['The chapter covers how to install Visual Studio Code and set up a Python development environment, highlighting its features for Python development, including switching between editors, debugging applications, Git integration, and unit testing capabilities.', 'VS Code is a lighter weight editor that can be extended with plugins, providing flexibility for different programming needs.', 'The process involves downloading the software and running the installation wizard, including accepting terms, choosing an install location, and creating a desktop icon.', 'The interface features a simple design with an Activity Bar for main navigation, including options for Explorer, search, Git integration, debugging, and managing extensions.']}, {'end': 700.384, 'segs': [{'end': 396.999, 'src': 'embed', 'start': 344.817, 'weight': 0, 'content': [{'end': 347.779, 'text': "And now we're going to look at the popular extensions here.", 'start': 344.817, 'duration': 2.962}, {'end': 351.341, 'text': "So the extension that we're really after right now is this Python extension.", 'start': 348.139, 'duration': 3.202}, {'end': 354.743, 'text': 'And this is the most popular extension on VS Code by far.', 'start': 351.761, 'duration': 2.982}, {'end': 365.331, 'text': "So if I sort the extensions by popularity, so right now, if we go to show popular extensions, then it's already sorted by install count.", 'start': 355.124, 'duration': 10.207}, {'end': 368.533, 'text': 'But we can also sort by rating and name if we wanted to as well.', 'start': 365.351, 'duration': 3.182}, {'end': 375.814, 'text': 'So we can see here at the top we have Python, and this has 42.2 million downloads so far.', 'start': 369.053, 'duration': 6.761}, {'end': 380.575, 'text': "And the one in second place only doesn't even have half of that.", 'start': 376.655, 'duration': 3.92}, {'end': 384.176, 'text': 'So this is definitely the most popular extension at the moment.', 'start': 380.615, 'duration': 3.561}, {'end': 393.458, 'text': 'And we can see in this description here of this extension that this extension adds support for linting and debugging,', 'start': 384.576, 'duration': 8.882}, {'end': 396.999, 'text': 'formatting our code unit testing and IntelliSense.', 'start': 393.458, 'duration': 3.541}], 'summary': 'The python extension is the most popular on vs code with 42.2 million downloads, providing support for linting, debugging, formatting, unit testing, and intellisense.', 'duration': 52.182, 'max_score': 344.817, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ20344817.jpg'}, {'end': 468.596, 'src': 'embed', 'start': 437.258, 'weight': 1, 'content': [{'end': 438.778, 'text': 'And be sure that you include that .', 'start': 437.258, 'duration': 1.52}, {'end': 443.339, 'text': "py extension so that VS Code knows that it's Python and gives you some nice syntax highlighting.", 'start': 438.778, 'duration': 4.561}, {'end': 446.6, 'text': "But I've already got a script available, so I'm going to open this up.", 'start': 443.78, 'duration': 2.82}, {'end': 448.501, 'text': "So I'm going to go to open folder.", 'start': 446.94, 'duration': 1.561}, {'end': 452.864, 'text': 'And then this is on my desktop.', 'start': 449.341, 'duration': 3.523}, {'end': 457.127, 'text': "So I'm going to go to desktop here and just open up my project.", 'start': 453.044, 'duration': 4.083}, {'end': 461.51, 'text': "And now it's going to open that up in a new window.", 'start': 457.728, 'duration': 3.782}, {'end': 463.812, 'text': "Now I'm going to close down the welcome page again.", 'start': 462.071, 'duration': 1.741}, {'end': 468.596, 'text': "And actually down here at the bottom I'm going to select deselect to show the welcome page on startup.", 'start': 463.972, 'duration': 4.624}], 'summary': 'Opening and navigating python project in vs code.', 'duration': 31.338, 'max_score': 437.258, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ20437258.jpg'}, {'end': 588.54, 'src': 'heatmap', 'start': 538.401, 'weight': 0.725, 'content': [{'end': 544.562, 'text': 'So by default, our Python extension is going to use the first Python interpreter that it finds on our system path.', 'start': 538.401, 'duration': 6.161}, {'end': 550.043, 'text': "Now, if you don't have Python 3 installed, then this might use Python 2 if you have Python 2 installed.", 'start': 544.982, 'duration': 5.061}, {'end': 553.604, 'text': 'If so, then I can show how to change these in just a bit.', 'start': 550.943, 'duration': 2.661}, {'end': 556.124, 'text': "So first, let's just try to run this.", 'start': 554.064, 'duration': 2.06}, {'end': 566.809, 'text': 'So to do this, we can right-click anywhere within our module And then we can come down here to the bottom and we can see that we can run current test,', 'start': 556.564, 'duration': 10.245}, {'end': 568.851, 'text': 'run Python file in terminal.', 'start': 566.809, 'duration': 2.042}, {'end': 571.693, 'text': "I'm going to select run Python file in terminal.", 'start': 569.151, 'duration': 2.542}, {'end': 577.237, 'text': 'And now this will bring up our terminal here and it will run.', 'start': 572.373, 'duration': 4.864}, {'end': 579.157, 'text': 'our Python code.', 'start': 577.857, 'duration': 1.3}, {'end': 582.838, 'text': "Now we're going to look at how to use a keyboard shortcut to run code in just a bit.", 'start': 579.498, 'duration': 3.34}, {'end': 588.54, 'text': "So if you don't like right-clicking to run your code, then don't worry, we'll see how to make it more simple in just a bit.", 'start': 583.158, 'duration': 5.382}], 'summary': 'Python extension uses first interpreter found; can change settings; run code with keyboard shortcut.', 'duration': 50.139, 'max_score': 538.401, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ20538401.jpg'}, {'end': 618.096, 'src': 'embed', 'start': 588.94, 'weight': 5, 'content': [{'end': 595.762, 'text': "But for now, if we look at my output down here, then we can see that I'm using Python 3.7 that it printed out right there.", 'start': 588.94, 'duration': 6.822}, {'end': 600.323, 'text': 'And then it prints out the location where that is here on my machine.', 'start': 596.222, 'duration': 4.101}, {'end': 603.165, 'text': 'and also it printed out those greetings.', 'start': 601.003, 'duration': 2.162}, {'end': 609.73, 'text': 'Okay, so what if we wanted to change our Python interpreter? So there are a couple of different ways that we can do this.', 'start': 603.705, 'duration': 6.025}, {'end': 618.096, 'text': "So if we look at the blue bar at the bottom of the page, then in the bottom left, it shows us which Python interpreter we're currently using.", 'start': 610.13, 'duration': 7.966}], 'summary': 'Using python 3.7, printed location and greetings, exploring ways to change interpreter.', 'duration': 29.156, 'max_score': 588.94, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ20588940.jpg'}, {'end': 660.251, 'src': 'embed', 'start': 632.788, 'weight': 4, 'content': [{'end': 643.619, 'text': "so if i click on that and now i right click and go to run python file and terminal, then now we can see that it's running python 2,", 'start': 632.788, 'duration': 10.831}, {'end': 650.025, 'text': '7 and that this is the location of the python interpreter, and then it also prints out those greetings.', 'start': 643.619, 'duration': 6.406}, {'end': 655.03, 'text': 'so let me go ahead and clear out my terminal here Now.', 'start': 650.025, 'duration': 5.005}, {'end': 660.251, 'text': 'if you ever want to clear your screen and you have the CMD running, then I think you can just type in CLS.', 'start': 655.03, 'duration': 5.221}], 'summary': 'Demonstrating running python 2.7 in terminal and clearing screen using cls command.', 'duration': 27.463, 'max_score': 632.788, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ20632788.jpg'}, {'end': 709.389, 'src': 'embed', 'start': 681.895, 'weight': 6, 'content': [{'end': 686.637, 'text': "now, if you don't have python 3 installed, then i definitely recommend using that.", 'start': 681.895, 'duration': 4.742}, {'end': 690.079, 'text': "if you'd like to see how to install that on both windows and mac,", 'start': 686.637, 'duration': 3.442}, {'end': 694.601, 'text': 'then i do have a separate video where i show how to do that for both operating systems.', 'start': 690.079, 'duration': 4.522}, {'end': 699.684, 'text': "so i'll put a link to that video in the description section below if anyone needs to see how to install that.", 'start': 694.601, 'duration': 5.083}, {'end': 700.384, 'text': 'so i show you.', 'start': 699.684, 'duration': 0.7}, {'end': 704.326, 'text': 'i also show you in that video how to get it in your path and everything.', 'start': 700.384, 'duration': 3.942}, {'end': 709.389, 'text': "so once it's in your path, then vs code should automatically pick that up and allow you to use that.", 'start': 704.326, 'duration': 5.063}], 'summary': 'Recommend installing python 3, with separate video for windows and mac. link provided for installation guidance.', 'duration': 27.494, 'max_score': 681.895, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ20681895.jpg'}], 'start': 344.817, 'title': 'Vs code python setup', 'summary': 'Covers the installation of the popular python extension in vs code, which has 42.2 million downloads and provides support for linting, debugging, formatting, unit testing, and intellisense. it also includes setting up the python interpreter, running a simple python script, changing interpreters, and clearing the terminal, demonstrating with python 3.7 and python 2.7, and recommending python 3 installation.', 'chapters': [{'end': 461.51, 'start': 344.817, 'title': 'Vs code python extension installation', 'summary': 'Covers the installation of the python extension in vs code, which is the most popular extension with 42.2 million downloads, providing support for linting, debugging, formatting, unit testing, and intellisense. it also includes instructions for opening existing python code in vs code.', 'duration': 116.693, 'highlights': ['The Python extension is the most popular on VS Code with 42.2 million downloads, far surpassing others, and provides support for linting, debugging, formatting, unit testing, and IntelliSense.', 'Instructions are provided for opening existing Python code in VS Code and creating a project folder with a .py extension for syntax highlighting.', 'The chapter demonstrates the process of installing the Python extension in VS Code, including the sorting of extensions by popularity and the installation process.', 'The importance of including the .py extension for VS Code to recognize the code as Python and provide syntax highlighting is emphasized.']}, {'end': 700.384, 'start': 462.071, 'title': 'Python interpreter and script setup', 'summary': 'Covers setting up the python interpreter, running a simple python script, changing python interpreter, and clearing terminal, demonstrating with python 3.7 and python 2.7, and includes recommendations for python 3 installation.', 'duration': 238.313, 'highlights': ['The chapter covers setting up the Python interpreter, running a simple Python script, changing Python interpreter, and clearing terminal. The chapter provides a comprehensive overview of setting up the Python interpreter, running a simple Python script, changing Python interpreter, and clearing the terminal.', 'Demonstrating with Python 3.7 and Python 2.7. The demonstration highlights the use of Python 3.7 and Python 2.7 as specific examples for changing Python interpreters.', 'Includes recommendations for Python 3 installation. The transcript provides a recommendation for installing Python 3 and includes a link to a separate video demonstrating the installation process for both Windows and Mac operating systems.']}], 'duration': 355.567, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ20344817.jpg', 'highlights': ['The Python extension in VS Code has 42.2 million downloads, providing support for linting, debugging, formatting, unit testing, and IntelliSense.', 'Instructions for opening existing Python code in VS Code and creating a project folder with a .py extension are provided.', 'The chapter demonstrates the process of installing the Python extension in VS Code, including sorting extensions by popularity and the installation process.', 'The importance of including the .py extension for VS Code to recognize the code as Python and provide syntax highlighting is emphasized.', 'The chapter covers setting up the Python interpreter, running a simple Python script, changing Python interpreter, and clearing the terminal.', 'Demonstrates with Python 3.7 and Python 2.7, highlighting the use of specific examples for changing Python interpreters.', 'Includes recommendations for Python 3 installation, providing a recommendation and a link to a separate video demonstrating the installation process.']}, {'end': 1482.931, 'segs': [{'end': 734.691, 'src': 'embed', 'start': 700.384, 'weight': 0, 'content': [{'end': 704.326, 'text': 'i also show you in that video how to get it in your path and everything.', 'start': 700.384, 'duration': 3.942}, {'end': 709.389, 'text': "so once it's in your path, then vs code should automatically pick that up and allow you to use that.", 'start': 704.326, 'duration': 5.063}, {'end': 717.876, 'text': 'Now when I changed my interpreter you may or may not have noticed that VS Code created a folder inside of my project directory here called .', 'start': 709.769, 'duration': 8.107}, {'end': 721.619, 'text': 'VSCode and that directory has a settings.json file.', 'start': 717.876, 'duration': 3.743}, {'end': 726.083, 'text': 'So these are settings for our specific current workspace.', 'start': 722.04, 'duration': 4.043}, {'end': 734.691, 'text': 'So let me open this up and we can see that it set our Python path within the settings.json file.', 'start': 726.424, 'duration': 8.267}], 'summary': 'Vs code automatically picks up python path in settings.json.', 'duration': 34.307, 'max_score': 700.384, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ20700384.jpg'}, {'end': 852.684, 'src': 'embed', 'start': 825.988, 'weight': 1, 'content': [{'end': 831.191, 'text': 'if anyone has watched my videos before, then you know that I usually use sublime text,', 'start': 825.988, 'duration': 5.203}, {'end': 835.474, 'text': 'and the color theme that I use in sublime text is called predawn.', 'start': 831.191, 'duration': 4.283}, {'end': 842.578, 'text': "now somebody has actually put together a predawn for VS Code as well, and I'm glad that they did, because I like that color theme.", 'start': 835.474, 'duration': 7.104}, {'end': 848.361, 'text': "so that's what I'm going to use, and it's this one here predawn theme kit, this predawn twilight.", 'start': 842.578, 'duration': 5.783}, {'end': 852.684, 'text': "I'm not sure what that is, but this is the one that looks like the sublime text version.", 'start': 848.361, 'duration': 4.323}], 'summary': 'Predawn color theme for vs code is preferred, similar to sublime text version.', 'duration': 26.696, 'max_score': 825.988, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ20825988.jpg'}, {'end': 914.562, 'src': 'embed', 'start': 889.149, 'weight': 2, 'content': [{'end': 893.893, 'text': 'It gives us a Python icon for the Python files and these brackets for a JSON file.', 'start': 889.149, 'duration': 4.744}, {'end': 897.837, 'text': 'But if we wanted to update this, then we can open our command palette.', 'start': 894.234, 'duration': 3.603}, {'end': 904.179, 'text': "and now I'm going to type in file icon and then we can change our file icon theme.", 'start': 898.297, 'duration': 5.882}, {'end': 914.562, 'text': 'so if I click on that, then by default we only have a couple in here, but again we can install additional file icon themes and here,', 'start': 904.179, 'duration': 10.383}], 'summary': 'Python icon for python files and brackets for json file, changeable via command palette.', 'duration': 25.413, 'max_score': 889.149, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ20889149.jpg'}, {'end': 962.203, 'src': 'embed', 'start': 936.692, 'weight': 3, 'content': [{'end': 941.774, 'text': 'And once that installs, it might actually override your color theme here.', 'start': 936.692, 'duration': 5.082}, {'end': 944.656, 'text': "I'm going to select pre-dawn again down there at the bottom.", 'start': 941.914, 'duration': 2.742}, {'end': 957.08, 'text': 'But now, if we go back to our editor and let me open up the command palette again and press file icon theme, then we can select AYU,', 'start': 945.376, 'duration': 11.704}, {'end': 958.021, 'text': 'since that was installed.', 'start': 957.08, 'duration': 0.941}, {'end': 962.203, 'text': 'And when I select that, we can see that now these changed icons over here.', 'start': 958.361, 'duration': 3.842}], 'summary': 'Installing ayu theme changes icon appearance in the editor.', 'duration': 25.511, 'max_score': 936.692, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ20936692.jpg'}, {'end': 1077.229, 'src': 'embed', 'start': 1047.803, 'weight': 4, 'content': [{'end': 1050.586, 'text': 'And when we hover over that, it says open settings in JSON.', 'start': 1047.803, 'duration': 2.783}, {'end': 1052.167, 'text': "So I'm going to click on that.", 'start': 1050.686, 'duration': 1.481}, {'end': 1055.289, 'text': 'And now these are our settings in JSON format.', 'start': 1052.647, 'duration': 2.642}, {'end': 1058.292, 'text': 'So we can see that I have zoomed into our editor.', 'start': 1055.61, 'duration': 2.682}, {'end': 1060.474, 'text': 'So we have a zoom level of three.', 'start': 1058.432, 'duration': 2.042}, {'end': 1065.959, 'text': 'and anytime we hover over a setting, we can see that it gives us a description of what that setting does as well.', 'start': 1061.034, 'duration': 4.925}, {'end': 1067.72, 'text': 'so that is a nice feature.', 'start': 1065.959, 'duration': 1.761}, {'end': 1074.787, 'text': 'now, since these are our user settings, this is only going to show us what the settings that we have changed from the default.', 'start': 1067.72, 'duration': 7.067}, {'end': 1077.229, 'text': 'so i have changed the zoom level.', 'start': 1074.787, 'duration': 2.442}], 'summary': 'The json settings display a zoom level of 3, with descriptions for each setting, and only shows user-modified settings.', 'duration': 29.426, 'max_score': 1047.803, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ201047803.jpg'}, {'end': 1322.911, 'src': 'embed', 'start': 1293.911, 'weight': 5, 'content': [{'end': 1300.195, 'text': 'So, for example, like I was saying before, one setting that I want to change is my default Python path,', 'start': 1293.911, 'duration': 6.284}, {'end': 1306.179, 'text': 'so that it runs the exact version of Python that I wanted to run by default anytime we start a new project.', 'start': 1300.195, 'duration': 5.984}, {'end': 1312.464, 'text': "So I could just do that by searching Python dot, and then I'm going to try to do Python path.", 'start': 1306.52, 'duration': 5.944}, {'end': 1316.506, 'text': "So Python dot P, let's search through here.", 'start': 1312.804, 'duration': 3.702}, {'end': 1322.911, 'text': 'So we can see here that we have pipenv path, poetry path, and here we have Python path.', 'start': 1316.887, 'duration': 6.024}], 'summary': 'Changing default python path to run specific version for new projects.', 'duration': 29, 'max_score': 1293.911, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ201293911.jpg'}], 'start': 700.384, 'title': 'Customizing vs code settings and customization', 'summary': 'Covers setting up python interpreter, changing color themes, installing additional themes like predawn, customizing file icons, modifying vs code settings, installing extensions, and adjusting default python path for projects.', 'chapters': [{'end': 914.562, 'start': 700.384, 'title': 'Vs code settings and customization', 'summary': 'Discusses setting up python interpreter in vs code, changing color themes, installing additional color themes like predawn, and customizing file icons in the sidebar.', 'duration': 214.178, 'highlights': ['The chapter explains how to set up the Python interpreter in VS Code, which involves adding it to the path and configuring it in the settings.json file.', 'It demonstrates changing color themes in VS Code using the command palette, with a specific example of installing and using the predawn color theme.', 'The speaker emphasizes the importance of finding a pleasant editor theme and file icons as programmers use their editors extensively.', 'Instructions are provided on customizing file icons in the sidebar using the command palette in VS Code.']}, {'end': 1482.931, 'start': 914.562, 'title': 'Customizing vs code settings', 'summary': 'Discusses customizing visual studio code (vs code) settings, including changing color themes, installing extensions, modifying settings in json format, and adjusting default python path for projects.', 'duration': 568.369, 'highlights': ['Changing color themes and installing extensions Demonstrates changing color themes and installing an extension called AYU, which provides indicator icons for open and closed folders in the file explorer.', 'Modifying settings in JSON format Explains preference for modifying settings in JSON format over the UI version, highlighting the ability to view and change settings in JSON and the convenience of hover-over descriptions for settings.', 'Adjusting default Python path for projects Demonstrates adjusting the default Python path for projects by searching for and changing the Python path setting in the VS Code settings, and explaining the process of finding and setting the full path to the desired Python version.']}], 'duration': 782.547, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ20700384.jpg', 'highlights': ['Covers setting up Python interpreter in VS Code, adding it to the path and configuring it in settings.json.', 'Demonstrates changing color themes in VS Code using the command palette, with a specific example of installing and using the predawn color theme.', 'Instructions provided on customizing file icons in the sidebar using the command palette in VS Code.', 'Demonstrates changing color themes and installing AYU extension, providing indicator icons for open and closed folders in the file explorer.', 'Explains preference for modifying settings in JSON format over the UI version, highlighting the ability to view and change settings in JSON and the convenience of hover-over descriptions for settings.', 'Demonstrates adjusting the default Python path for projects by searching for and changing the Python path setting in the VS Code settings.']}, {'end': 1855.757, 'segs': [{'end': 1593.078, 'src': 'embed', 'start': 1568.586, 'weight': 1, 'content': [{'end': 1576.97, 'text': 'so if you want to create a new virtual environment, i think the easiest way to do that is using the venv module from the standard library.', 'start': 1568.586, 'duration': 8.384}, {'end': 1583.893, 'text': "and if you don't know how to create virtual environments using venv, then i do have a separate video that goes into more detail about how to do this,", 'start': 1576.97, 'duration': 6.923}, {'end': 1588.335, 'text': "so i'll be sure to leave a link to that in the description section below as well, if anyone is interested.", 'start': 1583.893, 'duration': 4.442}, {'end': 1593.078, 'text': 'But basically we can just say Python, whoops, let me spell that right.', 'start': 1588.815, 'duration': 4.263}], 'summary': 'Creating virtual environments using venv module from the standard library, with further details in a separate video.', 'duration': 24.492, 'max_score': 1568.586, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ201568586.jpg'}, {'end': 1763.551, 'src': 'heatmap', 'start': 1624.924, 'weight': 0.808, 'content': [{'end': 1627.267, 'text': 'So that virtual environment did get created.', 'start': 1624.924, 'duration': 2.343}, {'end': 1629.989, 'text': 'So let me close down my terminal here.', 'start': 1627.687, 'duration': 2.302}, {'end': 1636.155, 'text': 'And now that we have that for our project, we just need to change the interpreter like we did before.', 'start': 1630.55, 'duration': 5.605}, {'end': 1640.359, 'text': 'So I can come down here to the bottom left and click here,', 'start': 1636.475, 'duration': 3.884}, {'end': 1651.651, 'text': 'and when I do that we can see that we have a Python 3.7 in called venv here and we can see that it gives the location of the current directory within this venv folder.', 'start': 1640.359, 'duration': 11.292}, {'end': 1654.254, 'text': 'so VS Code automatically picked that up.', 'start': 1651.651, 'duration': 2.603}, {'end': 1658.697, 'text': "so I'm going to change to that and, like i was saying, vs code automatically picked that up.", 'start': 1654.254, 'duration': 4.443}, {'end': 1664.081, 'text': "and that's because vs code automatically picks up virtual environments within the base of our project.", 'start': 1658.697, 'duration': 5.384}, {'end': 1666.463, 'text': 'uh, how, like how we created it here.', 'start': 1664.081, 'duration': 2.382}, {'end': 1670.246, 'text': 'now it can also pick up conda environments as well and things like that.', 'start': 1666.463, 'duration': 3.783}, {'end': 1674.829, 'text': "now, if you're using a virtual environment that's located somewhere else on your machine,", 'start': 1670.246, 'duration': 4.583}, {'end': 1689.097, 'text': 'then to do that you can just open up the settings.json file here in your dot vs code directory And we can just put the path to whatever virtual environment you want to use within here.', 'start': 1674.829, 'duration': 14.268}, {'end': 1692.658, 'text': 'But it can auto detect a lot of those forests.', 'start': 1689.457, 'duration': 3.201}, {'end': 1698.06, 'text': 'But if you have it, you know, like on your desktop or something like that or in a virtual environments directory,', 'start': 1692.958, 'duration': 5.102}, {'end': 1702.322, 'text': 'then you can just hard code that path in here to use that for a specific project.', 'start': 1698.06, 'duration': 4.262}, {'end': 1708.904, 'text': 'Now, when you have a virtual environment activated, it will actually activate that environment and all new terminal sessions as well.', 'start': 1702.682, 'duration': 6.222}, {'end': 1712.507, 'text': "So I think that's a really nice feature.", 'start': 1709.885, 'duration': 2.622}, {'end': 1718.811, 'text': 'So if I open up terminal here, let me close down the one I currently have by clicking this trash can and kill terminal.', 'start': 1712.827, 'duration': 5.984}, {'end': 1720.613, 'text': 'Let me open up another one.', 'start': 1719.232, 'duration': 1.381}, {'end': 1730.099, 'text': 'And when I open that, we can see that it automatically came in and ran that activate uh script on that virtual environment.', 'start': 1721.413, 'duration': 8.686}, {'end': 1738.381, 'text': 'so if i clear my screen here, we can tell that the virtual environment is active because we have vnv over here in parentheses.', 'start': 1730.099, 'duration': 8.282}, {'end': 1744.844, 'text': 'so if we wanted to install some packages within this virtual environment, then we should just be able to do it with our pip command.', 'start': 1738.381, 'duration': 6.463}, {'end': 1754.487, 'text': 'so if i say pip install, request to install the request package or the request library, Then I will let this install.', 'start': 1744.844, 'duration': 9.643}, {'end': 1760.83, 'text': 'And once this is installed, then we should be able to just import this into our scripts with no problem.', 'start': 1755.067, 'duration': 5.763}, {'end': 1763.551, 'text': "So I'm going to close down my terminal there.", 'start': 1761.21, 'duration': 2.341}], 'summary': 'Vs code automatically detects and activates virtual environments for the project, simplifying package installation and usage.', 'duration': 138.627, 'max_score': 1624.924, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ201624924.jpg'}, {'end': 1689.097, 'src': 'embed', 'start': 1658.697, 'weight': 0, 'content': [{'end': 1664.081, 'text': "and that's because vs code automatically picks up virtual environments within the base of our project.", 'start': 1658.697, 'duration': 5.384}, {'end': 1666.463, 'text': 'uh, how, like how we created it here.', 'start': 1664.081, 'duration': 2.382}, {'end': 1670.246, 'text': 'now it can also pick up conda environments as well and things like that.', 'start': 1666.463, 'duration': 3.783}, {'end': 1674.829, 'text': "now, if you're using a virtual environment that's located somewhere else on your machine,", 'start': 1670.246, 'duration': 4.583}, {'end': 1689.097, 'text': 'then to do that you can just open up the settings.json file here in your dot vs code directory And we can just put the path to whatever virtual environment you want to use within here.', 'start': 1674.829, 'duration': 14.268}], 'summary': 'Vs code can automatically detect virtual environments within project base and can also pick up conda environments.', 'duration': 30.4, 'max_score': 1658.697, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ201658697.jpg'}, {'end': 1763.551, 'src': 'embed', 'start': 1738.381, 'weight': 3, 'content': [{'end': 1744.844, 'text': 'so if we wanted to install some packages within this virtual environment, then we should just be able to do it with our pip command.', 'start': 1738.381, 'duration': 6.463}, {'end': 1754.487, 'text': 'so if i say pip install, request to install the request package or the request library, Then I will let this install.', 'start': 1744.844, 'duration': 9.643}, {'end': 1760.83, 'text': 'And once this is installed, then we should be able to just import this into our scripts with no problem.', 'start': 1755.067, 'duration': 5.763}, {'end': 1763.551, 'text': "So I'm going to close down my terminal there.", 'start': 1761.21, 'duration': 2.341}], 'summary': 'Installing packages in a virtual environment using pip command for easy import into scripts.', 'duration': 25.17, 'max_score': 1738.381, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ201738381.jpg'}, {'end': 1816.058, 'src': 'embed', 'start': 1785.322, 'weight': 2, 'content': [{'end': 1791.446, 'text': "So now also as I'm typing here, watch how the IntelliSense works.", 'start': 1785.322, 'duration': 6.124}, {'end': 1793.847, 'text': 'And this is built in the VS code.', 'start': 1791.746, 'duration': 2.101}, {'end': 1797.929, 'text': "And it's going to show us the attributes and methods that we can use for different objects.", 'start': 1794.287, 'duration': 3.642}, {'end': 1808.614, 'text': 'So if I say r is equal to request dot, and whenever I press dot, then it will pop up with all of the things that I can do with requests.', 'start': 1798.289, 'duration': 10.325}, {'end': 1816.058, 'text': 'So we can see that we can use the get method, we can use the post method, session, all kinds of things like that.', 'start': 1808.634, 'duration': 7.424}], 'summary': 'Intellisense in vs code suggests methods for objects, including get, post, and session.', 'duration': 30.736, 'max_score': 1785.322, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ201785322.jpg'}], 'start': 1483.171, 'title': 'Setting python interpreter and creating virtual environment', 'summary': 'Explains how to set the default python interpreter in vs code and create virtual environments using venv, including the process of changing the interpreter and installing packages within the virtual environment.', 'chapters': [{'end': 1855.757, 'start': 1483.171, 'title': 'Setting python interpreter and creating virtual environment', 'summary': 'Explains how to set the default python interpreter in vs code and create virtual environments using venv, including the process of changing the interpreter and installing packages within the virtual environment.', 'duration': 372.586, 'highlights': ['VS Code automatically picks up virtual environments within the base of the project, making it convenient to change the interpreter for the specific project.', 'The process of creating a virtual environment using venv module is demonstrated, with the result of a VENV directory being successfully created for the project.', "The feature of VS Code's IntelliSense is highlighted, showcasing its ability to display attributes and methods for different objects, providing a seamless coding experience.", "The transcript details the process of installing packages within the virtual environment using pip, followed by demonstrating how the IntelliSense feature works for the 'requests' library."]}], 'duration': 372.586, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ201483171.jpg', 'highlights': ['VS Code automatically picks up virtual environments within the base of the project, making it convenient to change the interpreter for the specific project.', 'The process of creating a virtual environment using venv module is demonstrated, with the result of a VENV directory being successfully created for the project.', "The feature of VS Code's IntelliSense is highlighted, showcasing its ability to display attributes and methods for different objects, providing a seamless coding experience.", "The transcript details the process of installing packages within the virtual environment using pip, followed by demonstrating how the IntelliSense feature works for the 'requests' library."]}, {'end': 2219.609, 'segs': [{'end': 1971.977, 'src': 'embed', 'start': 1947.483, 'weight': 4, 'content': [{'end': 1953.83, 'text': "So I'm now I'm actually going to listen to one of those pop ups and use and install a formatter.", 'start': 1947.483, 'duration': 6.347}, {'end': 1958.572, 'text': 'So to format our code, we can use a keyboard shortcut.', 'start': 1954.23, 'duration': 4.342}, {'end': 1960.872, 'text': 'I kind of forget what that shortcut is.', 'start': 1959.212, 'duration': 1.66}, {'end': 1964.414, 'text': "So I'm just going to use my command palette and type in format.", 'start': 1960.932, 'duration': 3.482}, {'end': 1968.035, 'text': 'And we can see here that it is shift alt F.', 'start': 1964.854, 'duration': 3.181}, {'end': 1970.576, 'text': "So I'm going to use shift alt F.", 'start': 1968.035, 'duration': 2.541}, {'end': 1971.977, 'text': 'to format my code.', 'start': 1970.976, 'duration': 1.001}], 'summary': 'Installed a code formatter and used shortcut shift alt f to format code.', 'duration': 24.494, 'max_score': 1947.483, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ201947483.jpg'}, {'end': 2144.648, 'src': 'embed', 'start': 2093.786, 'weight': 0, 'content': [{'end': 2103.651, 'text': "So if I come down here and I start typing, if I press control space, then it's going to show us all the options that we have as we type.", 'start': 2093.786, 'duration': 9.865}, {'end': 2113.776, 'text': "So if I say editor dot and keep typing here, so I typed out editor dot form, then it's going to show me all of these here.", 'start': 2104.031, 'duration': 9.745}, {'end': 2115.977, 'text': 'So format on paste, format on save.', 'start': 2113.796, 'duration': 2.181}, {'end': 2117.958, 'text': 'I want format on save.', 'start': 2116.397, 'duration': 1.561}, {'end': 2121.7, 'text': "So anytime I save, it'll just auto format my code for me.", 'start': 2118.078, 'duration': 3.622}, {'end': 2126.262, 'text': "And that's a setting that I think is very useful so that we don't have to keep manually doing that.", 'start': 2121.92, 'duration': 4.342}, {'end': 2129.303, 'text': 'And the auto-formatting in VS Code really is great.', 'start': 2126.602, 'duration': 2.701}, {'end': 2138.566, 'text': 'Not only does it do Python like we have set up here, but it will also auto-format for JSON and other languages as well.', 'start': 2129.383, 'duration': 9.183}, {'end': 2144.648, 'text': 'And those are all things that usually require additional packages with editors like Sublime Text,', 'start': 2139.066, 'duration': 5.582}], 'summary': 'Vs code allows auto-formatting for python, json, and other languages upon saving, eliminating the need for manual formatting.', 'duration': 50.862, 'max_score': 2093.786, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ202093786.jpg'}, {'end': 2192.599, 'src': 'embed', 'start': 2167.105, 'weight': 2, 'content': [{'end': 2181.436, 'text': 'And now if I open my command palette and I search for sort imports, spell that correctly, If I click on that, then it should sort those out.', 'start': 2167.105, 'duration': 14.331}, {'end': 2185.397, 'text': 'Okay, so we can see that it put these in alphabetical order.', 'start': 2181.856, 'duration': 3.541}, {'end': 2192.599, 'text': "And I think that it dropped request down a line here because it wants to separate out requests since it's a third party package.", 'start': 2185.897, 'duration': 6.702}], 'summary': 'Using command palette, sorting imports alphabetically, dropped request down a line for separation.', 'duration': 25.494, 'max_score': 2167.105, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ202167105.jpg'}], 'start': 1855.757, 'title': 'Auto formatting python code in vs code', 'summary': 'Demonstrates how to auto format python code in vs code using formatters like autopep 8, black, and yapf, and setting up auto-formatting on save, along with the convenience and language support, including the ability to sort imports.', 'chapters': [{'end': 2219.609, 'start': 1855.757, 'title': 'Auto formatting python code in vs code', 'summary': 'Demonstrates how to auto format python code in vs code using formatters such as autopep 8, black, and yapf, and how to set up auto-formatting on save. it also highlights the convenience of auto-formatting in vs code for python, json, and other languages, as well as the ability to sort imports.', 'duration': 363.852, 'highlights': ['The chapter demonstrates how to auto format Python code in VS Code using formatters such as AutoPep 8, Black, and YAPF, and how to set up auto-formatting on save, providing options for choosing formatters like AutoPep 8 or Black, and explaining the process of using the Shift Alt F shortcut to format code.', 'It also highlights the convenience of auto-formatting in VS Code for Python, JSON, and other languages, as well as the ability to sort imports, showcasing the versatility of VS Code in auto-formatting and sorting imports for different languages.', 'The chapter showcases the ability to sort imports in VS Code, demonstrating the feature by adding imports for requests, OS, and math, and then using the command palette to sort the imports alphabetically and separate third-party packages from standard library modules.', "The chapter explains the process of setting up auto-formatting on save, demonstrating how to search for and enable the 'format on save' setting, highlighting the convenience of auto-formatting code without manual intervention, and emphasizing the usefulness of this setting to avoid manual formatting.", 'The chapter provides options for choosing formatters like AutoPep 8 or Black, and explains the process of using the Shift Alt F shortcut to format code, demonstrating the flexibility of choosing different formatters and the ease of formatting code using keyboard shortcuts.']}], 'duration': 363.852, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ201855757.jpg', 'highlights': ['The chapter demonstrates how to auto format Python code in VS Code using formatters such as AutoPep 8, Black, and YAPF, and how to set up auto-formatting on save, providing options for choosing formatters like AutoPep 8 or Black, and explaining the process of using the Shift Alt F shortcut to format code.', "The chapter explains the process of setting up auto-formatting on save, demonstrating how to search for and enable the 'format on save' setting, highlighting the convenience of auto-formatting code without manual intervention, and emphasizing the usefulness of this setting to avoid manual formatting.", 'The chapter showcases the ability to sort imports in VS Code, demonstrating the feature by adding imports for requests, OS, and math, and then using the command palette to sort the imports alphabetically and separate third-party packages from standard library modules.', 'It also highlights the convenience of auto-formatting in VS Code for Python, JSON, and other languages, as well as the ability to sort imports, showcasing the versatility of VS Code in auto-formatting and sorting imports for different languages.', 'The chapter provides options for choosing formatters like AutoPep 8 or Black, and explains the process of using the Shift Alt F shortcut to format code, demonstrating the flexibility of choosing different formatters and the ease of formatting code using keyboard shortcuts.']}, {'end': 2824.028, 'segs': [{'end': 2286.896, 'src': 'embed', 'start': 2219.609, 'weight': 0, 'content': [{'end': 2225.13, 'text': 'sort imports on that then it should move that from import down to the bottom there.', 'start': 2219.609, 'duration': 5.521}, {'end': 2226.391, 'text': 'So just like it did.', 'start': 2225.27, 'duration': 1.121}, {'end': 2226.951, 'text': "So that's good.", 'start': 2226.451, 'duration': 0.5}, {'end': 2230.032, 'text': "Okay, so now let's also get code linting enabled.", 'start': 2227.371, 'duration': 2.661}, {'end': 2234.713, 'text': 'So he can see the pop up down here that it keeps telling me that I should be using this.', 'start': 2230.632, 'duration': 4.081}, {'end': 2239.354, 'text': 'So linting will look at our code and tell us if it thinks that something is off.', 'start': 2235.073, 'duration': 4.281}, {'end': 2244.996, 'text': "And it's nice to have this because it can keep you from making mistakes that you might not notice on your own.", 'start': 2239.774, 'duration': 5.222}, {'end': 2253.124, 'text': "So if this pop-up wasn't open here, I'm just going to close it one more time, then we can search using our command palette.", 'start': 2245.496, 'duration': 7.628}, {'end': 2255.306, 'text': "I'm just going to type in linting.", 'start': 2253.444, 'duration': 1.862}, {'end': 2257.728, 'text': "And now I'm going to choose run linting.", 'start': 2255.806, 'duration': 1.922}, {'end': 2261.572, 'text': "When I try to run linting, it's going to pop up with that pop-up.", 'start': 2257.968, 'duration': 3.604}, {'end': 2267.177, 'text': "So now I'm going to install that and it'll install PyLint.", 'start': 2262.012, 'duration': 5.165}, {'end': 2275.065, 'text': 'and you can use other linters as well, but i think that pylent is a nice default linter to use.', 'start': 2268.238, 'duration': 6.827}, {'end': 2280.229, 'text': "i haven't really tried any of the other ones, but pylent has been good for me, okay.", 'start': 2275.065, 'duration': 5.164}, {'end': 2286.896, 'text': 'so once pylent is finished installing there now let me put something in that will trigger a linting error and a warning.', 'start': 2280.229, 'duration': 6.667}], 'summary': 'Enabling code linting with pylint to identify and fix errors and warnings.', 'duration': 67.287, 'max_score': 2219.609, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ202219609.jpg'}, {'end': 2345.304, 'src': 'embed', 'start': 2312.677, 'weight': 3, 'content': [{'end': 2315.539, 'text': 'Did you mean print with the parentheses?', 'start': 2312.677, 'duration': 2.862}, {'end': 2325.01, 'text': "Now, if that's too hard to read there, because we're zoomed in so far, we can also click down here in the bottom left right beside our interpreter,", 'start': 2315.979, 'duration': 9.031}, {'end': 2327.093, 'text': 'and we can see that there are errors and warnings.', 'start': 2325.01, 'duration': 2.083}, {'end': 2328.695, 'text': 'So this is marked as an error.', 'start': 2327.353, 'duration': 1.342}, {'end': 2332.94, 'text': 'If I click on that, then we can see that it lists out the problems for us here.', 'start': 2328.895, 'duration': 4.045}, {'end': 2338.802, 'text': 'So here we have one problem in our script and it says missing parentheses and call to print.', 'start': 2333.34, 'duration': 5.462}, {'end': 2345.304, 'text': 'So then that will give me a hint as to what I need to change and I can come up here and fix that.', 'start': 2339.122, 'duration': 6.182}], 'summary': 'Troubleshooting python code with errors and warnings, fixing missing parentheses in print call.', 'duration': 32.627, 'max_score': 2312.677, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ202312677.jpg'}, {'end': 2403.614, 'src': 'embed', 'start': 2376.481, 'weight': 4, 'content': [{'end': 2380.324, 'text': "So with that pointed out, I'm just going to get rid of that to clean up the code.", 'start': 2376.481, 'duration': 3.843}, {'end': 2381.765, 'text': 'And there we go.', 'start': 2380.884, 'duration': 0.881}, {'end': 2387.547, 'text': 'Okay, so now let me show you an extension that I like to use that makes running Python code a bit easier.', 'start': 2382.285, 'duration': 5.262}, {'end': 2394.17, 'text': "So so far, we've been right clicking and selecting run code in terminal every time we want to run our Python code.", 'start': 2387.907, 'duration': 6.263}, {'end': 2395.891, 'text': "But I'm not the biggest fan of that.", 'start': 2394.47, 'duration': 1.421}, {'end': 2399.632, 'text': "I'd rather have an easy keyboard shortcut that does this for us.", 'start': 2396.511, 'duration': 3.121}, {'end': 2403.614, 'text': "And also, I don't like how much output the terminal shows.", 'start': 2400.052, 'duration': 3.562}], 'summary': 'Demonstrating code cleanup and introducing a helpful python extension.', 'duration': 27.133, 'max_score': 2376.481, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ202376481.jpg'}, {'end': 2543.426, 'src': 'embed', 'start': 2518.594, 'weight': 5, 'content': [{'end': 2525.097, 'text': 'so this is the global version of Python and I do have requests installed in that global version of Python.', 'start': 2518.594, 'duration': 6.503}, {'end': 2532.181, 'text': "but if I didn't have requests installed, then that would fail, even though I do have requests installed in my virtual environment.", 'start': 2525.097, 'duration': 7.084}, {'end': 2538.884, 'text': 'so we want to set this up to use our virtual environment instead of our global Python.', 'start': 2532.181, 'duration': 6.703}, {'end': 2543.426, 'text': 'so to see how to do this, we can change our settings.', 'start': 2538.884, 'duration': 4.542}], 'summary': 'Using global python may cause failure due to missing packages. we should set up to use virtual environment instead.', 'duration': 24.832, 'max_score': 2518.594, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ202518594.jpg'}, {'end': 2816.845, 'src': 'embed', 'start': 2780.502, 'weight': 6, 'content': [{'end': 2782.363, 'text': 'And I would always just recommend against it.', 'start': 2780.502, 'duration': 1.861}, {'end': 2785.204, 'text': 'I would just recommend instead using the terminal.', 'start': 2782.503, 'duration': 2.701}, {'end': 2788.725, 'text': 'So to write your script within Sublime and then use the terminal.', 'start': 2785.264, 'duration': 3.461}, {'end': 2798.012, 'text': "Now within VS Code, if we want to use input, then it's kind of the same process, but now we have a terminal built in.", 'start': 2789.686, 'duration': 8.326}, {'end': 2805.457, 'text': "So I'm going to just get rid of my code here, everything except the imports, and now I'm just going to use an input.", 'start': 2798.392, 'duration': 7.065}, {'end': 2816.845, 'text': "So I'm going to say name is equal to input, and for the input, I'm just going to say your name, question mark, And now I will print out a greeting.", 'start': 2805.497, 'duration': 11.348}], 'summary': 'Use terminal for script writing, vs code has built-in terminal for input.', 'duration': 36.343, 'max_score': 2780.502, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ202780502.jpg'}], 'start': 2219.609, 'title': 'Code linting, import sorting, and troubleshooting python errors in vs code', 'summary': 'Covers enabling pylint for code linting, sorting imports, and troubleshooting python errors using syntax highlighting, warnings, and code runner extensions, including configuring settings for virtual environment and keyboard shortcuts.', 'chapters': [{'end': 2286.896, 'start': 2219.609, 'title': 'Code linting and import sorting in vs code', 'summary': 'Covers enabling code linting in vs code to identify and prevent coding mistakes, specifically using pylint as the default linter, and also emphasizes the process of sorting imports to enhance code readability and maintenance.', 'duration': 67.287, 'highlights': ['Enabling code linting in VS Code using PyLint as the default linter to identify and prevent coding mistakes.', 'Emphasizing the process of sorting imports to enhance code readability and maintenance.', 'Installing PyLint to enable linting and utilizing the command palette to run linting in VS Code.']}, {'end': 2824.028, 'start': 2287.336, 'title': 'Troubleshooting python errors and using code runner extension', 'summary': 'Details troubleshooting python errors using syntax highlighting, warnings, and code runner extensions, also configuring settings for using virtual environment and keyboard shortcuts.', 'duration': 536.692, 'highlights': ['The chapter explains using syntax highlighting and warnings for troubleshooting Python errors and warnings. The transcript discusses how syntax highlighting and warnings are used to identify and troubleshoot Python errors and warnings, such as missing parentheses in a print statement and unused variables, providing visual cues for code improvement.', "The chapter introduces the Code Runner extension for running Python code more efficiently. The chapter presents the Code Runner extension as a tool to run Python code more conveniently, avoiding the need to right-click and select 'run code in terminal' every time, and also mentions the desire for an easy keyboard shortcut and less terminal output.", 'The chapter demonstrates configuring settings to use a virtual environment for running Python code. The transcript details the process of configuring settings to use a virtual environment instead of the global version of Python for running code, ensuring that the correct version and libraries are utilized for successful execution.', 'The chapter highlights the usage of input within VS Code for user interaction. The chapter explains how input can be used within VS Code for user interaction, similar to using the terminal in Sublime Text, allowing for input within the IDE and showcasing the convenience of having a built-in terminal.']}], 'duration': 604.419, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ202219609.jpg', 'highlights': ['Enabling code linting in VS Code using PyLint as the default linter to identify and prevent coding mistakes.', 'Emphasizing the process of sorting imports to enhance code readability and maintenance.', 'Installing PyLint to enable linting and utilizing the command palette to run linting in VS Code.', 'Using syntax highlighting and warnings for troubleshooting Python errors and warnings.', 'Introducing the Code Runner extension for running Python code more efficiently.', 'Demonstrating configuring settings to use a virtual environment for running Python code.', 'Highlighting the usage of input within VS Code for user interaction.']}, {'end': 3521.572, 'segs': [{'end': 2967.593, 'src': 'embed', 'start': 2940.178, 'weight': 1, 'content': [{'end': 2950.801, 'text': "So within my folder here, I'm going to click on this icon here beside my project directory, that is add new file and I want to add one that is called", 'start': 2940.178, 'duration': 10.623}, {'end': 2953.881, 'text': 'gitignore So I will create that.', 'start': 2950.801, 'duration': 3.08}, {'end': 2958.284, 'text': 'Within there, I want to ignore VENV, the VENV directory.', 'start': 2954.302, 'duration': 3.982}, {'end': 2961.347, 'text': "And I'm also going to ignore this .", 'start': 2958.865, 'duration': 2.482}, {'end': 2967.593, 'text': "VS code directory as well, because usually you don't want to commit personal settings like that.", 'start': 2961.347, 'duration': 6.246}], 'summary': 'Adding gitignore file to ignore venv and vs code directory.', 'duration': 27.415, 'max_score': 2940.178, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ202940178.jpg'}, {'end': 3048.938, 'src': 'embed', 'start': 3019.743, 'weight': 2, 'content': [{'end': 3022.564, 'text': "So we'll click on this source control tab and our activity bar.", 'start': 3019.743, 'duration': 2.821}, {'end': 3028.968, 'text': 'And now we can see that it only wants to stage the gitignore file and our Python script.', 'start': 3023.085, 'duration': 5.883}, {'end': 3034.951, 'text': 'So to stage those, we could hover over them and just click on the plus icon beside each file.', 'start': 3029.328, 'duration': 5.623}, {'end': 3037.833, 'text': 'So if I do that with gitignore, we can see that that got staged.', 'start': 3035.051, 'duration': 2.782}, {'end': 3044.636, 'text': 'Or if we wanted to stage all of the changes, then we can just click the extra options up here at the top right.', 'start': 3038.393, 'duration': 6.243}, {'end': 3048.938, 'text': 'And then if I scroll down here, I can go to stage all changes.', 'start': 3045.256, 'duration': 3.682}], 'summary': 'Demonstrating staging of gitignore file and python script using source control tab.', 'duration': 29.195, 'max_score': 3019.743, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ203019743.jpg'}, {'end': 3113.642, 'src': 'embed', 'start': 3087.339, 'weight': 3, 'content': [{'end': 3096.967, 'text': 'Now I use git bash, so if you want to use git bash as well, then we can set up what terminal we want to use within VS Code.', 'start': 3087.339, 'duration': 9.628}, {'end': 3105.874, 'text': "So to do that, I'm going to open up my browser again here, and I have this integrated terminal section of their documentation opened up here.", 'start': 3097.267, 'duration': 8.607}, {'end': 3113.642, 'text': 'And you can change what terminal you use by changing this command here, terminal.integrated.shell.windows.', 'start': 3106.434, 'duration': 7.208}], 'summary': 'Using git bash terminal in vs code can be customized.', 'duration': 26.303, 'max_score': 3087.339, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ203087339.jpg'}, {'end': 3365.091, 'src': 'embed', 'start': 3335.026, 'weight': 0, 'content': [{'end': 3338.146, 'text': "So now let's say that we wanted to commit this code up to GitHub.", 'start': 3335.026, 'duration': 3.12}, {'end': 3340.227, 'text': 'So this is pretty simple to do as well.', 'start': 3338.406, 'duration': 1.821}, {'end': 3348.052, 'text': 'So all we have to do is create a repository within the browser And then we can set that up to push to that repository.', 'start': 3340.567, 'duration': 7.485}, {'end': 3351.656, 'text': "So I've got my GitHub open here in the browser.", 'start': 3348.392, 'duration': 3.264}, {'end': 3356.642, 'text': 'So let me refresh this to make sure I am still logged in and it looks like I am.', 'start': 3352.077, 'duration': 4.565}, {'end': 3357.263, 'text': "So that's good.", 'start': 3356.702, 'duration': 0.561}, {'end': 3365.091, 'text': "So now I'm going to create a new repository and I'm just going to call this sample dash repo.", 'start': 3357.663, 'duration': 7.428}], 'summary': 'Creating and pushing code to github repository, setting up sample-repo.', 'duration': 30.065, 'max_score': 3335.026, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ203335026.jpg'}], 'start': 2825.049, 'title': 'Vs code and git integration', 'summary': 'Covers using vs code for running python programs, initializing a repository, staging and committing files, and setting up git and github, including pushing code to github, with additional resources for learning.', 'chapters': [{'end': 3061.324, 'start': 2825.049, 'title': 'Vs code git integration', 'summary': 'Explains how to use vs code for running python programs and integrating with git, including initializing a repository, ignoring specific directories, staging and committing files.', 'duration': 236.275, 'highlights': ["Using VS Code to run Python programs by right-clicking and selecting 'run current run Python file in Terminal' allows for easy execution of the program, as demonstrated by inputting 'corey' and observing the program's smooth functionality. This demonstrates the ease of running Python programs in VS Code by right-clicking and selecting 'run current run Python file in Terminal', resulting in the successful execution of the program with the input 'corey'.", 'The process of initializing a Git repository in VS Code involves clicking on the source control tab, selecting the Git symbol, and initializing the repository, followed by the identification of files to track and the creation of a .gitignore file to ignore specific directories, such as VENV and .VSCode, which is further exemplified by staging and committing files. The initialization of a Git repository in VS Code is outlined, including the identification of files to track, the creation of a .gitignore file to ignore specific directories, such as VENV and .VSCode, and the subsequent staging and committing of files.', "Utilizing the staging feature in VS Code by clicking the plus icon beside the files or using the 'stage all changes' option allows for efficient file staging, as demonstrated with the gitignore file and the script.py file. The efficient utilization of the staging feature in VS Code is demonstrated through the use of the plus icon beside the files or the 'stage all changes' option, resulting in the successful staging of the gitignore file and the script.py file."]}, {'end': 3521.572, 'start': 3061.644, 'title': 'Setting up git and github in vs code', 'summary': 'Covers setting up git and github in vs code, including configuring the terminal, setting up git commands, committing code, pushing code to github, and additional resources available for learning.', 'duration': 459.928, 'highlights': ['Configuring the terminal to use Git Bash within VS Code The speaker explains how to configure the terminal to use Git Bash within VS Code, providing guidance on changing the integrated terminal and verifying the installation location of Git Bash.', 'Committing code to Git and checking the changes made The process of committing code to Git and checking the changes made is demonstrated, including staging changes, committing the modifications, and viewing the differences in the code.', 'Pushing code to GitHub from VS Code and verifying the successful upload The speaker demonstrates the process of pushing code to GitHub from VS Code, including connecting the local repository to the GitHub repository, pushing the code, and verifying the successful upload on GitHub.', 'Additional resources for learning Git and future plans for a GitHub video The speaker mentions additional resources available for learning Git and plans for a future video on GitHub, providing a link to a detailed video on Git and indicating the intention to create content on GitHub in the near future.']}], 'duration': 696.523, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ202825049.jpg', 'highlights': ['The process of pushing code to GitHub from VS Code, including connecting the local repository to the GitHub repository, pushing the code, and verifying the successful upload on GitHub.', 'The process of initializing a Git repository in VS Code involves clicking on the source control tab, selecting the Git symbol, and initializing the repository, followed by the identification of files to track and the creation of a .gitignore file to ignore specific directories, such as VENV and .VSCode, which is further exemplified by staging and committing files.', "Utilizing the staging feature in VS Code by clicking the plus icon beside the files or using the 'stage all changes' option allows for efficient file staging, as demonstrated with the gitignore file and the script.py file.", 'Configuring the terminal to use Git Bash within VS Code The speaker explains how to configure the terminal to use Git Bash within VS Code, providing guidance on changing the integrated terminal and verifying the installation location of Git Bash.']}, {'end': 3826.186, 'segs': [{'end': 3550.395, 'src': 'embed', 'start': 3521.792, 'weight': 0, 'content': [{'end': 3528.597, 'text': 'But for this video, I just wanted to cover the basics of their Git integration and just show you how to get started with that.', 'start': 3521.792, 'duration': 6.805}, {'end': 3533.68, 'text': "Okay, so now let's look at how to do some basic debugging within VS Code.", 'start': 3529.177, 'duration': 4.503}, {'end': 3539.925, 'text': "So this is a really nice feature that doesn't come built in with some of the other minimalist editors out there.", 'start': 3533.981, 'duration': 5.944}, {'end': 3542.587, 'text': "So we're back here in our script.", 'start': 3540.325, 'duration': 2.262}, {'end': 3550.395, 'text': 'And to put in a breakpoint, we can simply come over here into the gutter and we can where it has this red line here.', 'start': 3543.127, 'duration': 7.268}], 'summary': 'Covered basics of git integration and demonstrated basic debugging in vs code.', 'duration': 28.603, 'max_score': 3521.792, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ203521792.jpg'}, {'end': 3637.612, 'src': 'embed', 'start': 3610.625, 'weight': 4, 'content': [{'end': 3614.068, 'text': 'now this is going to start a debugger here.', 'start': 3610.625, 'duration': 3.443}, {'end': 3619.878, 'text': "what this is going to do is it's going to run our code and it's going to stop at our breakpoints.", 'start': 3615.074, 'duration': 4.804}, {'end': 3625.042, 'text': 'so now we can interact with our code as it is at the moment of that breakpoint.', 'start': 3619.878, 'duration': 5.164}, {'end': 3634.71, 'text': "so if we look here in the top left, then it'll show you all of the current local values in our code and we can drill down into these as well.", 'start': 3625.042, 'duration': 9.668}, {'end': 3637.612, 'text': 'so we can see that we have this r variable here.', 'start': 3634.71, 'duration': 2.902}], 'summary': 'Using the debugger allows us to interact with code at breakpoints, revealing local values and enabling drill down.', 'duration': 26.987, 'max_score': 3610.625, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ203610625.jpg'}, {'end': 3836.672, 'src': 'embed', 'start': 3813.357, 'weight': 3, 'content': [{'end': 3820.262, 'text': "And I'm really loving their attention to detail and how they covered so many different aspects of helping us manage our code as easily as possible.", 'start': 3813.357, 'duration': 6.905}, {'end': 3826.186, 'text': "So having the built-in support for all this stuff is definitely a nice addition that you're not going to find in most other editors.", 'start': 3820.582, 'duration': 5.604}, {'end': 3836.672, 'text': "So to show some unit testing, I'm going to close down my current project and I'm going to open up a different project that has some sample unit tests.", 'start': 3826.586, 'duration': 10.086}], 'summary': 'Loving the attention to detail and built-in support for managing code, with focus on unit testing.', 'duration': 23.315, 'max_score': 3813.357, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ203813357.jpg'}], 'start': 3521.792, 'title': 'Vs code: git integration, debugging, and unit testing', 'summary': 'Covers the basics of git integration, setting up breakpoints for basic debugging, and discusses the process of setting up and using debugging configurations in vs code. it also demonstrates how to set breakpoints, inspect local variables, and use the debug console, while highlighting the built-in unit testing support.', 'chapters': [{'end': 3565.39, 'start': 3521.792, 'title': 'Vs code: git integration and basic debugging', 'summary': 'Covers the basics of git integration in vs code and demonstrates how to set up a breakpoint for basic debugging, a feature not available in other minimalist editors.', 'duration': 43.598, 'highlights': ['Setting up a breakpoint in VS Code enables basic debugging, a feature not available in other minimalist editors.', 'The chapter covers the basics of Git integration in VS Code.']}, {'end': 3826.186, 'start': 3565.751, 'title': 'Debugging and unit testing in vs code', 'summary': 'Discusses the process of setting up and using debugging configurations in visual studio code, demonstrating how to set breakpoints, inspect local variables, and use the debug console, while also highlighting the built-in unit testing support.', 'duration': 260.435, 'highlights': ['The chapter explains how to set up and use debugging configurations in VS Code, including setting breakpoints, inspecting local variables, and using the debug console.', 'It demonstrates the process of setting up configurations for debugging Python files, including specifying ports and running the main Flask app.', 'The transcript highlights the usefulness of debugging, emphasizing that it allows for interaction with code at breakpoints, inspection of local values, and the ability to use the debug console as an interactive Python prompt.', 'It mentions the various options available when at a breakpoint, such as continuing, stepping over, stepping into, stepping out, restarting, or stopping the debug session.', 'The chapter also praises the built-in unit testing support in VS Code, noting its comprehensive coverage and the advantage it provides over other editors.']}], 'duration': 304.394, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ203521792.jpg', 'highlights': ['The chapter covers the basics of Git integration in VS Code.', 'Setting up a breakpoint in VS Code enables basic debugging, a feature not available in other minimalist editors.', 'The chapter explains how to set up and use debugging configurations in VS Code, including setting breakpoints, inspecting local variables, and using the debug console.', 'The chapter also praises the built-in unit testing support in VS Code, noting its comprehensive coverage and the advantage it provides over other editors.', 'The transcript highlights the usefulness of debugging, emphasizing that it allows for interaction with code at breakpoints, inspection of local values, and the ability to use the debug console as an interactive Python prompt.']}, {'end': 4510.642, 'segs': [{'end': 4035.437, 'src': 'embed', 'start': 4012.283, 'weight': 0, 'content': [{'end': 4019.965, 'text': 'And after it discovered that unit test, we can see that we had these pop-ups here within a VS code that says run test,', 'start': 4012.283, 'duration': 7.682}, {'end': 4022.405, 'text': 'debug test right here within the editor.', 'start': 4019.965, 'duration': 2.44}, {'end': 4025.668, 'text': 'So we can run a single test at a time if we want.', 'start': 4022.785, 'duration': 2.883}, {'end': 4033.135, 'text': 'So if I was to check this test add test here, if I run that, then we can see that that got a checkmark.', 'start': 4025.968, 'duration': 7.167}, {'end': 4035.437, 'text': 'But none of these other ones actually ran.', 'start': 4033.755, 'duration': 1.682}], 'summary': 'Vs code allows running unit tests individually, with pop-ups for running and debugging.', 'duration': 23.154, 'max_score': 4012.283, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ204012283.jpg'}, {'end': 4212.385, 'src': 'embed', 'start': 4177.469, 'weight': 1, 'content': [{'end': 4179.109, 'text': 'And we can see that all those are passing now.', 'start': 4177.469, 'duration': 1.64}, {'end': 4183.611, 'text': 'So I think that this is an awesome interface for seeing all of our tests in one place.', 'start': 4179.49, 'duration': 4.121}, {'end': 4185.471, 'text': 'And if something is failing,', 'start': 4184.051, 'duration': 1.42}, {'end': 4192.554, 'text': 'then we can come in here and just rerun a specific test by running it individually instead of rerunning our entire test suite.', 'start': 4185.471, 'duration': 7.083}, {'end': 4195.835, 'text': "So I think it's an awesome feature that's built right into VS Code.", 'start': 4192.913, 'duration': 2.922}, {'end': 4199.937, 'text': "Now there's one last thing that I want to show you in this video and it's only going to take one second.", 'start': 4196.175, 'duration': 3.762}, {'end': 4204, 'text': "So I have some other preferred settings that I haven't shown in this video,", 'start': 4200.318, 'duration': 3.682}, {'end': 4212.385, 'text': 'and most of them are settings for changing how the editor looks in full screen Zen mode and will allow me to run code without too much other stuff getting in the way.', 'start': 4204, 'duration': 8.385}], 'summary': 'Vs code provides an interface to view and rerun tests individually, improving efficiency.', 'duration': 34.916, 'max_score': 4177.469, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ204177469.jpg'}, {'end': 4340.655, 'src': 'embed', 'start': 4310.335, 'weight': 3, 'content': [{'end': 4314.518, 'text': "So I'll open up my command palette and just type in Zen and open up Zenmode here.", 'start': 4310.335, 'duration': 4.183}, {'end': 4316.919, 'text': 'And we can see how I have this set up.', 'start': 4315.018, 'duration': 1.901}, {'end': 4322.703, 'text': 'It takes away our activity bar, the blue bar down here at the bottom.', 'start': 4318.08, 'duration': 4.623}, {'end': 4328.287, 'text': "So it's just a lot more clean and nothing is distracting us from the code itself.", 'start': 4323.003, 'duration': 5.284}, {'end': 4332.57, 'text': 'And we can still run code by just clicking up here and clicking run code.', 'start': 4328.647, 'duration': 3.923}, {'end': 4335.892, 'text': "Now it's telling me it can't find the specified path.", 'start': 4332.97, 'duration': 2.922}, {'end': 4340.655, 'text': 'And the reason is because, like I was saying, these are my Mac settings.', 'start': 4336.352, 'duration': 4.303}], 'summary': 'Zen mode removes distractions for focused coding, but may encounter path issues for mac settings.', 'duration': 30.32, 'max_score': 4310.335, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ204310335.jpg'}, {'end': 4403.106, 'src': 'embed', 'start': 4379.147, 'weight': 4, 'content': [{'end': 4387.251, 'text': 'but with zen mode set up, like i have it set up here, we have a very similar nice, minimalist setup here in vs code as well.', 'start': 4379.147, 'duration': 8.104}, {'end': 4391.754, 'text': 'so you might see me using this if i completely make the switch over to vs code.', 'start': 4387.251, 'duration': 4.503}, {'end': 4396.779, 'text': "Okay, so that's all I wanted to cover for the Python features that I wanted to show you in VS Code.", 'start': 4392.174, 'duration': 4.605}, {'end': 4403.106, 'text': "Now there's a ton more to learn about VS Code itself, but I might save that for another video if anyone is interested.", 'start': 4397.099, 'duration': 6.007}], 'summary': 'Vs code has a minimalist setup with zen mode. more features to learn.', 'duration': 23.959, 'max_score': 4379.147, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ204379147.jpg'}, {'end': 4443.5, 'src': 'embed', 'start': 4417.759, 'weight': 5, 'content': [{'end': 4424.825, 'text': 'So we can just open up the command palette and search for keyboard, oops, spelled that wrong, keyboard shortcuts.', 'start': 4417.759, 'duration': 7.066}, {'end': 4428.428, 'text': 'And the first result here is keyboard shortcut references.', 'start': 4425.226, 'duration': 3.202}, {'end': 4431.831, 'text': 'And this will open up a webpage and we can zoom in here.', 'start': 4428.829, 'duration': 3.002}, {'end': 4436.815, 'text': "And we can see that this shows us basically how to do anything within VS Code that we'd want to do.", 'start': 4432.351, 'duration': 4.464}, {'end': 4440.058, 'text': 'So we have all of the multi-cursor selection here.', 'start': 4437.355, 'duration': 2.703}, {'end': 4443.5, 'text': 'file management, search and replace, things like that.', 'start': 4440.778, 'duration': 2.722}], 'summary': 'Vs code command palette provides access to keyboard shortcuts and references for various tasks, including multi-cursor selection and file management.', 'duration': 25.741, 'max_score': 4417.759, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ204417759.jpg'}, {'end': 4503.175, 'src': 'embed', 'start': 4475.477, 'weight': 6, 'content': [{'end': 4478.858, 'text': 'and then use that one and make sure that it stays supported, and things like that.', 'start': 4475.477, 'duration': 3.381}, {'end': 4480.599, 'text': "It's not like that with VS Code.", 'start': 4479.218, 'duration': 1.381}, {'end': 4486.541, 'text': 'It makes recommendations to install what it suggests and then it just makes it easy to get those up and running.', 'start': 4480.779, 'duration': 5.762}, {'end': 4491.765, 'text': 'But if anyone has any questions about what we covered in this video, then feel free to ask in the comment section below,', 'start': 4486.801, 'duration': 4.964}, {'end': 4492.966, 'text': "and I'll do my best to answer those.", 'start': 4491.765, 'duration': 1.201}, {'end': 4496.95, 'text': 'And if you enjoy these tutorials and would like to support them, then there are several ways you can do that.', 'start': 4493.287, 'duration': 3.663}, {'end': 4499.953, 'text': 'The easiest way is to simply like the video and give it a thumbs up,', 'start': 4497.31, 'duration': 2.643}, {'end': 4503.175, 'text': "and also it's a huge help to share these videos with anyone who you think would find them useful.", 'start': 4499.953, 'duration': 3.222}], 'summary': 'Vs code simplifies installation, offers support, and encourages sharing for support.', 'duration': 27.698, 'max_score': 4475.477, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ204475477.jpg'}], 'start': 3826.586, 'title': 'Vs code python features', 'summary': 'Demonstrates python features in vs code, including zen mode, modifying settings, and accessing keyboard shortcuts. it emphasizes ease of use and built-in features, encouraging support through likes, shares, and patreon contributions.', 'chapters': [{'end': 4291.466, 'start': 3826.586, 'title': 'Unit testing in vs code', 'summary': 'Demonstrates how to set up and run unit tests in vs code, including navigating to the project directory, discovering and running unit tests, identifying test patterns, running single or entire test classes, handling failed tests, and using the testing tab for visual indication of test results.', 'duration': 464.88, 'highlights': ['Running and discovering unit tests in VS Code including identifying test patterns and running single or entire test classes The chapter covers how to run and discover unit tests in VS Code, including identifying test patterns such as test underscore and wildcard name of the file, and running single or entire test classes.', 'Handling failed tests and viewing test output in VS Code The chapter explains how to handle failed tests in VS Code, including viewing test output and identifying the specific location of the error within the code.', 'Adding preferred settings for full screen Zen mode and running code without distractions in VS Code The chapter briefly covers adding preferred settings for full screen Zen mode and running code without distractions in VS Code, demonstrating how to adjust settings for a better coding experience.']}, {'end': 4510.642, 'start': 4291.466, 'title': 'Vs code python features', 'summary': 'Highlights the python features in vs code, including zen mode for distraction-free coding, modifying settings for different operating systems, and accessing keyboard shortcuts. it also emphasizes the ease of use and built-in features of vs code, encouraging support through likes, shares, and patreon contributions.', 'duration': 219.176, 'highlights': ['VS Code includes Zen mode for distraction-free coding, hiding menus and other distractions, creating a minimalist setup. Zen mode in VS Code allows a distraction-free environment for coding, hiding menus and the activity bar, providing a minimalist setup.', 'Ease of modifying settings for different operating systems in VS Code, ensuring a consistent coding experience. The speaker demonstrates modifying settings for different operating systems in VS Code, ensuring a consistent coding experience across platforms.', 'Accessing keyboard shortcuts and references in VS Code for efficient coding and editing. VS Code provides easy access to keyboard shortcuts and references for efficient coding and editing, including multi-cursor selection and file management.', 'Emphasizing the ease of use and built-in features of VS Code, highlighting the convenience of installing and configuring additional features. The speaker praises the ease of use and built-in features of VS Code, contrasting it with other editors in terms of ease of installation and configuration of additional features.', 'Encouraging support through likes, shares, and Patreon contributions to support the tutorials and future content. The chapter encourages support through likes, shares, and Patreon contributions to support the tutorials and future content, emphasizing the importance of community engagement.']}], 'duration': 684.056, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/-nh9rCzPJ20/pics/-nh9rCzPJ203826586.jpg', 'highlights': ['Running and discovering unit tests in VS Code including identifying test patterns and running single or entire test classes', 'Handling failed tests and viewing test output in VS Code', 'Adding preferred settings for full screen Zen mode and running code without distractions in VS Code', 'VS Code includes Zen mode for distraction-free coding, hiding menus and other distractions, creating a minimalist setup', 'Ease of modifying settings for different operating systems in VS Code, ensuring a consistent coding experience', 'Accessing keyboard shortcuts and references in VS Code for efficient coding and editing', 'Emphasizing the ease of use and built-in features of VS Code, highlighting the convenience of installing and configuring additional features', 'Encouraging support through likes, shares, and Patreon contributions to support the tutorials and future content']}], 'highlights': ['The Python extension in VS Code has 42.2 million downloads, providing support for linting, debugging, formatting, unit testing, and IntelliSense.', 'VS Code automatically picks up virtual environments within the base of the project, making it convenient to change the interpreter for the specific project.', 'The chapter demonstrates how to auto format Python code in VS Code using formatters such as AutoPep 8, Black, and YAPF, and how to set up auto-formatting on save, providing options for choosing formatters like AutoPep 8 or Black, and explaining the process of using the Shift Alt F shortcut to format code.', 'The process of pushing code to GitHub from VS Code, including connecting the local repository to the GitHub repository, pushing the code, and verifying the successful upload on GitHub.', 'Setting up a breakpoint in VS Code enables basic debugging, a feature not available in other minimalist editors.', 'Running and discovering unit tests in VS Code including identifying test patterns and running single or entire test classes', 'VS Code includes Zen mode for distraction-free coding, hiding menus and other distractions, creating a minimalist setup', 'Emphasizing the ease of use and built-in features of VS Code, highlighting the convenience of installing and configuring additional features']}