In [1]:
#BeautifulSoup
#Beautiful Soup is a library that makes it easy to scrape information from web pages.
#Website Scrapping - Parsing the content from website, pulling the information you want
#Install these modules using pip beautifulsoup4,request,lxml,request.
In [9]:
from bs4 import BeautifulSoup 
with open('simple.html') as html_file:
    soup= BeautifulSoup(html_file,'lxml') #lxml is parser.
In [7]:
match = soup.title    #prints the whole title like this "<title>Python Tutorial</title>"
match = soup.title.text #use when only want the text between tags
print(match)
Test - A Sample Website
In [23]:
match = soup.div
print(match)  #will print the first div in page
<div class="article">
<h2><a href="article_1.html">Article 1 Headline</a></h2>
<p>This is a summary of article 1</p>
</div>
In [24]:
match = soup.find('div',class_='footer')  #can used to find particular div
print(match)
<div class="footer">
<p>Footer Information</p>
</div>
In [28]:
article = soup.find('div',class_='article')
print(article)
<div class="article">
<h2><a href="article_1.html">Article 1 Headline</a></h2>
<p>This is a summary of article 1</p>
</div>
In [35]:
headline=article.h2.a.text
#will grab h2 from our article which was scrapped above. and from it only grap text data of tag a 
print(headline)
Article 1 Headline
In [36]:
summary= article.p.text
print(summary)
This is a summary of article 1
In [37]:
#To get the information from all the articles
for article in soup.find_all('div',class_='article'):
    headline=article.h2.a.text
    print(headline)
    summary= article.p.text
    print(summary)
    print()
Article 1 Headline
This is a summary of article 1

Article 2 Headline
This is a summary of article 2

In [11]:
#Now working with actual website, we will print heading, summary and video links from the website
from bs4 import BeautifulSoup
import requests
In [12]:
source = requests.get('http://coreyms.com').text #using requests module we will get text data from webpage.
soup = BeautifulSoup(source, 'lxml')
print(soup.prettify())
<!DOCTYPE html>
<html lang="en-US">
 <head>
  <meta charset="utf-8"/>
  <meta content="width=device-width, initial-scale=1" name="viewport"/>
  <title>
   CoreyMS - Development, Design, DIY, and more
  </title>
  <!-- This site is optimized with the Yoast SEO plugin v11.6 - https://yoast.com/wordpress/plugins/seo/ -->
  <meta content="Development, Design, DIY, and more" name="description"/>
  <link href="https://coreyms.com/" rel="canonical"/>
  <link href="http://coreyms.com/page/2" rel="next"/>
  <meta content="en_US" property="og:locale"/>
  <meta content="website" property="og:type"/>
  <meta content="CoreyMS - Development, Design, DIY, and more" property="og:title"/>
  <meta content="Development, Design, DIY, and more" property="og:description"/>
  <meta content="https://coreyms.com/" property="og:url"/>
  <meta content="CoreyMS" property="og:site_name"/>
  <meta content="https://coreyms.com/wp-content/uploads/2014/11/SocialIcon.png" property="og:image"/>
  <meta content="https://coreyms.com/wp-content/uploads/2014/11/SocialIcon.png" property="og:image:secure_url"/>
  <meta content="800" property="og:image:width"/>
  <meta content="800" property="og:image:height"/>
  <meta content="summary_large_image" name="twitter:card"/>
  <meta content="Development, Design, DIY, and more" name="twitter:description"/>
  <meta content="CoreyMS - Development, Design, DIY, and more" name="twitter:title"/>
  <meta content="@CoreyMSchafer" name="twitter:site"/>
  <meta content="http://coreyms.com/wp-content/uploads/2014/11/SocialIcon.png" name="twitter:image"/>
  <meta content="69D01EB6520B2918B78685B21805C977" name="msvalidate.01"/>
  <meta content="cWGcd5qKYyguo-9DC8wgwnOjN0_P9bBazUyRTtHohMU" name="google-site-verification"/>
  <script class="yoast-schema-graph yoast-schema-graph--main" type="application/ld+json">
   {"@context":"https://schema.org","@graph":[{"@type":"WebSite","@id":"https://coreyms.com/#website","url":"https://coreyms.com/","name":"CoreyMS","potentialAction":{"@type":"SearchAction","target":"https://coreyms.com/?s={search_term_string}","query-input":"required name=search_term_string"}},{"@type":"CollectionPage","@id":"https://coreyms.com/#webpage","url":"https://coreyms.com/","inLanguage":"en-US","name":"CoreyMS - Development, Design, DIY, and more","isPartOf":{"@id":"https://coreyms.com/#website"},"description":"Development, Design, DIY, and more"}]}
  </script>
  <!-- / Yoast SEO plugin. -->
  <link href="//s0.wp.com" rel="dns-prefetch"/>
  <link href="//fonts.googleapis.com" rel="dns-prefetch"/>
  <link href="//s.w.org" rel="dns-prefetch"/>
  <link href="https://coreyms.com/feed" rel="alternate" title="CoreyMS » Feed" type="application/rss+xml"/>
  <link href="https://coreyms.com/comments/feed" rel="alternate" title="CoreyMS » Comments Feed" type="application/rss+xml"/>
  <script type="text/javascript">
   window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/11\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/11\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/coreyms.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=5.0.4"}};
			!function(a,b,c){function d(a,b){var c=String.fromCharCode;l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,a),0,0);var d=k.toDataURL();l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,b),0,0);var e=k.toDataURL();return d===e}function e(a){var b;if(!l||!l.fillText)return!1;switch(l.textBaseline="top",l.font="600 32px Arial",a){case"flag":return!(b=d([55356,56826,55356,56819],[55356,56826,8203,55356,56819]))&&(b=d([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]),!b);case"emoji":return b=d([55358,56760,9792,65039],[55358,56760,8203,9792,65039]),!b}return!1}function f(a){var c=b.createElement("script");c.src=a,c.defer=c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var g,h,i,j,k=b.createElement("canvas"),l=k.getContext&&k.getContext("2d");for(j=Array("flag","emoji"),c.supports={everything:!0,everythingExceptFlag:!0},i=0;i<j.length;i++)c.supports[j[i]]=e(j[i]),c.supports.everything=c.supports.everything&&c.supports[j[i]],"flag"!==j[i]&&(c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&c.supports[j[i]]);c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&!c.supports.flag,c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.everything||(h=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",h,!1),a.addEventListener("load",h,!1)):(a.attachEvent("onload",h),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),g=c.source||{},g.concatemoji?f(g.concatemoji):g.wpemoji&&g.twemoji&&(f(g.twemoji),f(g.wpemoji)))}(window,document,window._wpemojiSettings);
  </script>
  <style type="text/css">
   img.wp-smiley,
img.emoji {
	display: inline !important;
	border: none !important;
	box-shadow: none !important;
	height: 1em !important;
	width: 1em !important;
	margin: 0 .07em !important;
	vertical-align: -0.1em !important;
	background: none !important;
	padding: 0 !important;
}
  </style>
  <link href="https://coreyms.com/wp-content/cache/minify/9d9d8.css" media="all" rel="stylesheet" type="text/css"/>
  <link href="//fonts.googleapis.com/css?family=Lato%3A300%2C400%2C700%7CVarela+Round&amp;ver=2.1.2" id="google-fonts-css" media="all" rel="stylesheet" type="text/css"/>
  <link href="https://coreyms.com/wp-content/cache/minify/95173.css" media="all" rel="stylesheet" type="text/css"/>
  <script src="https://coreyms.com/wp-content/cache/minify/df983.js" type="text/javascript">
  </script>
  <!--[if lt IE 9]>
<script type='text/javascript' src='https://coreyms.com/wp-content/themes/genesis/lib/js/html5shiv.min.js?ver=3.7.3'></script>
<![endif]-->
  <link href="https://coreyms.com/wp-json/" rel="https://api.w.org/"/>
  <link href="https://coreyms.com/xmlrpc.php?rsd" rel="EditURI" title="RSD" type="application/rsd+xml"/>
  <link href="https://coreyms.com/wp-includes/wlwmanifest.xml" rel="wlwmanifest" type="application/wlwmanifest+xml"/>
  <meta content="WordPress 5.0.4" name="generator"/>
  <style type="text/css">
   .enews .screenread {
	height: 1px;
    left: -1000em;
    overflow: hidden;
    position: absolute;
    top: -1000em;
    width: 1px; }
  </style>
  <link href="//v0.wordpress.com" rel="dns-prefetch"/>
  <link href="https://coreyms.com/xmlrpc.php" rel="pingback"/>
  <link href="https://plus.google.com/+CoreySchafer44/posts" rel="author"/>
  <link href="/apple-touch-icon-57x57.png" rel="apple-touch-icon" sizes="57x57"/>
  <link href="/apple-touch-icon-114x114.png" rel="apple-touch-icon" sizes="114x114"/>
  <link href="/apple-touch-icon-72x72.png" rel="apple-touch-icon" sizes="72x72"/>
  <link href="/apple-touch-icon-144x144.png" rel="apple-touch-icon" sizes="144x144"/>
  <link href="/apple-touch-icon-60x60.png" rel="apple-touch-icon" sizes="60x60"/>
  <link href="/apple-touch-icon-120x120.png" rel="apple-touch-icon" sizes="120x120"/>
  <link href="/apple-touch-icon-76x76.png" rel="apple-touch-icon" sizes="76x76"/>
  <link href="/apple-touch-icon-152x152.png" rel="apple-touch-icon" sizes="152x152"/>
  <link href="/apple-touch-icon-180x180.png" rel="apple-touch-icon" sizes="180x180"/>
  <link href="/favicon-192x192.png" rel="icon" sizes="192x192" type="image/png"/>
  <link href="/favicon-160x160.png" rel="icon" sizes="160x160" type="image/png"/>
  <link href="/favicon-96x96.png" rel="icon" sizes="96x96" type="image/png"/>
  <link href="/favicon-16x16.png" rel="icon" sizes="16x16" type="image/png"/>
  <link href="/favicon-32x32.png" rel="icon" sizes="32x32" type="image/png"/>
  <meta content="#56616b" name="msapplication-TileColor"/>
  <meta content="/mstile-144x144.png" name="msapplication-TileImage"/>
  <script>
   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  ga('create', 'UA-53634311-1', 'auto');
  ga('send', 'pageview');
  </script>
 </head>
 <body class="home blog content-sidebar" itemscope="" itemtype="https://schema.org/WebPage">
  <div class="site-container">
   <header class="site-header" itemscope="" itemtype="https://schema.org/WPHeader">
    <div class="wrap">
     <div class="title-area">
      <div class="site-avatar">
       <a href="https://coreyms.com/">
        <svg class="site-avatar-svg" enable-background="new 0 0 441.5 441.5" height="150px" id="Layer_1" version="1.1" viewbox="0 0 441.5 441.5" width="150px" x="0px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" y="0px">
         <g class="site-avatar-background">
          <path d="M79.178 390.133C30.781 349.639 0 288.789 0 220.75C0 98.833 98.833 0 220.75 0S441.5 98.833 441.5 220.75 c0 63.558-26.86 120.842-69.848 161.12" fill="#56616B">
          </path>
         </g>
         <g class="site-avatar-foreground">
          <path d="M254.602 182.291c0 1.992-0.097 4 0 6c0.057 0.88-0.093 1.952 0.194 2.78c0.22 0.631 0.69 1.12 1.704 1.273 c2.009 0.3 3.436-1.062 4.384-2.719c0.712-1.244 0.863-3.376 1.843-3.807c1.612-0.712 2.646-1.537 3.276-2.44 c1.903-2.732 0.09-6.185-0.723-9.42c-0.29-1.157-1.995-2.036-0.556-3.456c0.801-0.789 1.711-0.981 2.717-0.718 c0.164 0.043 0.33 0.095 0.5 0.162c0.262 0.104 0.505 0.185 0.732 0.249c3.521 0.99 3.182-2.499 3.459-4.337 c0.262-1.728 0.411-3.561-0.128-5.161c-0.413-1.229-1.231-2.321-2.721-3.124c-0.345-0.187-1.271 0.296-1.683 0.7 C260.971 165 252.55 170.8 254.65 182.291H254.602z" fill="#E3E0DD">
          </path>
          <path d="M121.076 185.062c-0.633 2.075-1.555 4.107-1.326 6.3c1.215 11.7 4.9 22.7 10.4 32.958 c1.692 3.201 3.6 6.4 6.3 8.931c6.878 6.299 15.1 11.5 18.3 21.101c0.697 2.1 2.7 3.799 4.1 5.616c0.797 1.101 7.7 7.5 9.9 9.06 c5.75 4 12.2 2.399 18.3 2.701c3.969 0.19 7.635-0.422 10.23-2.799c1.496-1.371 2.638-3.322 3.271-6.056 c0.378-1.636 1.506-3.308 2.812-4.621c0.372-0.374 0.756-0.724 1.144-1.028c0.236-0.187 0.452-0.393 0.683-0.584 c2.745-2.268 5.197-4.824 7.772-7.193c0.196-0.182 0.395-0.361 0.593-0.541c0.263-0.235 0.516-0.484 0.783-0.715 c2.067-1.778 3.228-4.668 5.456-6.357c0.991-0.751 2.192-1.268 3.781-1.339c4.19-0.188 7.815-1.231 10.56-3.522 c2.112-1.764 3.703-4.267 4.627-7.693c0.437-1.615 2.252-2.815 3.221-4.342c1.367-2.154 1.631-5.814-0.541-5.996 c-5.594-0.462-3.601-4.181-3.784-6.851c-0.224-3.178 0.817-6.237 1.688-9.293c2.23-7.859 2.068-15.447-2.718-22.497 c-1.593-2.346-2.862-4.882-3.588-7.658c-0.304-1.159-0.571-2.27 0.562-2.565c0.258-0.067 0.584-0.093 1.002-0.067 c0.979 0.081 2.138 1.205 2.97 0.79c0.196-0.099 0.377-0.282 0.53-0.589c0.812-1.632-0.619-3.176-1.769-4.355 c-1.974-2.029-2.121-3.545 0.03-5.829c4.014-4.26 2.55-9.908-3.036-11.764c-3.315-1.103-5.812-2.844-8.128-5.404 c-3.221-3.559-7.302-6.113-12.188-4.117c-0.077 0.031-0.152 0.054-0.229 0.087c-4.316 1.881-8.25 4.641-12.839 7.3 c5.969 2.5 11.4 4 17.4 3.326c4.219-0.484 7.9 0.8 10.7 4.1c1.021 1.2 1.1 2.8 0.1 4.197c-0.256 0.386-0.549 0.657-0.873 0.774 c-0.367 0.132-0.774 0.069-1.225-0.274c-4.875-3.503-10.354-1.259-15.552-1.665c-1.768-0.138-4.002 0.686-5.052-1.229 c-0.998-1.819-2.014-2.475-3.065-2.466c-1.199 0.009-2.443 0.886-3.757 1.931c-0.647 0.515-1.219 1.372-2.061 1.577 c-0.304 0.074-0.642 0.067-1.033-0.077c-0.107-2.153 2.641-2.457 2.183-4.465c-2.788-0.657-5.483-0.628-8.281 0.466 c-0.928 0.363-1.869 0.849-2.827 1.464c-0.095 0.061-0.188 0.107-0.283 0.17c0.945-3.138 5.419-5.098 0.606-7.558 c-0.949-0.485 0.189-1.66 1.02-2.292c1.043-0.794 2.321-1.519 2.936-2.594c1.521-2.665 3.594-4.347 5.997-5.363 c1.868-0.791 3.936-1.18 6.098-1.316c4.041-0.255 7.759-1.711 11.647-2.479c0.852-0.168 1.606-0.458 2.265-0.854 c1.858-1.119 2.911-3.136 2.915-6.033c0.009-6.685-2.918-12.743-3.582-19.266c-0.12-1.184-1.234-3.36-3.023-2.574 c-3.523 1.548-5.289-0.921-6.55-2.962c-1.631-2.64-3.149-2.745-4.879-1.815c-0.514 0.276-1.045 0.64-1.605 1.06 c-1.044 0.784-1.544 2.183-2.749 2.872c-0.285 0.163-0.596 0.298-0.977 0.362c-0.388-1.862 1.36-2.985 1.44-4.602 c0.051-1.008-0.054-2.516-1.327-1.745c-0.018 0.011-0.031 0.012-0.05 0.024c-0.144 0.092-0.273 0.166-0.403 0.24 c-2.564 1.457-2.537-0.535-2.866-2.284c-0.325-1.727-1.001-3.345-2.837-3.741c-0.406-0.087-0.729-0.082-0.991-0.007 c-1.147 0.325-1.128 1.968-1.773 2.907c-1.611 2.263-3.115 4.664-6.599 7.237c-0.113 0.083-0.21 0.166-0.328 0.25 c2.371-4.847 3.656-8.487 0.458-12.642c-0.07-0.09-0.129-0.18-0.203-0.271c-0.833 4.386-1.515 8.2-4.973 10.605 c-0.093 0.064-0.18 0.133-0.277 0.195c-1.097-1.5 0.22-3.408-1.72-4.438c-0.012-0.006-0.021-0.014-0.032-0.02 c-0.35 0.452-0.84 0.881-1.076 1.4c-1.153 2.642-1.673 3.754-2.146 4.263c-0.381 0.41-0.731 0.431-1.355 0.537 c-3.99 0.632-4.702-1.837-5.834-4.938c-2.642-7.239-9.918-10.402-14.395-6.815c-0.378 0.303-0.743 0.637-1.077 1.039 c-2.435 2.929-4.771 6.612-5.835 10c-1.345 4.336-3.751 6.76-7.148 8.956c-5.305 3.428-8.463 7.855-7.026 14.6 c0.539 2.542-0.675 4.875-1.846 7.1c-1.875 3.597-0.992 5.7 3.3 5.997c1.991 0.1 4 0.5 6 0.553c4.777 0.2 8.7 1.7 12.6 5 c3.784 3.3 6.8 7.3 10.6 10.378c3.999 3.3 5.2 6.9 4.6 11.811c-0.675 6.117-1.21 12.273-1.305 18.4 c-0.06 3.896-0.854 6.795-4.75 8.389c-1.934 0.791-3.424 2.349-2.862 4.699c0.609 2.5 2.7 3.2 5 3.1 c0.5-0.016 1.015-0.126 1.496-0.042c2.554 0.4 5.5 0.6 2.8 4.468c-0.756 1.058-0.791 2.3 0.8 2.8c1.242 0.4 3 0.2 2.5 2.2 c-0.369 1.521-2.162 1.237-3.3 1.809c-0.792 0.397-1.632 0.577-2.505 0.667c-1.329 0.138-2.731 0.069-4.149 0.233 c-1.444 0.167-2.903 0.575-4.315 1.699c0.827 0.264 1.74 0.504 2.708 0.726c8.333 1.914 20.87 2.433 20.086 3.987 c-0.007 0.015-0.021 0.03-0.031 0.045c-0.02 0.031-0.033 0.061-0.063 0.092h0.009v0.051c-4.351 0.46-8.029 1.064-12.392 1.2 c-1.847 0.066-3.692-0.031-4.682 1.264c-0.246 0.323-0.441 0.728-0.568 1.247c-0.572 2.399 1.2 4.101 2.9 5.399 c1.688 1.302 3.7 2.302 5.3 3.7c2.363 1.9 1.9 4.699 0.9 6.913c-0.278 0.625-0.608 0.995-0.969 1.202 c-1.229 0.705-2.845-0.562-4.213-0.901c-3.906-1.047-5.531-4.397-7.769-7.324c-4.868-6.364-7.044-12.982-16.966-15.704 c-0.459-0.125-0.913-0.253-1.406-0.362c-1.632-0.36-1.601-0.026-1.583-2c0.017-1.846 4.917-0.833 6.5-1.333 c5.514-1.741 5.65-2.834 10.5-4.167c3.46-0.951 2.169-6.663 1.322-10.273c-0.003-0.014-0.007-0.029-0.01-0.043 c-0.104-0.441-0.179-0.878-0.232-1.312c-0.361-2.919 0.352-5.695 1.408-8.45c6.845-10.339 3.558-20.753 4.884-23.425 c0.777-1.565 1.148-2.989 1.094-4.267c-0.092-2.177-1.423-3.929-4.123-5.227c-7.634-3.67-15.45-6.876-23.707-8.9 c-1.792-0.439-3.357-0.107-4.359 1.482c-0.006 0.009-0.013 0.016-0.019 0.025c-1.01 1.628-1.361 3.475-0.355 5.2 c0.944 1.6 2.6 1 4 1c5.133-0.093 10.274-0.174 15.4 0.045c3.086 0.1 3.9 1.8 2.4 4.722c-0.343 0.664-0.82 1.233-1.384 1.709 c-2.594 2.19-7.13 2.328-10.065-0.209c-0.722-0.629-1.141-1.751-2.391-1.317c-0.15 0.052-0.262 0.125-0.365 0.204 c-0.378 0.292-0.477 0.754-0.492 1.357c-0.035 1.376-0.479 2.212-1.139 2.757c-1.51 1.246-4.167 0.963-5.775 2.043 c-1.373 0.908-3.125-1.413-3.536-3.282c-0.312-1.417-0.514-2.734-2.291-2.62c-0.586 0.038-1.049 0.236-1.412 0.534 c-0.625 0.514-0.948 1.329-1.06 2.166c-0.39 2.976-0.977 6.3 0.9 8.741C123.411 174.752 122.676 179.853 121.076 185.062z M211.68 211.557c0.16-0.005 0.319-0.011 0.479-0.017c0.196-0.006 0.401-0.005 0.61 0c1.39 0.026 2.971 0.134 3.738-1.328 c0.028-0.053 0.064-0.089 0.09-0.146c0.049-0.119 0.086-0.232 0.113-0.341c0.398-1.586-1.396-2.169-2.316-3.113 c-0.159-0.163-0.322-0.34-0.462-0.523c-0.389-0.508-0.595-1.069 0.001-1.558c0.515-0.422 1.704-0.564 2.294-0.258 c3.199 1.7 4.7 0.5 5.533-2.735c0.286-1.132 1.02-1.809 1.979-1.574c0.325 0.079 0.677 0.262 1.047 0.568 c2.446 2 4.8 4.2 5.601 7.437c0.483 2 0.5 4.07-1.045 5.7c-1.617 1.698-3.396 0.774-5.011-0.143 c-2.403-1.37-4.178-0.281-5.707 1.436c-3.979 4.466-8.223 8.75-11.737 13.601c-3.714 5.086-8.537 5.843-14.104 5.198 c-0.648-0.075-1.368-0.171-1.786-0.653c-0.114-0.131-0.209-0.285-0.27-0.482c-0.37-1.215 0.587-1.834 1.458-2.285 c2.948-1.527 5.975-2.908 8.896-4.486c1.887-1.021 3.851-2.061 5.402-3.496c1.875-1.738 5.248-3.51 4.134-6.221 c-0.141-0.343-0.323-0.6-0.535-0.794c-1.383-1.272-4.106 0.29-6.09 0.26c-4.13-0.028-8.242-0.928-12.342-0.218h-0.023v-0.073 c0.004-0.002 0.008-0.003 0.012-0.005c0.007-0.003 0.014-0.006 0.021-0.009c0.814-0.378 1.633-0.717 2.458-1.021 c2.471-0.91 4.987-1.504 7.531-1.902c0.032-0.005 0.064-0.011 0.096-0.016c0.033-0.005 0.065-0.009 0.098-0.014 C205.084 211.85 208.374 211.669 211.68 211.557z M194.177 187.948c3.15 2.3 4 6 2.9 6.258h-0.062 c-2.208-0.583-2.876-3.92-5.816-4.751c-0.006-0.001-0.012-0.005-0.018-0.007c-3.767-1.083-9.077-8.666-9.81-13.188 c-0.011-0.066-0.031-0.139-0.04-0.204c-0.012-0.087-0.008-0.164-0.016-0.249c-0.02-0.205-0.042-0.413-0.039-0.601 c0-0.001 0-0.001 0-0.002c0.001-0.067 0.017-0.102 0.025-0.152c0.146-0.854 1.329 0.547 2.516 2.208 c1.004 1.406 2.003 2.98 2.358 3.487c0.982 1.393 1.82 2.389 2.686 3.229C190.297 185.367 191.808 186.328 194.177 187.948z" fill="#E3E0DD">
          </path>
          <path d="M397.368 309.241c-0.261-0.421-0.515-0.851-0.789-1.251c-0.119-0.172-0.252-0.329-0.374-0.498 c-0.355-0.493-0.713-0.985-1.097-1.449c-1.061-1.284-2.228-2.461-3.529-3.541c-9.653-8.013-20.562-14.354-29.925-22.777 c-5.18-4.66-11.315-8.287-16.289-13.133c-3.436-3.346-6.821-6.178-11.363-7.746c-12.746-4.402-25.297-9.318-37.806-14.363 c-5.212-2.104-8.992-6.655-14.148-8.286c-5.011-1.585-9.368-3.845-13.188-7.062c-1.195-1.008-2.342-2.103-3.436-3.309 c-0.236-0.263-0.504-0.511-0.797-0.736c-1.041-0.805-2.462-1.286-4.507-0.657c2.625 3 6.2 4.898 6.2 8.75 c0.029 10.375-1.518 20.563-4.211 30.575c-0.283 1.058-0.617 2.509-2.144 2.399c-0.126-0.014-0.231-0.047-0.34-0.078 c-1.058-0.322-1.254-1.564-1.737-2.489c-1.168-2.226 0.229-5.108-1.879-7.075c-4.517-4.214-4.992-10.279-7.05-15.604 c-0.729-1.892 0.104-4.437-2.731-5.277c-0.006-0.003-0.013-0.006-0.021-0.008c-2.953-0.86-3.546 1.873-5.052 3.187 c-8.374 7.295-12.026 18.521-21.318 25.2c-8.297 5.931-16.328 12.183-26.8 13.716c-2.79 0.407-5.649 0.323-8.459 0.627 c-1.733 0.188-3.997-0.093-4.459 2.299c-0.365 1.899 1.1 3.102 2.5 3.949c1.73 1 3.1 2.899 4.7 3.578 c3.386 1.398 2.6 2.698 0.7 4.5c-2.543 2.476-3.724 4.93-0.872 8.198c1.765 2.021-0.304 4.5-1.314 5.711 c-0.307 0.367-0.615 0.511-0.923 0.513c-1.023 0.006-2.039-1.625-2.944-2.394c-0.887-0.75-1.582-1.731-2.484-2.459 c-1.267-1.021-2.576-2.888-4.149-2.603c-0.405 0.072-0.826 0.281-1.27 0.691c-2.076 1.9 0 3.9 1.4 5.602 c4.511 5.563 8.05 11.524 8.194 19.838c0 0.056 0.005 0.106 0.006 0.162c-3.156-2.711-6.338-4.35-8.485-7.479 c-1.777-2.588-3.426-5.543-6.256-7.043c-7.64-4.051-12.329-9.996-14.186-18.574c-1.413-6.529-1.927-13.146-3.01-19.693 c-1.136-6.866-2.037-13.854-5.661-20.014c-2.048-3.479-4.663-4.494-8.15-1.59c-3.831 3.191-7.883 6.066-11.413 9.674 c-8.022 8.195-15.606 17.19-26.436 21.801c-11.449 4.848-17.431 13.926-21.416 24.898c-4.198 11.539-5.315 23.633-6.518 35.768 c-1.136 11.451-1.973 22.699 1.5 34c0.259 0.869 0.56 1.72 0.86 2.569c1.22 3.454 2.781 6.741 4.682 9.873 c0.035 0.03 0.07 0.062 0.105 0.09c0.259 0.216 0.513 0.438 0.773 0.653c38.203 31.621 87.228 50.627 140.694 50.627 c53.438 0 102.44-18.985 140.635-50.577c3.521-2.911 6.94-5.938 10.272-9.06c-2.618-3.158-5.301-6.254-8.485-8.67 c-7.959-6.028-17.794-8.264-27.218-11.09c-0.239-0.071-0.48-0.144-0.719-0.215c-0.01-0.004-0.019-0.006-0.026-0.009 c-0.019-0.006-0.035-0.012-0.054-0.019c-0.25-0.076-0.492-0.154-0.724-0.235c-0.029-0.011-0.058-0.021-0.087-0.032 c-0.207-0.074-0.405-0.148-0.598-0.228c-0.136-0.056-0.261-0.113-0.389-0.171c-0.07-0.031-0.144-0.062-0.21-0.094 c-2.793-1.33-3.677-3.312-2.927-7.151c0.733-3.767 2.284-6.832 4.471-9.828c5.71-7.841 12.521-14.705 19.023-21.845 c7.076-7.768 15.928-13.119 25.398-17.319c7.65-3.396 10.099-2.508 15.7 3.799c0.678 0.8 1.1 2.196 3.093 1.354 c0.002-0.002 0.004-0.002 0.007-0.002C397.742 309.809 397.549 309.533 397.368 309.241z" fill="#E3E0DD">
          </path>
         </g>
        </svg>
       </a>
      </div>
      <h1 class="site-title" itemprop="headline">
       <a href="https://coreyms.com/">
        CoreyMS
       </a>
      </h1>
      <p class="site-description" itemprop="description">
       Development, Design, DIY, and more
      </p>
      <div class="social-links-div">
       <ul>
        <li class="social-links-li">
         <a class="social-link social-youtube" href="https://www.youtube.com/user/schafer5">
          <svg style="height: 40px; width: 40px;" version="1.1" viewbox="0 0 100 100" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
           <circle class="outer-shape" cx="50" cy="50" r="48">
           </circle>
           <path class="inner-shape" d="M97.284,26.359c-1-5.352-5.456-9.346-10.574-9.839c-12.221-0.784-24.488-1.42-36.731-1.428 c-12.244-0.007-24.464,0.616-36.687,1.388c-5.137,0.497-9.592,4.47-10.589,9.842C1.567,34.058,1,41.869,1,49.678 s0.568,15.619,1.703,23.355c0.996,5.372,5.451,9.822,10.589,10.314c12.226,0.773,24.439,1.561,36.687,1.561 c12.239,0,24.515-0.688,36.731-1.479c5.118-0.497,9.574-5.079,10.574-10.428C98.43,65.278,99,57.477,99,49.676 C99,41.88,98.428,34.083,97.284,26.359z M38.89,63.747V35.272l26.52,14.238L38.89,63.747z" style="opacity: 1; fill: rgb(255, 255, 255);" transform="translate(25,25) scale(0.5)">
           </path>
          </svg>
         </a>
        </li>
        <li class="social-links-li">
         <a class="social-link social-github" href="https://github.com/CoreyMSchafer">
          <svg style="height: 40px; width: 40px;" version="1.1" viewbox="0 0 100 100" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
           <circle class="outer-shape" cx="50" cy="50" r="48">
           </circle>
           <path class="inner-shape" d="M50,1C22.938,1,1,22.938,1,50s21.938,49,49,49s49-21.938,49-49S77.062,1,50,1z M79.099,79.099 c-3.782,3.782-8.184,6.75-13.083,8.823c-1.245,0.526-2.509,0.989-3.79,1.387v-7.344c0-3.86-1.324-6.699-3.972-8.517 c1.659-0.16,3.182-0.383,4.57-0.67c1.388-0.287,2.855-0.702,4.402-1.245c1.547-0.543,2.935-1.189,4.163-1.938 c1.228-0.75,2.409-1.723,3.541-2.919s2.082-2.552,2.847-4.067s1.372-3.334,1.818-5.455c0.446-2.121,0.67-4.458,0.67-7.01 c0-4.945-1.611-9.155-4.833-12.633c1.467-3.828,1.308-7.991-0.478-12.489l-1.197-0.143c-0.829-0.096-2.321,0.255-4.474,1.053 c-2.153,0.798-4.57,2.105-7.249,3.924c-3.797-1.053-7.736-1.579-11.82-1.579c-4.115,0-8.039,0.526-11.772,1.579 c-1.69-1.149-3.294-2.097-4.809-2.847c-1.515-0.75-2.727-1.26-3.637-1.532c-0.909-0.271-1.754-0.439-2.536-0.503 c-0.782-0.064-1.284-0.079-1.507-0.048c-0.223,0.031-0.383,0.064-0.478,0.096c-1.787,4.53-1.946,8.694-0.478,12.489 c-3.222,3.477-4.833,7.688-4.833,12.633c0,2.552,0.223,4.889,0.67,7.01c0.447,2.121,1.053,3.94,1.818,5.455 c0.765,1.515,1.715,2.871,2.847,4.067s2.313,2.169,3.541,2.919c1.228,0.751,2.616,1.396,4.163,1.938 c1.547,0.543,3.014,0.957,4.402,1.245c1.388,0.287,2.911,0.511,4.57,0.67c-2.616,1.787-3.924,4.626-3.924,8.517v7.487 c-1.445-0.43-2.869-0.938-4.268-1.53c-4.899-2.073-9.301-5.041-13.083-8.823c-3.782-3.782-6.75-8.184-8.823-13.083 C9.934,60.948,8.847,55.56,8.847,50s1.087-10.948,3.231-16.016c2.073-4.899,5.041-9.301,8.823-13.083s8.184-6.75,13.083-8.823 C39.052,9.934,44.44,8.847,50,8.847s10.948,1.087,16.016,3.231c4.9,2.073,9.301,5.041,13.083,8.823 c3.782,3.782,6.75,8.184,8.823,13.083c2.143,5.069,3.23,10.457,3.23,16.016s-1.087,10.948-3.231,16.016 C85.848,70.915,82.88,75.317,79.099,79.099L79.099,79.099z" style="opacity: 1; fill: rgb(255, 255, 255);" transform="translate(25,25) scale(0.5)">
           </path>
          </svg>
         </a>
        </li>
        <li class="social-links-li">
         <a class="social-link social-gplus" href="https://plus.google.com/+CoreySchafer44/posts" title="YouTube">
          <svg style="height: 40px; width: 40px;" version="1.1" viewbox="0 0 100 100" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
           <circle class="outer-shape" cx="50" cy="50" r="48">
           </circle>
           <path class="inner-shape" d="M1.079,84.227c-0.024-0.242-0.043-0.485-0.056-0.73C1.036,83.742,1.055,83.985,1.079,84.227z M23.578,55.086 c8.805,0.262,14.712-8.871,13.193-20.402c-1.521-11.53-9.895-20.783-18.701-21.046C9.264,13.376,3.357,22.2,4.878,33.734 C6.398,45.262,14.769,54.823,23.578,55.086z M98.999,25.501v-8.164c0-8.984-7.348-16.335-16.332-16.335H17.336 c-8.831,0-16.078,7.104-16.323,15.879c5.585-4.917,13.333-9.026,21.329-9.026c8.546,0,34.188,0,34.188,0l-7.651,6.471H38.039 c7.19,2.757,11.021,11.113,11.021,19.687c0,7.201-4.001,13.393-9.655,17.797c-5.516,4.297-6.562,6.096-6.562,9.749 c0,3.117,5.909,8.422,8.999,10.602c9.032,6.368,11.955,12.279,11.955,22.15c0,1.572-0.195,3.142-0.58,4.685h29.451 C91.652,98.996,99,91.651,99,82.661V31.625H80.626v18.374h-6.125V31.625H56.127V25.5h18.374V7.127h6.125V25.5H99L98.999,25.501z M18.791,74.301c2.069,0,3.964-0.057,5.927-0.057c-2.598-2.52-4.654-5.608-4.654-9.414c0-2.259,0.724-4.434,1.736-6.366 c-1.032,0.073-2.085,0.095-3.17,0.095c-7.116,0-13.159-2.304-17.629-6.111v6.435l0.001,19.305 C6.116,75.76,12.188,74.301,18.791,74.301L18.791,74.301z M1.329,85.911c-0.107-0.522-0.188-1.053-0.243-1.591 C1.141,84.858,1.223,85.389,1.329,85.911z M44.589,92.187c-1.442-5.628-6.551-8.418-13.675-13.357 c-2.591-0.836-5.445-1.328-8.507-1.36c-8.577-0.092-16.566,3.344-21.074,8.457c1.524,7.436,8.138,13.068,16.004,13.068h27.413 c0.173-1.065,0.258-2.166,0.258-3.295C45.007,94.502,44.86,93.329,44.589,92.187z" style="opacity: 1; fill: rgb(255, 255, 255);" transform="translate(25,25) scale(0.5)">
           </path>
          </svg>
         </a>
        </li>
        <li class="social-links-li">
         <a class="social-link social-twitter" href="https://twitter.com/CoreyMSchafer">
          <svg style="height: 40px; width: 40px;" version="1.1" viewbox="0 0 100 100" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
           <circle class="outer-shape" cx="50" cy="50" r="48">
           </circle>
           <path class="inner-shape" d="M99.001,19.428c-3.606,1.608-7.48,2.695-11.547,3.184c4.15-2.503,7.338-6.466,8.841-11.189 c-3.885,2.318-8.187,4-12.768,4.908c-3.667-3.931-8.893-6.387-14.676-6.387c-11.104,0-20.107,9.054-20.107,20.223 c0,1.585,0.177,3.128,0.52,4.609c-16.71-0.845-31.525-8.895-41.442-21.131C6.092,16.633,5.1,20.107,5.1,23.813 c0,7.017,3.55,13.208,8.945,16.834c-3.296-0.104-6.397-1.014-9.106-2.529c-0.002,0.085-0.002,0.17-0.002,0.255 c0,9.799,6.931,17.972,16.129,19.831c-1.688,0.463-3.463,0.71-5.297,0.71c-1.296,0-2.555-0.127-3.783-0.363 c2.559,8.034,9.984,13.882,18.782,14.045c-6.881,5.424-15.551,8.657-24.971,8.657c-1.623,0-3.223-0.096-4.796-0.282 c8.898,5.738,19.467,9.087,30.82,9.087c36.982,0,57.206-30.817,57.206-57.543c0-0.877-0.02-1.748-0.059-2.617 C92.896,27.045,96.305,23.482,99.001,19.428z" style="opacity: 1; fill: rgb(255, 255, 255);" transform="translate(25,25) scale(0.5)">
           </path>
          </svg>
         </a>
        </li>
        <li class="social-links-li">
         <a class="social-link social-linkedin" href="https://www.instagram.com/coreymschafer/">
          <svg style="height: 40px; width: 40px;" version="1.1" viewbox="0 0 100 100" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
           <circle class="outer-shape" cx="50" cy="50" r="48">
           </circle>
           <path class="inner-shape" d="M88.2,1H11.8C5.85,1,1.026,5.827,1.026,11.781V88.22C1.026,94.174,5.85,99,11.8,99H88.2c5.95,0,10.774-4.826,10.774-10.78 V11.781C98.973,5.827,94.149,1,88.2,1z M49.946,31.184c10.356,0,18.752,8.4,18.752,18.762c0,10.361-8.396,18.761-18.752,18.761 s-18.752-8.4-18.752-18.761S39.589,31.184,49.946,31.184z M87.513,83.615c0,2.165-1.753,3.919-3.917,3.919H16.341 c-2.164,0-3.917-1.755-3.917-3.919v-41.06h8.508c-0.589,2.35-0.904,4.807-0.904,7.34c0,16.612,13.459,30.079,30.063,30.079 s30.063-13.466,30.063-30.079c0-2.533-0.315-4.99-0.904-7.34h8.263L87.513,83.615L87.513,83.615z M87.764,27.124 c0,2.165-1.754,3.919-3.918,3.919H72.723c-2.164,0-3.917-1.755-3.917-3.919v-11.13c0-2.165,1.754-3.919,3.917-3.919h11.123 c2.165,0,3.918,1.755,3.918,3.919V27.124z" style="opacity: 1; fill: rgb(255, 255, 255);" transform="translate(25,25) scale(0.5)">
           </path>
          </svg>
         </a>
        </li>
        <li class="social-links-li">
         <a class="social-link social-rss" href="http://coreyms.com/feed/">
          <svg style="height: 40px; width: 40px;" version="1.1" viewbox="0 0 100 100" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
           <circle class="outer-shape" cx="50" cy="50" r="48">
           </circle>
           <path class="inner-shape" d="M14.044,72.866C6.848,72.866,1,78.736,1,85.889c0,7.192,5.848,12.997,13.044,12.997c7.223,0,13.062-5.804,13.062-12.997 C27.106,78.736,21.267,72.866,14.044,72.866z M1.015,34.299v18.782c12.229,0,23.73,4.782,32.392,13.447 C42.057,75.172,46.832,86.725,46.832,99h18.865C65.697,63.321,36.672,34.3,1.015,34.299L1.015,34.299z M1.038,1v18.791 C44.657,19.792,80.16,55.329,80.16,99H99C99,44.979,55.048,1,1.038,1z" style="opacity: 1; fill: rgb(255, 255, 255);" transform="translate(25,25) scale(0.5)">
           </path>
          </svg>
         </a>
        </li>
       </ul>
      </div>
     </div>
     <div class="widget-area header-widget-area">
      <section class="widget widget_nav_menu" id="nav_menu-2">
       <div class="widget-wrap">
        <nav class="nav-header" itemscope="" itemtype="https://schema.org/SiteNavigationElement">
         <ul class="menu genesis-nav-menu js-superfish" id="menu-contact-menu">
          <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-984" id="menu-item-984">
           <a href="https://coreyms.com/contact" itemprop="url">
            <span itemprop="name">
             Contact
            </span>
           </a>
          </li>
          <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-153" id="menu-item-153">
           <a href="http://coreyms.com/portfolio" itemprop="url" title="Portfolio">
            <span itemprop="name">
             Portfolio
            </span>
           </a>
          </li>
         </ul>
        </nav>
       </div>
      </section>
     </div>
    </div>
   </header>
   <nav aria-label="Main" class="nav-primary" itemscope="" itemtype="https://schema.org/SiteNavigationElement">
    <div class="wrap">
     <ul class="menu genesis-nav-menu menu-primary js-superfish" id="menu-primary-navigation">
      <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-124" id="menu-item-124">
       <a href="https://coreyms.com/category/development" itemprop="url" title="Development">
        <span itemprop="name">
         Development
        </span>
       </a>
       <ul class="sub-menu">
        <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-1070" id="menu-item-1070">
         <a href="https://coreyms.com/category/development/python" itemprop="url">
          <span itemprop="name">
           Python
          </span>
         </a>
        </li>
        <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-1105" id="menu-item-1105">
         <a href="https://coreyms.com/category/development/git" itemprop="url">
          <span itemprop="name">
           Git
          </span>
         </a>
        </li>
        <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-1106" id="menu-item-1106">
         <a href="https://coreyms.com/category/development/terminal" itemprop="url">
          <span itemprop="name">
           Terminal
          </span>
         </a>
        </li>
        <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-803" id="menu-item-803">
         <a href="https://coreyms.com/category/development/javascript" itemprop="url" title="JavaScript">
          <span itemprop="name">
           JavaScript
          </span>
         </a>
        </li>
        <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-1072" id="menu-item-1072">
         <a href="https://coreyms.com/category/development/wordpress" itemprop="url">
          <span itemprop="name">
           WordPress
          </span>
         </a>
        </li>
       </ul>
      </li>
      <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-125" id="menu-item-125">
       <a href="https://coreyms.com/category/web-design" itemprop="url" title="Design">
        <span itemprop="name">
         Design
        </span>
       </a>
       <ul class="sub-menu">
        <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-801" id="menu-item-801">
         <a href="https://coreyms.com/category/web-design/css" itemprop="url" title="CSS">
          <span itemprop="name">
           CSS
          </span>
         </a>
        </li>
       </ul>
      </li>
      <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-804" id="menu-item-804">
       <a href="https://coreyms.com/category/diy" itemprop="url" title="DIY">
        <span itemprop="name">
         DIY
        </span>
       </a>
       <ul class="sub-menu">
        <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-805" id="menu-item-805">
         <a href="https://coreyms.com/category/diy/woodworking" itemprop="url" title="Woodworking">
          <span itemprop="name">
           Woodworking
          </span>
         </a>
        </li>
        <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-806" id="menu-item-806">
         <a href="https://coreyms.com/category/diy/home-improvement" itemprop="url" title="Home Improvement">
          <span itemprop="name">
           Home Improvement
          </span>
         </a>
        </li>
       </ul>
      </li>
      <li class="right menu-item menu-item-type-post_type menu-item-object-page menu-item-1154" id="menu-item-1154">
       <a href="https://coreyms.com/contributors" itemprop="url" title="Contributors">
        <span itemprop="name">
         Contributors
        </span>
       </a>
      </li>
      <li class="right menu-item menu-item-type-post_type menu-item-object-page menu-item-898" id="menu-item-898">
       <a href="https://coreyms.com/support" itemprop="url" title="Support">
        <span itemprop="name">
         Support
        </span>
       </a>
      </li>
      <li class="right menu-item menu-item-type-post_type menu-item-object-page menu-item-1260" id="menu-item-1260">
       <a href="https://coreyms.com/giveaway" itemprop="url">
        <span itemprop="name">
         Giveaway
        </span>
       </a>
      </li>
     </ul>
    </div>
   </nav>
   <div class="site-inner">
    <div class="content-sidebar-wrap">
     <main class="content">
      <article class="post-1642 post type-post status-publish format-standard has-post-thumbnail category-development category-python tag-development-environment tag-visual-studio-code tag-visual-studios tag-vs-code tag-vscode entry" itemscope="" itemtype="https://schema.org/CreativeWork">
       <header class="entry-header">
        <h2 class="entry-title" itemprop="headline">
         <a class="entry-title-link" href="https://coreyms.com/development/python/visual-studio-code-windows-setting-up-a-python-development-environment-and-complete-overview" rel="bookmark">
          Visual Studio Code (Windows) – Setting up a Python Development Environment and Complete Overview
         </a>
        </h2>
        <p class="entry-meta">
         <time class="entry-time" datetime="2019-05-01T14:03:24+00:00" itemprop="datePublished">
          May 1, 2019
         </time>
         by
         <span class="entry-author" itemprop="author" itemscope="" itemtype="https://schema.org/Person">
          <a class="entry-author-link" href="https://coreyms.com/author/coreymschafer" itemprop="url" rel="author">
           <span class="entry-author-name" itemprop="name">
            Corey Schafer
           </span>
          </a>
         </span>
         <span class="entry-comments-link">
          <a href="https://coreyms.com/development/python/visual-studio-code-windows-setting-up-a-python-development-environment-and-complete-overview#respond">
           <span class="dsq-postid" data-dsqidentifier="1642 http://coreyms.com/?p=1642">
            Leave a Comment
           </span>
          </a>
         </span>
        </p>
       </header>
       <div class="entry-content" itemprop="text">
        <p>
         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…
        </p>
        <p>
         VSCode on MacOS – https://youtu.be/06I63_p-2A4
        </p>
        <p>
         Timestamps for topics in this tutorial:
         <br/>
         Installation – 1:13
         <br/>
         Python Extension – 5:48
         <br/>
         Switching Interpreters – 10:04
         <br/>
         Changing Color Themes – 12:35
         <br/>
         VSCode Settings – 16:16
         <br/>
         Set Default Python – 21:33
         <br/>
         Using Virtual Environments – 25:10
         <br/>
         IntelliSense – 29:45
         <br/>
         Code Formatting – 32:13
         <br/>
         Code Linting – 37:06
         <br/>
         Code Runner Extension – 39:42
         <br/>
         Git Integration – 47:44
         <br/>
         Use Different Terminal – 51:07
         <br/>
         Debugging – 58:45
         <br/>
         Unit Testing – 1:03:25
         <br/>
         Zen Mode – 1:09:55
        </p>
        <figure class="wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio">
         <div class="wp-block-embed__wrapper">
          <span class="embed-youtube" style="text-align:center; display: block;">
           <iframe allowfullscreen="true" class="youtube-player" height="360" src="https://www.youtube.com/embed/-nh9rCzPJ20?version=3&amp;rel=1&amp;fs=1&amp;autohide=2&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;wmode=transparent" style="border:0;" type="text/html" width="640">
           </iframe>
          </span>
         </div>
        </figure>
       </div>
       <footer class="entry-footer">
        <p class="entry-meta">
         <span class="entry-categories">
          Filed Under:
          <a href="https://coreyms.com/category/development" rel="category tag">
           Development
          </a>
          ,
          <a href="https://coreyms.com/category/development/python" rel="category tag">
           Python
          </a>
         </span>
         <span class="entry-tags">
          Tagged With:
          <a href="https://coreyms.com/tag/development-environment" rel="tag">
           Development Environment
          </a>
          ,
          <a href="https://coreyms.com/tag/visual-studio-code" rel="tag">
           visual studio code
          </a>
          ,
          <a href="https://coreyms.com/tag/visual-studios" rel="tag">
           visual studios
          </a>
          ,
          <a href="https://coreyms.com/tag/vs-code" rel="tag">
           vs code
          </a>
          ,
          <a href="https://coreyms.com/tag/vscode" rel="tag">
           vscode
          </a>
         </span>
        </p>
       </footer>
      </article>
      <article class="post-1639 post type-post status-publish format-standard has-post-thumbnail category-development category-python tag-development-environment tag-visual-studio-code tag-visual-studios tag-vs-code tag-vscode entry" itemscope="" itemtype="https://schema.org/CreativeWork">
       <header class="entry-header">
        <h2 class="entry-title" itemprop="headline">
         <a class="entry-title-link" href="https://coreyms.com/development/python/visual-studio-code-mac-setting-up-a-python-development-environment-and-complete-overview" rel="bookmark">
          Visual Studio Code (Mac) – Setting up a Python Development Environment and Complete Overview
         </a>
        </h2>
        <p class="entry-meta">
         <time class="entry-time" datetime="2019-05-01T14:01:45+00:00" itemprop="datePublished">
          May 1, 2019
         </time>
         by
         <span class="entry-author" itemprop="author" itemscope="" itemtype="https://schema.org/Person">
          <a class="entry-author-link" href="https://coreyms.com/author/coreymschafer" itemprop="url" rel="author">
           <span class="entry-author-name" itemprop="name">
            Corey Schafer
           </span>
          </a>
         </span>
         <span class="entry-comments-link">
          <a href="https://coreyms.com/development/python/visual-studio-code-mac-setting-up-a-python-development-environment-and-complete-overview#respond">
           <span class="dsq-postid" data-dsqidentifier="1639 http://coreyms.com/?p=1639">
            Leave a Comment
           </span>
          </a>
         </span>
        </p>
       </header>
       <div class="entry-content" itemprop="text">
        <p>
         In this Python Programming Tutorial, we will be learning how to set up a Python development environment in VSCode on MacOS. 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…
        </p>
        <p>
         VSCode on Windows – https://youtu.be/-nh9rCzPJ20
        </p>
        <p>
         Timestamps for topics in this tutorial:
         <br/>
         Installation – 1:11
         <br/>
         Python Extension – 6:21
         <br/>
         Switching Interpreters – 10:16
         <br/>
         Changing Color Themes – 13:08
         <br/>
         VSCode Settings – 17:12
         <br/>
         Set Default Python – 22:24
         <br/>
         Using Virtual Environments – 25:52
         <br/>
         IntelliSense – 30:28
         <br/>
         Code Formatting – 33:08
         <br/>
         Code Linting – 38:01
         <br/>
         Code Runner Extension – 40:45
         <br/>
         Git Integration – 49:05
         <br/>
         Debugging – 58:15
         <br/>
         Unit Testing – 1:02:38
         <br/>
         Zen Mode – 1:10:42
        </p>
        <figure class="wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio">
         <div class="wp-block-embed__wrapper">
          <span class="embed-youtube" style="text-align:center; display: block;">
           <iframe allowfullscreen="true" class="youtube-player" height="360" src="https://www.youtube.com/embed/06I63_p-2A4?version=3&amp;rel=1&amp;fs=1&amp;autohide=2&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;wmode=transparent" style="border:0;" type="text/html" width="640">
           </iframe>
          </span>
         </div>
        </figure>
       </div>
       <footer class="entry-footer">
        <p class="entry-meta">
         <span class="entry-categories">
          Filed Under:
          <a href="https://coreyms.com/category/development" rel="category tag">
           Development
          </a>
          ,
          <a href="https://coreyms.com/category/development/python" rel="category tag">
           Python
          </a>
         </span>
         <span class="entry-tags">
          Tagged With:
          <a href="https://coreyms.com/tag/development-environment" rel="tag">
           Development Environment
          </a>
          ,
          <a href="https://coreyms.com/tag/visual-studio-code" rel="tag">
           visual studio code
          </a>
          ,
          <a href="https://coreyms.com/tag/visual-studios" rel="tag">
           visual studios
          </a>
          ,
          <a href="https://coreyms.com/tag/vs-code" rel="tag">
           vs code
          </a>
          ,
          <a href="https://coreyms.com/tag/vscode" rel="tag">
           vscode
          </a>
         </span>
        </p>
       </footer>
      </article>
      <article class="post-1634 post type-post status-publish format-standard has-post-thumbnail category-development category-python tag-common-errors tag-common-mistakes tag-functions tag-mutable-default-arguments entry" itemscope="" itemtype="https://schema.org/CreativeWork">
       <header class="entry-header">
        <h2 class="entry-title" itemprop="headline">
         <a class="entry-title-link" href="https://coreyms.com/development/python/clarifying-the-issues-with-mutable-default-arguments" rel="bookmark">
          Clarifying the Issues with Mutable Default Arguments
         </a>
        </h2>
        <p class="entry-meta">
         <time class="entry-time" datetime="2019-04-24T11:46:42+00:00" itemprop="datePublished">
          April 24, 2019
         </time>
         by
         <span class="entry-author" itemprop="author" itemscope="" itemtype="https://schema.org/Person">
          <a class="entry-author-link" href="https://coreyms.com/author/coreymschafer" itemprop="url" rel="author">
           <span class="entry-author-name" itemprop="name">
            Corey Schafer
           </span>
          </a>
         </span>
         <span class="entry-comments-link">
          <a href="https://coreyms.com/development/python/clarifying-the-issues-with-mutable-default-arguments#respond">
           <span class="dsq-postid" data-dsqidentifier="1634 http://coreyms.com/?p=1634">
            Leave a Comment
           </span>
          </a>
         </span>
        </p>
       </header>
       <div class="entry-content" itemprop="text">
        <p>
         In this Python Programming Tutorial, we will be clarifying the issues with mutable default arguments. We discussed this in my last video titled “5 Common Python Mistakes and How to Fix Them”, but I received many comments from people who were still confused. So we will be doing a deeper dive to explain exactly what is going on here. Let’s get started…
        </p>
        <figure class="wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio">
         <div class="wp-block-embed__wrapper">
          <span class="embed-youtube" style="text-align:center; display: block;">
           <iframe allowfullscreen="true" class="youtube-player" height="360" src="https://www.youtube.com/embed/_JGmemuINww?version=3&amp;rel=1&amp;fs=1&amp;autohide=2&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;wmode=transparent" style="border:0;" type="text/html" width="640">
           </iframe>
          </span>
         </div>
        </figure>
       </div>
       <footer class="entry-footer">
        <p class="entry-meta">
         <span class="entry-categories">
          Filed Under:
          <a href="https://coreyms.com/category/development" rel="category tag">
           Development
          </a>
          ,
          <a href="https://coreyms.com/category/development/python" rel="category tag">
           Python
          </a>
         </span>
         <span class="entry-tags">
          Tagged With:
          <a href="https://coreyms.com/tag/common-errors" rel="tag">
           common errors
          </a>
          ,
          <a href="https://coreyms.com/tag/common-mistakes" rel="tag">
           common mistakes
          </a>
          ,
          <a href="https://coreyms.com/tag/functions" rel="tag">
           functions
          </a>
          ,
          <a href="https://coreyms.com/tag/mutable-default-arguments" rel="tag">
           mutable default arguments
          </a>
         </span>
        </p>
       </footer>
      </article>
      <article class="post-1629 post type-post status-publish format-standard has-post-thumbnail category-development category-python tag-common-errors tag-common-mistakes tag-indentationerror tag-python-gotchas entry" itemscope="" itemtype="https://schema.org/CreativeWork">
       <header class="entry-header">
        <h2 class="entry-title" itemprop="headline">
         <a class="entry-title-link" href="https://coreyms.com/development/python/5-common-python-mistakes-and-how-to-fix-them-2" rel="bookmark">
          5 Common Python Mistakes and How to Fix Them
         </a>
        </h2>
        <p class="entry-meta">
         <time class="entry-time" datetime="2019-04-22T13:56:21+00:00" itemprop="datePublished">
          April 22, 2019
         </time>
         by
         <span class="entry-author" itemprop="author" itemscope="" itemtype="https://schema.org/Person">
          <a class="entry-author-link" href="https://coreyms.com/author/coreymschafer" itemprop="url" rel="author">
           <span class="entry-author-name" itemprop="name">
            Corey Schafer
           </span>
          </a>
         </span>
         <span class="entry-comments-link">
          <a href="https://coreyms.com/development/python/5-common-python-mistakes-and-how-to-fix-them-2#respond">
           <span class="dsq-postid" data-dsqidentifier="1629 http://coreyms.com/?p=1629">
            Leave a Comment
           </span>
          </a>
         </span>
        </p>
       </header>
       <div class="entry-content" itemprop="text">
        <p>
         In this Python Programming Tutorial, we will be going over some of the most common mistakes. I get a lot of questions from people every day, and I have seen a lot of people making these same mistakes in their code. So we will investigate each of these common mistakes and also look at the fixes for each other these as well. Here are the timestamps for each topic we will cover…
         <br/>
         1) Indentation and Spaces – 0:45
         <br/>
         2) Naming Conflicts – 4:12
         <br/>
         3) Mutable Default Args – 10:05
         <br/>
         4) Exhausting Iterators – 16:35
         <br/>
         5) Importing with * – 22:13
        </p>
        <figure class="wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio">
         <div class="wp-block-embed__wrapper">
          <span class="embed-youtube" style="text-align:center; display: block;">
           <iframe allowfullscreen="true" class="youtube-player" height="360" src="https://www.youtube.com/embed/zdJEYhA2AZQ?version=3&amp;rel=1&amp;fs=1&amp;autohide=2&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;wmode=transparent" style="border:0;" type="text/html" width="640">
           </iframe>
          </span>
         </div>
        </figure>
       </div>
       <footer class="entry-footer">
        <p class="entry-meta">
         <span class="entry-categories">
          Filed Under:
          <a href="https://coreyms.com/category/development" rel="category tag">
           Development
          </a>
          ,
          <a href="https://coreyms.com/category/development/python" rel="category tag">
           Python
          </a>
         </span>
         <span class="entry-tags">
          Tagged With:
          <a href="https://coreyms.com/tag/common-errors" rel="tag">
           common errors
          </a>
          ,
          <a href="https://coreyms.com/tag/common-mistakes" rel="tag">
           common mistakes
          </a>
          ,
          <a href="https://coreyms.com/tag/indentationerror" rel="tag">
           indentationerror
          </a>
          ,
          <a href="https://coreyms.com/tag/python-gotchas" rel="tag">
           python gotchas
          </a>
         </span>
        </p>
       </footer>
      </article>
      <article class="post-1623 post type-post status-publish format-standard has-post-thumbnail category-development tag-dev-machine tag-development-environment tag-development-machine tag-mac tag-macbook tag-macbook-pro entry" itemscope="" itemtype="https://schema.org/CreativeWork">
       <header class="entry-header">
        <h2 class="entry-title" itemprop="headline">
         <a class="entry-title-link" href="https://coreyms.com/development/how-i-setup-a-new-development-machine-using-scripts-to-automate-installs-and-save-time" rel="bookmark">
          How I Setup a New Development Machine – Using Scripts to Automate Installs and Save Time
         </a>
        </h2>
        <p class="entry-meta">
         <time class="entry-time" datetime="2019-04-15T15:03:50+00:00" itemprop="datePublished">
          April 15, 2019
         </time>
         by
         <span class="entry-author" itemprop="author" itemscope="" itemtype="https://schema.org/Person">
          <a class="entry-author-link" href="https://coreyms.com/author/coreymschafer" itemprop="url" rel="author">
           <span class="entry-author-name" itemprop="name">
            Corey Schafer
           </span>
          </a>
         </span>
         <span class="entry-comments-link">
          <a href="https://coreyms.com/development/how-i-setup-a-new-development-machine-using-scripts-to-automate-installs-and-save-time#respond">
           <span class="dsq-postid" data-dsqidentifier="1623 http://coreyms.com/?p=1623">
            Leave a Comment
           </span>
          </a>
         </span>
        </p>
       </header>
       <div class="entry-content" itemprop="text">
        <p>
         In this video, I’ll be showing how I set up a new development machine. I recently got a new MacBook and wanted to show how I use scripts to automate a lot of this process. It used to take me a lot of time to install all of my software and get everything set up the way I like it. Now I use these automated scripts to do this in minutes. Let’s get started…
        </p>
        <figure class="wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio">
         <div class="wp-block-embed__wrapper">
          <span class="embed-youtube" style="text-align:center; display: block;">
           <iframe allowfullscreen="true" class="youtube-player" height="360" src="https://www.youtube.com/embed/kIdiWut8eD8?version=3&amp;rel=1&amp;fs=1&amp;autohide=2&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;wmode=transparent" style="border:0;" type="text/html" width="640">
           </iframe>
          </span>
         </div>
        </figure>
       </div>
       <footer class="entry-footer">
        <p class="entry-meta">
         <span class="entry-categories">
          Filed Under:
          <a href="https://coreyms.com/category/development" rel="category tag">
           Development
          </a>
         </span>
         <span class="entry-tags">
          Tagged With:
          <a href="https://coreyms.com/tag/dev-machine" rel="tag">
           dev machine
          </a>
          ,
          <a href="https://coreyms.com/tag/development-environment" rel="tag">
           Development Environment
          </a>
          ,
          <a href="https://coreyms.com/tag/development-machine" rel="tag">
           development machine
          </a>
          ,
          <a href="https://coreyms.com/tag/mac" rel="tag">
           Mac
          </a>
          ,
          <a href="https://coreyms.com/tag/macbook" rel="tag">
           macbook
          </a>
          ,
          <a href="https://coreyms.com/tag/macbook-pro" rel="tag">
           macbook pro
          </a>
         </span>
        </p>
       </footer>
      </article>
      <article class="post-1618 post type-post status-publish format-standard has-post-thumbnail category-development category-python tag-api tag-brew tag-data tag-data-science tag-homebrew tag-json tag-sorting entry" itemscope="" itemtype="https://schema.org/CreativeWork">
       <header class="entry-header">
        <h2 class="entry-title" itemprop="headline">
         <a class="entry-title-link" href="https://coreyms.com/development/python/how-to-write-python-scripts-to-analyze-json-apis-and-sort-results" rel="bookmark">
          How to Write Python Scripts to Analyze JSON APIs and Sort Results
         </a>
        </h2>
        <p class="entry-meta">
         <time class="entry-time" datetime="2019-04-09T15:19:35+00:00" itemprop="datePublished">
          April 9, 2019
         </time>
         by
         <span class="entry-author" itemprop="author" itemscope="" itemtype="https://schema.org/Person">
          <a class="entry-author-link" href="https://coreyms.com/author/coreymschafer" itemprop="url" rel="author">
           <span class="entry-author-name" itemprop="name">
            Corey Schafer
           </span>
          </a>
         </span>
         <span class="entry-comments-link">
          <a href="https://coreyms.com/development/python/how-to-write-python-scripts-to-analyze-json-apis-and-sort-results#respond">
           <span class="dsq-postid" data-dsqidentifier="1618 http://coreyms.com/?p=1618">
            Leave a Comment
           </span>
          </a>
         </span>
        </p>
       </header>
       <div class="entry-content" itemprop="text">
        <p>
         In this Python Programming Tutorial, we will be learning how to grab data from a JSON API, parse out the information we want, and then sort the data using a custom key. The API we will be using is a JSON API for Homebrew Packages and we will be sorting the packages by their popularity. We cover a lot of topics in this tutorial. We will be using the Requests Library, converting to/from JSON, reading and writing to files, writing our own sorting function, and more. Let’s get started…
        </p>
        <figure class="wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio">
         <div class="wp-block-embed__wrapper">
          <span class="embed-youtube" style="text-align:center; display: block;">
           <iframe allowfullscreen="true" class="youtube-player" height="360" src="https://www.youtube.com/embed/1lxrb_ezP-g?version=3&amp;rel=1&amp;fs=1&amp;autohide=2&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;wmode=transparent" style="border:0;" type="text/html" width="640">
           </iframe>
          </span>
         </div>
        </figure>
       </div>
       <footer class="entry-footer">
        <p class="entry-meta">
         <span class="entry-categories">
          Filed Under:
          <a href="https://coreyms.com/category/development" rel="category tag">
           Development
          </a>
          ,
          <a href="https://coreyms.com/category/development/python" rel="category tag">
           Python
          </a>
         </span>
         <span class="entry-tags">
          Tagged With:
          <a href="https://coreyms.com/tag/api" rel="tag">
           API
          </a>
          ,
          <a href="https://coreyms.com/tag/brew" rel="tag">
           brew
          </a>
          ,
          <a href="https://coreyms.com/tag/data" rel="tag">
           data
          </a>
          ,
          <a href="https://coreyms.com/tag/data-science" rel="tag">
           Data Science
          </a>
          ,
          <a href="https://coreyms.com/tag/homebrew" rel="tag">
           homebrew
          </a>
          ,
          <a href="https://coreyms.com/tag/json" rel="tag">
           JSON
          </a>
          ,
          <a href="https://coreyms.com/tag/sorting" rel="tag">
           Sorting
          </a>
         </span>
        </p>
       </footer>
      </article>
      <article class="post-1614 post type-post status-publish format-standard has-post-thumbnail category-development category-terminal tag-brew tag-homebrew tag-mac tag-macos tag-package-manager entry" itemscope="" itemtype="https://schema.org/CreativeWork">
       <header class="entry-header">
        <h2 class="entry-title" itemprop="headline">
         <a class="entry-title-link" href="https://coreyms.com/development/terminal/homebrew-tutorial-simplify-software-installation-on-mac-using-this-package-manager" rel="bookmark">
          Homebrew Tutorial: Simplify Software Installation on Mac Using This Package Manager
         </a>
        </h2>
        <p class="entry-meta">
         <time class="entry-time" datetime="2019-04-09T13:26:14+00:00" itemprop="datePublished">
          April 9, 2019
         </time>
         by
         <span class="entry-author" itemprop="author" itemscope="" itemtype="https://schema.org/Person">
          <a class="entry-author-link" href="https://coreyms.com/author/coreymschafer" itemprop="url" rel="author">
           <span class="entry-author-name" itemprop="name">
            Corey Schafer
           </span>
          </a>
         </span>
         <span class="entry-comments-link">
          <a href="https://coreyms.com/development/terminal/homebrew-tutorial-simplify-software-installation-on-mac-using-this-package-manager#respond">
           <span class="dsq-postid" data-dsqidentifier="1614 http://coreyms.com/?p=1614">
            Leave a Comment
           </span>
          </a>
         </span>
        </p>
       </header>
       <div class="entry-content" itemprop="text">
        <p>
         In this video, we’ll be learning how to use the Homebrew Package Manager on MacOS. Brew allows us to easily install command-line tools with a simple command. We can also install native applications for Mac using Brew Cask. I often use these commands in scripts to install a lot of new software quickly and easily on new machines. Let’s get started…
        </p>
        <figure class="wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio">
         <div class="wp-block-embed__wrapper">
          <span class="embed-youtube" style="text-align:center; display: block;">
           <iframe allowfullscreen="true" class="youtube-player" height="360" src="https://www.youtube.com/embed/SELYgZvAZbU?version=3&amp;rel=1&amp;fs=1&amp;autohide=2&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;wmode=transparent" style="border:0;" type="text/html" width="640">
           </iframe>
          </span>
         </div>
        </figure>
       </div>
       <footer class="entry-footer">
        <p class="entry-meta">
         <span class="entry-categories">
          Filed Under:
          <a href="https://coreyms.com/category/development" rel="category tag">
           Development
          </a>
          ,
          <a href="https://coreyms.com/category/development/terminal" rel="category tag">
           Terminal
          </a>
         </span>
         <span class="entry-tags">
          Tagged With:
          <a href="https://coreyms.com/tag/brew" rel="tag">
           brew
          </a>
          ,
          <a href="https://coreyms.com/tag/homebrew" rel="tag">
           homebrew
          </a>
          ,
          <a href="https://coreyms.com/tag/mac" rel="tag">
           Mac
          </a>
          ,
          <a href="https://coreyms.com/tag/macos" rel="tag">
           macos
          </a>
          ,
          <a href="https://coreyms.com/tag/package-manager" rel="tag">
           package manager
          </a>
         </span>
        </p>
       </footer>
      </article>
      <article class="post-1611 post type-post status-publish format-standard has-post-thumbnail category-development category-python tag-venv tag-virtual-environment tag-virtualenv entry" itemscope="" itemtype="https://schema.org/CreativeWork">
       <header class="entry-header">
        <h2 class="entry-title" itemprop="headline">
         <a class="entry-title-link" href="https://coreyms.com/development/python/python-tutorial-venv-windows-how-to-use-virtual-environments-with-the-built-in-venv-module" rel="bookmark">
          Python Tutorial: VENV (Windows) – How to Use Virtual Environments with the Built-In venv Module
         </a>
        </h2>
        <p class="entry-meta">
         <time class="entry-time" datetime="2019-04-06T12:53:40+00:00" itemprop="datePublished">
          April 6, 2019
         </time>
         by
         <span class="entry-author" itemprop="author" itemscope="" itemtype="https://schema.org/Person">
          <a class="entry-author-link" href="https://coreyms.com/author/coreymschafer" itemprop="url" rel="author">
           <span class="entry-author-name" itemprop="name">
            Corey Schafer
           </span>
          </a>
         </span>
         <span class="entry-comments-link">
          <a href="https://coreyms.com/development/python/python-tutorial-venv-windows-how-to-use-virtual-environments-with-the-built-in-venv-module#respond">
           <span class="dsq-postid" data-dsqidentifier="1611 http://coreyms.com/?p=1611">
            Leave a Comment
           </span>
          </a>
         </span>
        </p>
       </header>
       <div class="entry-content" itemprop="text">
        <p>
         In this Python Programming Tutorial, we will be learning how to use virtual environments on the Windows operating systems with the built-in
         <g class="gr_ gr_4 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling" data-gr-id="4" id="4">
          venv
         </g>
         module. We will learn how to create them, activate them, remove them, and much more. Let’s get started…
        </p>
        <figure class="wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio">
         <div class="wp-block-embed__wrapper">
          <span class="embed-youtube" style="text-align:center; display: block;">
           <iframe allowfullscreen="true" class="youtube-player" height="360" src="https://www.youtube.com/embed/APOPm01BVrk?version=3&amp;rel=1&amp;fs=1&amp;autohide=2&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;wmode=transparent" style="border:0;" type="text/html" width="640">
           </iframe>
          </span>
         </div>
        </figure>
       </div>
       <footer class="entry-footer">
        <p class="entry-meta">
         <span class="entry-categories">
          Filed Under:
          <a href="https://coreyms.com/category/development" rel="category tag">
           Development
          </a>
          ,
          <a href="https://coreyms.com/category/development/python" rel="category tag">
           Python
          </a>
         </span>
         <span class="entry-tags">
          Tagged With:
          <a href="https://coreyms.com/tag/venv" rel="tag">
           venv
          </a>
          ,
          <a href="https://coreyms.com/tag/virtual-environment" rel="tag">
           virtual environment
          </a>
          ,
          <a href="https://coreyms.com/tag/virtualenv" rel="tag">
           virtualenv
          </a>
         </span>
        </p>
       </footer>
      </article>
      <article class="post-1608 post type-post status-publish format-standard has-post-thumbnail category-development category-python tag-venv tag-virtual-environment tag-virtualenv entry" itemscope="" itemtype="https://schema.org/CreativeWork">
       <header class="entry-header">
        <h2 class="entry-title" itemprop="headline">
         <a class="entry-title-link" href="https://coreyms.com/development/python/python-tutorial-venv-mac-linux-how-to-use-virtual-environments-with-the-built-in-venv-module" rel="bookmark">
          Python Tutorial: VENV (Mac &amp; Linux) – How to Use Virtual Environments with the Built-In venv Module
         </a>
        </h2>
        <p class="entry-meta">
         <time class="entry-time" datetime="2019-04-06T12:51:53+00:00" itemprop="datePublished">
          April 6, 2019
         </time>
         by
         <span class="entry-author" itemprop="author" itemscope="" itemtype="https://schema.org/Person">
          <a class="entry-author-link" href="https://coreyms.com/author/coreymschafer" itemprop="url" rel="author">
           <span class="entry-author-name" itemprop="name">
            Corey Schafer
           </span>
          </a>
         </span>
         <span class="entry-comments-link">
          <a href="https://coreyms.com/development/python/python-tutorial-venv-mac-linux-how-to-use-virtual-environments-with-the-built-in-venv-module#respond">
           <span class="dsq-postid" data-dsqidentifier="1608 http://coreyms.com/?p=1608">
            Leave a Comment
           </span>
          </a>
         </span>
        </p>
       </header>
       <div class="entry-content" itemprop="text">
        <p>
         In this Python Programming Tutorial, we will be learning how to use virtual environments on the Mac and Linux operating systems with the built-in
         <g class="gr_ gr_5 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling" data-gr-id="5" id="5">
          venv
         </g>
         module. We will learn how to create them, activate them, remove them, and much more. Let’s get started…
        </p>
        <figure class="wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio">
         <div class="wp-block-embed__wrapper">
          <span class="embed-youtube" style="text-align:center; display: block;">
           <iframe allowfullscreen="true" class="youtube-player" height="360" src="https://www.youtube.com/embed/Kg1Yvry_Ydk?version=3&amp;rel=1&amp;fs=1&amp;autohide=2&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;wmode=transparent" style="border:0;" type="text/html" width="640">
           </iframe>
          </span>
         </div>
        </figure>
       </div>
       <footer class="entry-footer">
        <p class="entry-meta">
         <span class="entry-categories">
          Filed Under:
          <a href="https://coreyms.com/category/development" rel="category tag">
           Development
          </a>
          ,
          <a href="https://coreyms.com/category/development/python" rel="category tag">
           Python
          </a>
         </span>
         <span class="entry-tags">
          Tagged With:
          <a href="https://coreyms.com/tag/venv" rel="tag">
           venv
          </a>
          ,
          <a href="https://coreyms.com/tag/virtual-environment" rel="tag">
           virtual environment
          </a>
          ,
          <a href="https://coreyms.com/tag/virtualenv" rel="tag">
           virtualenv
          </a>
         </span>
        </p>
       </footer>
      </article>
      <article class="post-1598 post type-post status-publish format-standard has-post-thumbnail category-development category-python tag-context-manager tag-dir-function tag-enumerate tag-getattr tag-getpass tag-help-function tag-setattr tag-ternary-operator tag-tips-and-tricks tag-underscores tag-unpacking tag-zip entry" itemscope="" itemtype="https://schema.org/CreativeWork">
       <header class="entry-header">
        <h2 class="entry-title" itemprop="headline">
         <a class="entry-title-link" href="https://coreyms.com/development/python/10-python-tips-and-tricks-for-writing-better-code" rel="bookmark">
          10 Python Tips and Tricks For Writing Better Code
         </a>
        </h2>
        <p class="entry-meta">
         <time class="entry-time" datetime="2019-03-25T19:46:02+00:00" itemprop="datePublished">
          March 25, 2019
         </time>
         by
         <span class="entry-author" itemprop="author" itemscope="" itemtype="https://schema.org/Person">
          <a class="entry-author-link" href="https://coreyms.com/author/coreymschafer" itemprop="url" rel="author">
           <span class="entry-author-name" itemprop="name">
            Corey Schafer
           </span>
          </a>
         </span>
         <span class="entry-comments-link">
          <a href="https://coreyms.com/development/python/10-python-tips-and-tricks-for-writing-better-code#respond">
           <span class="dsq-postid" data-dsqidentifier="1598 http://coreyms.com/?p=1598">
            Leave a Comment
           </span>
          </a>
         </span>
        </p>
       </header>
       <div class="entry-content" itemprop="text">
        <p>
         In this Python Programming video, we will be going over 10 tips and tricks for writing Pythonic code. Here are the timestamps for each topic we will cover…
         <br/>
         1) Ternary Conditionals – 0:34
         <br/>
         2) Underscore Placeholders – 2:13
         <br/>
         3) Context Managers – 4:25
         <br/>
         4) Enumerate – 6:50
         <br/>
         5) Zip – 8:52
         <br/>
         6) Unpacking – 13:02
         <br/>
         7) Setattr/Getattr – 19:08
         <br/>
         8) GetPass – 26:24
         <br/>
         9) Python dash m – 29:18
         <br/>
         10) Help/Dir – 33:17
        </p>
        <figure class="wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio">
         <div class="wp-block-embed__wrapper">
          <span class="embed-youtube" style="text-align:center; display: block;">
           <iframe allowfullscreen="true" class="youtube-player" height="360" src="https://www.youtube.com/embed/C-gEQdGVXbk?version=3&amp;rel=1&amp;fs=1&amp;autohide=2&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;wmode=transparent" style="border:0;" type="text/html" width="640">
           </iframe>
          </span>
         </div>
        </figure>
       </div>
       <footer class="entry-footer">
        <p class="entry-meta">
         <span class="entry-categories">
          Filed Under:
          <a href="https://coreyms.com/category/development" rel="category tag">
           Development
          </a>
          ,
          <a href="https://coreyms.com/category/development/python" rel="category tag">
           Python
          </a>
         </span>
         <span class="entry-tags">
          Tagged With:
          <a href="https://coreyms.com/tag/context-manager" rel="tag">
           context manager
          </a>
          ,
          <a href="https://coreyms.com/tag/dir-function" rel="tag">
           dir function
          </a>
          ,
          <a href="https://coreyms.com/tag/enumerate" rel="tag">
           enumerate
          </a>
          ,
          <a href="https://coreyms.com/tag/getattr" rel="tag">
           getattr
          </a>
          ,
          <a href="https://coreyms.com/tag/getpass" rel="tag">
           getpass
          </a>
          ,
          <a href="https://coreyms.com/tag/help-function" rel="tag">
           help function
          </a>
          ,
          <a href="https://coreyms.com/tag/setattr" rel="tag">
           setattr
          </a>
          ,
          <a href="https://coreyms.com/tag/ternary-operator" rel="tag">
           ternary operator
          </a>
          ,
          <a href="https://coreyms.com/tag/tips-and-tricks" rel="tag">
           tips and tricks
          </a>
          ,
          <a href="https://coreyms.com/tag/underscores" rel="tag">
           underscores
          </a>
          ,
          <a href="https://coreyms.com/tag/unpacking" rel="tag">
           unpacking
          </a>
          ,
          <a href="https://coreyms.com/tag/zip" rel="tag">
           zip
          </a>
         </span>
        </p>
       </footer>
      </article>
      <div class="archive-pagination pagination">
       <ul>
        <li class="active">
         <a aria-current="page" aria-label="Current page" href="https://coreyms.com/">
          1
         </a>
        </li>
        <li>
         <a href="https://coreyms.com/page/2">
          2
         </a>
        </li>
        <li>
         <a href="https://coreyms.com/page/3">
          3
         </a>
        </li>
        <li class="pagination-omission">
         …
        </li>
        <li>
         <a href="https://coreyms.com/page/16">
          16
         </a>
        </li>
        <li class="pagination-next">
         <a href="https://coreyms.com/page/2">
          Next Page »
         </a>
        </li>
       </ul>
      </div>
     </main>
     <aside aria-label="Primary Sidebar" class="sidebar sidebar-primary widget-area" itemscope="" itemtype="https://schema.org/WPSideBar" role="complementary">
      <section class="widget widget_text" id="text-5">
       <div class="widget-wrap">
        <h4 class="widget-title widgettitle">
         Main Contributor
        </h4>
        <div class="textwidget">
         <ul>
          <li>
           <b>
            Bsdfan
           </b>
          </li>
         </ul>
         <h4 style="margin-top: 25px; font-size: 17px;">
          Top Contributors (13)
         </h4>
         <ul>
          <li>
           Bsdfan
          </li>
          <li>
           Greg Herrera
          </li>
          <li>
           chris
          </li>
          <li>
           Allen Liu
          </li>
          <li>
           Jerome Massey
          </li>
          <li>
           leovdpauw
          </li>
          <li>
           Robert Butler
          </li>
          <li>
           Mark Fingerhuth
          </li>
          <li>
           Wales Mack
          </li>
          <li>
           Jonathan Llovet
          </li>
          <li>
           David Myers
          </li>
          <li>
           Karthik
          </li>
          <li>
           Michael Zoitas
          </li>
         </ul>
         <hr style="border: 0; border-bottom: 1px dotted #ddd;"/>
         <p>
          <b>
           Thank You!
          </b>
          If you would like to have your name listed as a contributor and support the website, you can do so through
          <a href="https://www.patreon.com/coreyms" rel="noopener noreferrer" target="_blank">
           my Patreon Page
          </a>
          . I am extremely grateful for any support.
         </p>
        </div>
       </div>
      </section>
      <section class="widget widget_search" id="search-3">
       <div class="widget-wrap">
        <h4 class="widget-title widgettitle">
         Search CoreyMS.com
        </h4>
        <form action="https://coreyms.com/" class="search-form" itemprop="potentialAction" itemscope="" itemtype="https://schema.org/SearchAction" method="get" role="search">
         <input class="search-form-input" id="searchform-5d2f7cb45440a8.19825499" itemprop="query-input" name="s" placeholder="Search this website" type="search"/>
         <input class="search-form-submit" type="submit" value="Search"/>
         <meta content="https://coreyms.com/?s={s}" itemprop="target"/>
        </form>
       </div>
      </section>
      <section class="widget enews-widget" id="enews-ext-4">
       <div class="widget-wrap">
        <div class="enews">
         <h4 class="widget-title widgettitle">
          Subscribe to Future Posts
         </h4>
         <form action="//coreyms.us9.list-manage.com/subscribe/post?u=f4df8a0f0be5d3754ed52b1ef&amp;id=5b06358625" id="subscribeenews-ext-4" method="post" name="enews-ext-4" onsubmit="if ( subbox1.value == 'First Name') { subbox1.value = ''; } if ( subbox2.value == 'Last Name') { subbox2.value = ''; }" target="_blank">
          <label class="screenread" for="subbox1">
           First Name
          </label>
          <input class="enews-subbox" id="subbox1" name="FNAME" placeholder="First Name" type="text" value=""/>
          <label class="screenread" for="subbox">
           E-Mail Address
          </label>
          <input id="subbox" name="EMAIL" placeholder="E-Mail Address" required="required" type="email" value=""/>
          <input id="subbutton" type="submit" value="Subscribe"/>
         </form>
        </div>
       </div>
      </section>
      <section class="widget widget_text" id="text-2">
       <div class="widget-wrap">
        <h4 class="widget-title widgettitle">
         Recommended Books
        </h4>
        <div class="textwidget">
         <a href="https://www.amazon.com/gp/product/1449355730/ref=as_li_tl?ie=UTF8&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1449355730&amp;linkCode=as2&amp;tag=coreyms-20&amp;linkId=2f9ceaf471d7d35f2c2657051780fc6f" target="_blank">
          <img border="0" class="widget_book" src="//ws-na.amazon-adsystem.com/widgets/q?_encoding=UTF8&amp;MarketPlace=US&amp;ASIN=1449355730&amp;ServiceVersion=20070822&amp;ID=AsinImage&amp;WS=1&amp;Format=_SL250_&amp;tag=coreyms-20"/>
         </a>
         <img alt="" border="0" height="1" src="//ir-na.amazon-adsystem.com/e/ir?t=coreyms-20&amp;l=am2&amp;o=1&amp;a=1449355730" style="border:none !important; margin:0px !important;" width="1"/>
         <a href="https://www.amazon.com/gp/product/1491946008/ref=as_li_tl?ie=UTF8&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1491946008&amp;linkCode=as2&amp;tag=coreyms-20&amp;linkId=39335cdc340fb7ce5bd51d59c57e7e54" target="_blank">
          <img border="0" class="widget_book" src="//ws-na.amazon-adsystem.com/widgets/q?_encoding=UTF8&amp;MarketPlace=US&amp;ASIN=1491946008&amp;ServiceVersion=20070822&amp;ID=AsinImage&amp;WS=1&amp;Format=_SL250_&amp;tag=coreyms-20"/>
         </a>
         <img alt="" border="0" height="1" src="//ir-na.amazon-adsystem.com/e/ir?t=coreyms-20&amp;l=am2&amp;o=1&amp;a=1491946008" style="border:none !important; margin:0px !important;" width="1"/>
         <a href="https://www.amazon.com/gp/product/1593276036/ref=as_li_tl?ie=UTF8&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1593276036&amp;linkCode=as2&amp;tag=coreyms-20&amp;linkId=75ff844a147bc8cb5fb325608b286158" target="_blank">
          <img border="0" class="widget_book" src="//ws-na.amazon-adsystem.com/widgets/q?_encoding=UTF8&amp;MarketPlace=US&amp;ASIN=1593276036&amp;ServiceVersion=20070822&amp;ID=AsinImage&amp;WS=1&amp;Format=_SL250_&amp;tag=coreyms-20"/>
         </a>
         <img alt="" border="0" height="1" src="//ir-na.amazon-adsystem.com/e/ir?t=coreyms-20&amp;l=am2&amp;o=1&amp;a=1593276036" style="border:none !important; margin:0px !important;" width="1"/>
         <a href="https://www.amazon.com/gp/product/0984782850/ref=as_li_tl?ie=UTF8&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0984782850&amp;linkCode=as2&amp;tag=coreyms-20&amp;linkId=e2f7c21906426f17958a1d04718e7d02" target="_blank">
          <img border="0" class="widget_book" src="//ws-na.amazon-adsystem.com/widgets/q?_encoding=UTF8&amp;MarketPlace=US&amp;ASIN=0984782850&amp;ServiceVersion=20070822&amp;ID=AsinImage&amp;WS=1&amp;Format=_SL250_&amp;tag=coreyms-20"/>
         </a>
         <img alt="" border="0" height="1" src="//ir-na.amazon-adsystem.com/e/ir?t=coreyms-20&amp;l=am2&amp;o=1&amp;a=0984782850" style="border:none !important; margin:0px !important;" width="1"/>
         <a href="https://www.amazon.com/gp/product/020161622X/ref=as_li_tl?ie=UTF8&amp;camp=1789&amp;creative=9325&amp;creativeASIN=020161622X&amp;linkCode=as2&amp;tag=coreyms-20&amp;linkId=a2699f6b6cb5814da54f71140c52f2ca" target="_blank">
          <img border="0" class="widget_book" src="//ws-na.amazon-adsystem.com/widgets/q?_encoding=UTF8&amp;MarketPlace=US&amp;ASIN=020161622X&amp;ServiceVersion=20070822&amp;ID=AsinImage&amp;WS=1&amp;Format=_SL250_&amp;tag=coreyms-20"/>
         </a>
         <img alt="" border="0" height="1" src="//ir-na.amazon-adsystem.com/e/ir?t=coreyms-20&amp;l=am2&amp;o=1&amp;a=020161622X" style="border:none !important; margin:0px !important;" width="1"/>
         <a href="https://www.amazon.com/gp/product/0201835959/ref=as_li_tl?ie=UTF8&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0201835959&amp;linkCode=as2&amp;tag=coreyms-20&amp;linkId=c3de80ab4a4761f7634751cf323af13f" target="_blank">
          <img border="0" class="widget_book" src="//ws-na.amazon-adsystem.com/widgets/q?_encoding=UTF8&amp;MarketPlace=US&amp;ASIN=0201835959&amp;ServiceVersion=20070822&amp;ID=AsinImage&amp;WS=1&amp;Format=_SL250_&amp;tag=coreyms-20"/>
         </a>
         <img alt="" border="0" height="1" src="//ir-na.amazon-adsystem.com/e/ir?t=coreyms-20&amp;l=am2&amp;o=1&amp;a=0201835959" style="border:none !important; margin:0px !important;" width="1"/>
        </div>
       </div>
      </section>
      <section class="widget widget_text" id="text-3">
       <div class="widget-wrap">
        <h4 class="widget-title widgettitle">
         Podcasts I Listen To
        </h4>
        <div class="textwidget">
         <u>
          Tech Related
         </u>
         :
         <br/>
         <a href="http://talkpython.fm/">
          Talk Python To Me
         </a>
         <br/>
         <a href="http://shoptalkshow.com/">
          Shoptalk Show
         </a>
         <br/>
         <a href="http://www.se-radio.net/">
          Software Engineering Radio
         </a>
         <br/>
         <a href="http://hanselminutes.com/">
          HanselMinutes
         </a>
         <br/>
         <a href="https://blog.codepen.io/radio/">
          CodePen Radio
         </a>
         <br/>
         <br/>
         <u>
          Non-Tech Related
         </u>
         :
         <br/>
         <a href="http://www.dancarlin.com/hardcore-history-series/">
          Dan Carlin's Hardcore History
         </a>
         <br/>
         <a href="http://www.billburr.com/podcast">
          Bill Burr's Monday Morning Podcast
         </a>
         <br/>
         <a href="http://www.samharris.org/podcast">
          Waking Up with Sam Harris
         </a>
         <br/>
         <a href="http://www.startalkradio.net/shows-archive/">
          StarTalk Radio
         </a>
         <br/>
         <a href="http://carasantamaria.com/podcast/">
          Talk Nerdy with Cara Santa Maria
         </a>
        </div>
       </div>
      </section>
     </aside>
    </div>
   </div>
   <footer class="site-footer" itemscope="" itemtype="https://schema.org/WPFooter">
    <div class="wrap">
     <p>
      © 2019 ·
      <a href="http://coreyms.com">
       CoreyMS
      </a>
      · Corey Schafer
     </p>
    </div>
   </footer>
  </div>
  <link href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/zenburn.min.css" rel="stylesheet"/>
  <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js">
  </script>
  <script>
   hljs.initHighlightingOnLoad();
  </script>
  <script type="text/javascript">
   /* <![CDATA[ */
var wpcf7 = {"apiSettings":{"root":"https:\/\/coreyms.com\/wp-json\/contact-form-7\/v1","namespace":"contact-form-7\/v1"},"cached":"1"};
/* ]]> */
  </script>
  <script src="https://coreyms.com/wp-content/cache/minify/0fef6.js" type="text/javascript">
  </script>
  <script type="text/javascript">
   /* <![CDATA[ */
var countVars = {"disqusShortname":"coreyms"};
/* ]]> */
  </script>
  <script src="https://coreyms.com/wp-content/cache/minify/f8767.js" type="text/javascript">
  </script>
  <script src="https://s0.wp.com/wp-content/js/devicepx-jetpack.js?ver=201929" type="text/javascript">
  </script>
  <script src="https://coreyms.com/wp-content/cache/minify/34c40.js" type="text/javascript">
  </script>
  <script async="async" defer="defer" src="https://stats.wp.com/e-201929.js" type="text/javascript">
  </script>
  <script type="text/javascript">
   _stq = window._stq || [];
	_stq.push([ 'view', {v:'ext',j:'1:7.3.1',blog:'70676981',post:'0',tz:'-4',srv:'coreyms.com'} ]);
	_stq.push([ 'clickTrackerInit', '70676981', '0' ]);
  </script>
 </body>
</html>
<!--
Performance optimized by W3 Total Cache. Learn more: https://www.w3-edge.com/products/

Page Caching using disk: enhanced (SSL caching disabled) 
Minified using disk

Served from: coreyms.com @ 2019-07-17 15:53:24 by W3 Total Cache
-->

In [15]:
article = soup.find('article')
print(article.prettify())
<article class="post-1642 post type-post status-publish format-standard has-post-thumbnail category-development category-python tag-development-environment tag-visual-studio-code tag-visual-studios tag-vs-code tag-vscode entry" itemscope="" itemtype="https://schema.org/CreativeWork">
 <header class="entry-header">
  <h2 class="entry-title" itemprop="headline">
   <a class="entry-title-link" href="https://coreyms.com/development/python/visual-studio-code-windows-setting-up-a-python-development-environment-and-complete-overview" rel="bookmark">
    Visual Studio Code (Windows) – Setting up a Python Development Environment and Complete Overview
   </a>
  </h2>
  <p class="entry-meta">
   <time class="entry-time" datetime="2019-05-01T14:03:24+00:00" itemprop="datePublished">
    May 1, 2019
   </time>
   by
   <span class="entry-author" itemprop="author" itemscope="" itemtype="https://schema.org/Person">
    <a class="entry-author-link" href="https://coreyms.com/author/coreymschafer" itemprop="url" rel="author">
     <span class="entry-author-name" itemprop="name">
      Corey Schafer
     </span>
    </a>
   </span>
   <span class="entry-comments-link">
    <a href="https://coreyms.com/development/python/visual-studio-code-windows-setting-up-a-python-development-environment-and-complete-overview#respond">
     <span class="dsq-postid" data-dsqidentifier="1642 http://coreyms.com/?p=1642">
      Leave a Comment
     </span>
    </a>
   </span>
  </p>
 </header>
 <div class="entry-content" itemprop="text">
  <p>
   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…
  </p>
  <p>
   VSCode on MacOS – https://youtu.be/06I63_p-2A4
  </p>
  <p>
   Timestamps for topics in this tutorial:
   <br/>
   Installation – 1:13
   <br/>
   Python Extension – 5:48
   <br/>
   Switching Interpreters – 10:04
   <br/>
   Changing Color Themes – 12:35
   <br/>
   VSCode Settings – 16:16
   <br/>
   Set Default Python – 21:33
   <br/>
   Using Virtual Environments – 25:10
   <br/>
   IntelliSense – 29:45
   <br/>
   Code Formatting – 32:13
   <br/>
   Code Linting – 37:06
   <br/>
   Code Runner Extension – 39:42
   <br/>
   Git Integration – 47:44
   <br/>
   Use Different Terminal – 51:07
   <br/>
   Debugging – 58:45
   <br/>
   Unit Testing – 1:03:25
   <br/>
   Zen Mode – 1:09:55
  </p>
  <figure class="wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio">
   <div class="wp-block-embed__wrapper">
    <span class="embed-youtube" style="text-align:center; display: block;">
     <iframe allowfullscreen="true" class="youtube-player" height="360" src="https://www.youtube.com/embed/-nh9rCzPJ20?version=3&amp;rel=1&amp;fs=1&amp;autohide=2&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;wmode=transparent" style="border:0;" type="text/html" width="640">
     </iframe>
    </span>
   </div>
  </figure>
 </div>
 <footer class="entry-footer">
  <p class="entry-meta">
   <span class="entry-categories">
    Filed Under:
    <a href="https://coreyms.com/category/development" rel="category tag">
     Development
    </a>
    ,
    <a href="https://coreyms.com/category/development/python" rel="category tag">
     Python
    </a>
   </span>
   <span class="entry-tags">
    Tagged With:
    <a href="https://coreyms.com/tag/development-environment" rel="tag">
     Development Environment
    </a>
    ,
    <a href="https://coreyms.com/tag/visual-studio-code" rel="tag">
     visual studio code
    </a>
    ,
    <a href="https://coreyms.com/tag/visual-studios" rel="tag">
     visual studios
    </a>
    ,
    <a href="https://coreyms.com/tag/vs-code" rel="tag">
     vs code
    </a>
    ,
    <a href="https://coreyms.com/tag/vscode" rel="tag">
     vscode
    </a>
   </span>
  </p>
 </footer>
</article>

In [16]:
headline =article.h2.text
print(headline)
Visual Studio Code (Windows) – Setting up a Python Development Environment and Complete Overview
In [17]:
summary=article.find('div',class_='entry-content').p.text
print(summary)
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…
In [29]:
p_tags = article.find('div',class_='entry-content').find_all('p') #find all the p tags in div_class
print(p_tags)
print()

iframe = article.find('iframe')
print(iframe)
src_iframe = iframe['src']
print(src_iframe)
vid_id=src_iframe.split("/")[4].split("?")[0]
print(vid_id)
youtube_link = f'https://youtube.com/watch?v={vid_id}'
print(youtube_link)
[<p>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…</p>, <p>VSCode on MacOS – https://youtu.be/06I63_p-2A4</p>, <p>Timestamps for topics in this tutorial:<br/> Installation – 1:13<br/> Python Extension – 5:48<br/> Switching Interpreters – 10:04<br/> Changing Color Themes – 12:35<br/> VSCode Settings – 16:16<br/> Set Default Python – 21:33<br/> Using Virtual Environments – 25:10<br/> IntelliSense – 29:45<br/> Code Formatting – 32:13<br/> Code Linting – 37:06<br/> Code Runner Extension – 39:42<br/> Git Integration – 47:44<br/> Use Different Terminal – 51:07<br/> Debugging – 58:45<br/> Unit Testing – 1:03:25<br/> Zen Mode – 1:09:55</p>]

<iframe allowfullscreen="true" class="youtube-player" height="360" src="https://www.youtube.com/embed/-nh9rCzPJ20?version=3&amp;rel=1&amp;fs=1&amp;autohide=2&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;wmode=transparent" style="border:0;" type="text/html" width="640"></iframe>
https://www.youtube.com/embed/-nh9rCzPJ20?version=3&rel=1&fs=1&autohide=2&showsearch=0&showinfo=1&iv_load_policy=1&wmode=transparent
-nh9rCzPJ20
https://youtube.com/watch?v=-nh9rCzPJ20
In [30]:
source = requests.get('http://coreyms.com').text
soup = BeautifulSoup(source, 'lxml')
#print(soup.prettify())
#article = soup.find('article')
#print(article.prettify())

for article in soup.find_all('article'):
    headline =article.h2.text
    print("heading: ",headline)
    print()
    
    summary=article.find('div',class_='entry-content').p.text
    print("summary: ",summary)
    print()
    
    vid_id = article.find('iframe')['src'].split("/")[4].split("?")[0]
    youtube_link = f'https://youtube.com/watch?v={vid_id}'
    print(youtube_link)
    
    print()
    print()
heading:  Visual Studio Code (Windows) – Setting up a Python Development Environment and Complete Overview

summary:  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…

https://youtube.com/watch?v=-nh9rCzPJ20


heading:  Visual Studio Code (Mac) – Setting up a Python Development Environment and Complete Overview

summary:  In this Python Programming Tutorial, we will be learning how to set up a Python development environment in VSCode on MacOS. 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…

https://youtube.com/watch?v=06I63_p-2A4


heading:  Clarifying the Issues with Mutable Default Arguments

summary:  In this Python Programming Tutorial, we will be clarifying the issues with mutable default arguments. We discussed this in my last video titled “5 Common Python Mistakes and How to Fix Them”, but I received many comments from people who were still confused. So we will be doing a deeper dive to explain exactly what is going on here. Let’s get started…

https://youtube.com/watch?v=_JGmemuINww


heading:  5 Common Python Mistakes and How to Fix Them

summary:  In this Python Programming Tutorial, we will be going over some of the most common mistakes. I get a lot of questions from people every day, and I have seen a lot of people making these same mistakes in their code. So we will investigate each of these common mistakes and also look at the fixes for each other these as well. Here are the timestamps for each topic we will cover… 1) Indentation and Spaces – 0:45 2) Naming Conflicts – 4:12 3) Mutable Default Args – 10:05 4) Exhausting Iterators – 16:35 5) Importing with * – 22:13

https://youtube.com/watch?v=zdJEYhA2AZQ


heading:  How I Setup a New Development Machine – Using Scripts to Automate Installs and Save Time

summary:  In this video, I’ll be showing how I set up a new development machine. I recently got a new MacBook and wanted to show how I use scripts to automate a lot of this process. It used to take me a lot of time to install all of my software and get everything set up the way I like it. Now I use these automated scripts to do this in minutes. Let’s get started…

https://youtube.com/watch?v=kIdiWut8eD8


heading:  How to Write Python Scripts to Analyze JSON APIs and Sort Results

summary:  In this Python Programming Tutorial, we will be learning how to grab data from a JSON API, parse out the information we want, and then sort the data using a custom key. The API we will be using is a JSON API for Homebrew Packages and we will be sorting the packages by their popularity. We cover a lot of topics in this tutorial. We will be using the Requests Library, converting to/from JSON, reading and writing to files, writing our own sorting function, and more. Let’s get started…

https://youtube.com/watch?v=1lxrb_ezP-g


heading:  Homebrew Tutorial: Simplify Software Installation on Mac Using This Package Manager

summary:  In this video, we’ll be learning how to use the Homebrew Package Manager on MacOS. Brew allows us to easily install command-line tools with a simple command. We can also install native applications for Mac using Brew Cask. I often use these commands in scripts to install a lot of new software quickly and easily on new machines. Let’s get started…

https://youtube.com/watch?v=SELYgZvAZbU


heading:  Python Tutorial: VENV (Windows) – How to Use Virtual Environments with the Built-In venv Module

summary:  In this Python Programming Tutorial, we will be learning how to use virtual environments on the Windows operating systems with the built-in venv module. We will learn how to create them, activate them, remove them, and much more. Let’s get started…

https://youtube.com/watch?v=APOPm01BVrk


heading:  Python Tutorial: VENV (Mac & Linux) – How to Use Virtual Environments with the Built-In venv Module

summary:  In this Python Programming Tutorial, we will be learning how to use virtual environments on the Mac and Linux operating systems with the built-in venv module. We will learn how to create them, activate them, remove them, and much more. Let’s get started…

https://youtube.com/watch?v=Kg1Yvry_Ydk


heading:  10 Python Tips and Tricks For Writing Better Code

summary:  In this Python Programming video, we will be going over 10 tips and tricks for writing Pythonic code. Here are the timestamps for each topic we will cover… 1) Ternary Conditionals – 0:34 2) Underscore Placeholders – 2:13 3) Context Managers – 4:25 4) Enumerate – 6:50 5) Zip – 8:52 6) Unpacking – 13:02 7) Setattr/Getattr – 19:08 8) GetPass – 26:24 9) Python dash m – 29:18 10) Help/Dir – 33:17 

https://youtube.com/watch?v=C-gEQdGVXbk


In [ ]: