Skip to content

Commit

Permalink
Embed most of the Microsoft videos from YouTube instead of the Micros…
Browse files Browse the repository at this point in the history
…oft site that seems to change every year or so.
  • Loading branch information
barzeer committed Sep 20, 2024
1 parent cf0b775 commit 643c191
Show file tree
Hide file tree
Showing 5 changed files with 99 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/lesson03/prepare.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,38 @@ <h2 id="videos">Videos</h2>
<ul class="videos long">
<li><div>
<a href="https://learn.microsoft.com/en-us/shows/intro-to-python-development/python-for-beginners-29-of-44-introducing-functions">Introducing Functions</a> <span class="duration">(10 minutes)</span>
<div class="video"><iframe allowFullScreen
referrerpolicy="strict-origin-when-cross-origin"
title="Introducing Functions, part 29 of 44 of Python for Beginners"
src="https://www.youtube.com/embed/nrCAxXfRU28?si=DgLu8EjDQMz47UkX">
</iframe></div>
</div></li>

<li><div>
<a href="https://learn.microsoft.com/en-us/shows/intro-to-python-development/python-for-beginners-30-of-44-demo-functions">Demonstration: Functions</a> <span class="duration">(8 minutes)</span>
<div class="video"><iframe allowFullScreen loading="lazy"
referrerpolicy="strict-origin-when-cross-origin"
title="Demo: Functions, part 30 of 44 of Python for Beginners"
src="https://www.youtube.com/embed/C9ZEGqGHXms?si=e_tYqDCgIr89MQ5X">
</iframe></div>
</div></li>

<li><div>
<a href="https://learn.microsoft.com/en-us/shows/intro-to-python-development/python-for-beginners-31-of-44-parameterized-functions">Parameterized Functions</a> <span class="duration">(7 minutes)</span>
<div class="video"><iframe allowFullScreen loading="lazy"
referrerpolicy="strict-origin-when-cross-origin"
title="Function Parameters, part 31 of 44 of Python for Beginners"
src="https://www.youtube.com/embed/sKW-zdYZNX4?si=SZfnZ9_aW7ZKbiLo">
</iframe></div>
</div></li>

<li><div>
<a href="https://learn.microsoft.com/en-us/shows/intro-to-python-development/python-for-beginners-32-of-44-demo-parameterized-functions">Demonstration: Parameterized Functions</a> <span class="duration">(5 minutes)</span>
<div class="video"><iframe allowFullScreen loading="lazy"
referrerpolicy="strict-origin-when-cross-origin"
title="Demo: Parameterized Functions, part 32 of 44 of Python for Beginners"
src="https://www.youtube.com/embed/LtKAXFRtxhQ?si=zD6cA79JQnCVA8pu">
</iframe></div>
</div></li>
</ul>

Expand Down
10 changes: 10 additions & 0 deletions docs/lesson07/prepare.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,21 @@ <h2 id="videos">Videos</h2>
<li><div>
<a href="https://learn.microsoft.com/en-us/shows/intro-to-python-development/python-for-beginners-25-of-44-collections">Lists</a>
<span class="duration">(12 minutes)</span>
<div class="video"><iframe allowFullScreen
referrerpolicy="strict-origin-when-cross-origin"
title="Collections, part 25 of 44 of Python for Beginners"
src="https://www.youtube.com/embed/beA8IsY3mQs?si=MTrHiw9YX3etgUh6">
</iframe></div>
</div></li>

<li><div>
<a href="https://learn.microsoft.com/en-us/shows/intro-to-python-development/python-for-beginners-27-of-44-loops">Loops</a>
<span class="duration">(6 minutes)</span>
<div class="video"><iframe allowFullScreen loading="lazy"
referrerpolicy="strict-origin-when-cross-origin"
title="Loops, part 27 of 44 of Python for Beginners"
src="https://www.youtube.com/embed/LrOAl8vUFHY?si=Gzvq_L-JyW-6tqVx">
</iframe></div>
</div></li>
</ul>

Expand Down
33 changes: 33 additions & 0 deletions docs/lesson09/prepare.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,39 @@ <h1>09 Prepare: Text Files</h1>
a file. During this lesson, you will learn how to write Python code
that reads text from text files.</p>

<h2 id="videos">Videos</h2>
<p>Watch the following three videos from Microsoft about writing
Python code to work with files.</p>

<ul class="videos long">
<li><div>
<a href="https://learn.microsoft.com/en-us/shows/more-python-for-beginners/working-with-files--more-python-for-beginners-14-of-20">Working with Files</a> <span class="duration">(watch just the first 4 minutes)</span>
<div class="video"><iframe allowFullScreen
referrerpolicy="strict-origin-when-cross-origin"
title="Working with Files, part 14 of 20 of More Python for Beginners"
src="https://www.youtube.com/embed/QDYIMoA9EOg?start=0&end=240">
</iframe></div>
</div></li>

<li><div>
<a href="https://learn.microsoft.com/en-us/shows/more-python-for-beginners/using-with-to-automatically-close-resources--more-python-for-beginners-16-of-20">Using <code>with</code> to Automatically Close Resources</a> <span class="duration">(2 minutes)</span>
<div class="video"><iframe allowFullScreen loading="lazy"
referrerpolicy="strict-origin-when-cross-origin"
title="Using with to Automatically Close Resources, part 16 of 20 of More Python for Beginners"
src="https://www.youtube.com/embed/vu4QfAhWN7E">
</iframe></div>
</div></li>

<li><div>
<a href="https://learn.microsoft.com/en-us/shows/more-python-for-beginners/demo-using-with--more-python-for-beginners-17-of-20">Demo: Using <code>with</code></a> <span class="duration">(2 minutes)</span>
<div class="video"><iframe allowFullScreen loading="lazy"
referrerpolicy="strict-origin-when-cross-origin"
title="Demo: Using with, part 17 of 20 of More Python for Beginners"
src="https://www.youtube.com/embed/0YMQef6izIo">
</iframe></div>
</div></li>
</ul>

<h2 id="concepts">Concepts</h2>
<p>Broadly speaking, there are two types of files: text files and
binary files. A <dfn>text file</dfn> stores words and numbers as
Expand Down
11 changes: 11 additions & 0 deletions docs/lesson10/prepare.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,21 @@ <h2 id="videos">Videos</h2>
<li><div>
<a href="https://learn.microsoft.com/en-us/shows/intro-to-python-development/python-for-beginners-17-of-44-error-handling">Error Handling Concepts</a>
<span class="duration">(13 minutes)</span>
<div class="video"><iframe allowFullScreen
referrerpolicy="strict-origin-when-cross-origin"
title="Error Handling, part 17 of 44 of Python for Beginners"
src="https://www.youtube.com/embed/HQqqNBZosn8?si=XQ0laa1qKT5cIc2W">
</iframe></div>
</div></li>

<li><div>
<a href="https://learn.microsoft.com/en-us/shows/intro-to-python-development/python-for-beginners-18-of-44-demo-error-handling">Error Handling Demonstration</a>
<span class="duration">(4 minutes)</span>
<div class="video"><iframe allowFullScreen loading="lazy"
referrerpolicy="strict-origin-when-cross-origin"
title="Demo: Error Handling, part 18 of 44 of Python for Beginners"
src="https://www.youtube.com/embed/LrRh-V-hYEc?si=e7lGJdL52KHmlFuH">
</iframe></div>
</div></li>
</ul>

Expand Down
25 changes: 25 additions & 0 deletions docs/lesson11/prepare.html
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,31 @@ <h2 id="sort_list">Example - Sorting a Compound List</h2>
</div>

<h2 id="videos">Videos</h2>
<p>These two Microsoft videos might help you understand lambda
functions more deeply.</p>

<ul class="videos long">
<li><div>
<a href="https://learn.microsoft.com/en-us/shows/more-python-for-beginners/lambdas--more-python-for-beginners-4-of-20">Lambda Functions</a>
<span class="duration">(5 minutes)</span>
<div class="video"><iframe allowFullScreen loading="lazy"
referrerpolicy="strict-origin-when-cross-origin"
title="Lambdas, part 4 of 20 of More Python for Beginners"
src="https://www.youtube.com/embed/NWLoNpQfrRE?si=bunNN3eTOl20zMUL">
</iframe></div>
</div></li>

<li><div>
<a href="https://learn.microsoft.com/en-us/shows/more-python-for-beginners/demo-lambdas--more-python-for-beginners-5-of-20">Demo: Lambda Functions</a>
<span class="duration">(4 minutes)</span>
<div class="video"><iframe allowFullScreen loading="lazy"
referrerpolicy="strict-origin-when-cross-origin"
title="Demo: Lambdas, part 5 of 20 of More Python for Beginners"
src="https://www.youtube.com/embed/KIzEJK7HhOw?si=Z4czftIK74oCgYWm">
</iframe></div>
</div></li>
</ul>

<p>If you wish to learn more about functional programming in Python,
watch these videos by Dan Bader.</p>

Expand Down

0 comments on commit 643c191

Please sign in to comment.