Skip to content

Commit

Permalink
Fixed animations were not working
Browse files Browse the repository at this point in the history
  • Loading branch information
vdsukhov committed Aug 12, 2024
1 parent e9f6a3d commit 1ad652c
Show file tree
Hide file tree
Showing 27 changed files with 21,605 additions and 110 deletions.
93 changes: 88 additions & 5 deletions README.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<title>python-intro-course &#8212; Python Introduction Course</title>
<title>Introduction to Programming in Python &#8212; Python Introduction Course</title>



Expand Down Expand Up @@ -342,7 +342,9 @@
</button>
`);
</script>

<button class="sidebar-toggle secondary-toggle btn btn-sm" title="Toggle secondary sidebar" data-bs-placement="bottom" data-bs-toggle="tooltip">
<span class="fa-solid fa-list"></span>
</button>
</div></div>

</div>
Expand All @@ -353,11 +355,26 @@


<div id="jb-print-docs-body" class="onlyprint">
<h1>python-intro-course</h1>
<h1>Introduction to Programming in Python <img src="https://vdsukhov.github.io/python-intro-course/_static/python_course_logo.png" align="right" height="150"/></h1>
<!-- Table of contents -->
<div id="print-main-content">
<div id="jb-print-toc">

<div>
<h2> Contents </h2>
</div>
<nav aria-label="Page">
<ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#table-of-contents">Table of Contents</a><ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#main-part">Main Part</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#offtopic">Offtopic</a></li>
</ul>
</li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#contributing">Contributing</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#license">License</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#contact">Contact</a></li>
</ul>
</nav>
</div>
</div>
</div>
Expand All @@ -367,8 +384,52 @@ <h1>python-intro-course</h1>
<div id="searchbox"></div>
<article class="bd-article">

<section class="tex2jax_ignore mathjax_ignore" id="python-intro-course">
<h1>python-intro-course<a class="headerlink" href="#python-intro-course" title="Link to this heading">#</a></h1>
<section class="tex2jax_ignore mathjax_ignore" id="introduction-to-programming-in-python">
<h1>Introduction to Programming in Python <img src="https://vdsukhov.github.io/python-intro-course/_static/python_course_logo.png" align="right" height="150"/><a class="headerlink" href="#introduction-to-programming-in-python" title="Link to this heading">#</a></h1>
<p>Welcome to the repository for the book <em>Introduction to Programming in Python</em>. This book is designed to provide a comprehensive introduction to Python programming, covering fundamental concepts and practical applications.</p>
<section id="table-of-contents">
<h2>Table of Contents<a class="headerlink" href="#table-of-contents" title="Link to this heading">#</a></h2>
<p>The book is organized into two main parts: <strong>Main Part</strong> and <strong>Offtopic</strong>. Below is a detailed list of the chapters included in each part:</p>
<section id="main-part">
<h3>Main Part<a class="headerlink" href="#main-part" title="Link to this heading">#</a></h3>
<ol class="arabic simple">
<li><p><a class="reference internal" href="chapters/intro.html"><span class="std std-doc">Introduction</span></a></p></li>
<li><p><a class="reference internal" href="chapters/variable_and_data_types.html"><span class="std std-doc">Variables and Data Types</span></a></p></li>
<li><p><a class="reference internal" href="chapters/control_flow.html"><span class="std std-doc">Control Flow</span></a></p></li>
<li><p><a class="reference internal" href="chapters/lists_and_tuples.html"><span class="std std-doc">Lists and Tuples</span></a></p></li>
<li><p><a class="reference internal" href="chapters/strings.html"><span class="std std-doc">Strings</span></a></p></li>
<li><p><a class="reference internal" href="chapters/dict_and_set.html"><span class="std std-doc">Dictionaries and Sets</span></a></p></li>
<li><p><a class="reference internal" href="chapters/funcs.html"><span class="std std-doc">Functions</span></a></p></li>
<li><p><a class="reference internal" href="chapters/modules.html"><span class="std std-doc">Modules</span></a></p></li>
<li><p><a class="reference internal" href="chapters/regex.html"><span class="std std-doc">Regular Expressions</span></a></p></li>
<li><p><a class="reference internal" href="chapters/files/files.html"><span class="std std-doc">Files</span></a></p></li>
<li><p><a class="reference internal" href="chapters/oop1.html"><span class="std std-doc">Object-Oriented Programming - Part 1</span></a></p></li>
<li><p><a class="reference internal" href="chapters/oop2.html"><span class="std std-doc">Object-Oriented Programming - Part 2</span></a></p></li>
<li><p><a class="reference internal" href="chapters/exceptions.html"><span class="std std-doc">Exceptions</span></a></p></li>
<li><p><a class="reference internal" href="chapters/iterators.html"><span class="std std-doc">Iterators</span></a></p></li>
</ol>
</section>
<section id="offtopic">
<h3>Offtopic<a class="headerlink" href="#offtopic" title="Link to this heading">#</a></h3>
<ol class="arabic simple">
<li><p><a class="reference internal" href="chapters/offtopic/matrix_multiplication.html"><span class="std std-doc">Matrix Multiplication</span></a></p></li>
<li><p><a class="reference internal" href="chapters/offtopic/python_and_math.html"><span class="std std-doc">Python and Mathematics</span></a></p></li>
</ol>
</section>
</section>
<section id="contributing">
<h2>Contributing<a class="headerlink" href="#contributing" title="Link to this heading">#</a></h2>
<p>If you have suggestions for improvements or additional content, feel free to submit a pull request or open an issue. Contributions are welcome!</p>
</section>
<section id="license">
<h2>License<a class="headerlink" href="#license" title="Link to this heading">#</a></h2>
<p>This book is licensed under the <a class="reference download internal" download="" href="_downloads/9879d6db96fd29134fc802214163b95a/LICENSE"><span class="xref download myst">MIT License</span></a>.</p>
</section>
<section id="contact">
<h2>Contact<a class="headerlink" href="#contact" title="Link to this heading">#</a></h2>
<p>For any questions or feedback, you can reach out to the author at <a class="reference external" href="mailto:vdsukhov&#37;&#52;&#48;ya&#46;ru">vdsukhov<span>&#64;</span>ya<span>&#46;</span>ru</a>.</p>
<p>Happy coding! 🚀</p>
</section>
</section>

<script type="text/x-thebe-config">
Expand Down Expand Up @@ -408,6 +469,28 @@ <h1>python-intro-course<a class="headerlink" href="#python-intro-course" title="



<div class="bd-sidebar-secondary bd-toc"><div class="sidebar-secondary-items sidebar-secondary__inner">


<div class="sidebar-secondary-item">
<div class="page-toc tocsection onthispage">
<i class="fa-solid fa-list"></i> Contents
</div>
<nav class="bd-toc-nav page-toc">
<ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#table-of-contents">Table of Contents</a><ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#main-part">Main Part</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#offtopic">Offtopic</a></li>
</ul>
</li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#contributing">Contributing</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#license">License</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#contact">Contact</a></li>
</ul>
</nav></div>

</div></div>


</div>
<footer class="bd-footer-content">
Expand Down
21 changes: 21 additions & 0 deletions _downloads/9879d6db96fd29134fc802214163b95a/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2023 Vladimir

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
44 changes: 43 additions & 1 deletion _sources/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,43 @@
# python-intro-course
# Introduction to Programming in Python <img src="https://vdsukhov.github.io/python-intro-course/_static/python_course_logo.png" align="right" height="150"/>

Welcome to the repository for the book *Introduction to Programming in Python*. This book is designed to provide a comprehensive introduction to Python programming, covering fundamental concepts and practical applications.

## Table of Contents

The book is organized into two main parts: **Main Part** and **Offtopic**. Below is a detailed list of the chapters included in each part:

### Main Part

1. [Introduction](chapters/intro.ipynb)
2. [Variables and Data Types](chapters/variable_and_data_types.ipynb)
3. [Control Flow](chapters/control_flow.ipynb)
4. [Lists and Tuples](chapters/lists_and_tuples.ipynb)
5. [Strings](chapters/strings.ipynb)
6. [Dictionaries and Sets](chapters/dict_and_set.ipynb)
7. [Functions](chapters/funcs.ipynb)
8. [Modules](chapters/modules.ipynb)
9. [Regular Expressions](chapters/regex.ipynb)
10. [Files](chapters/files/files.ipynb)
11. [Object-Oriented Programming - Part 1](chapters/oop1.ipynb)
12. [Object-Oriented Programming - Part 2](chapters/oop2.ipynb)
13. [Exceptions](chapters/exceptions.ipynb)
14. [Iterators](chapters/iterators.ipynb)

### Offtopic

1. [Matrix Multiplication](chapters/offtopic/matrix_multiplication.ipynb)
2. [Python and Mathematics](chapters/offtopic/python_and_math.ipynb)

## Contributing

If you have suggestions for improvements or additional content, feel free to submit a pull request or open an issue. Contributions are welcome!

## License

This book is licensed under the [MIT License](LICENSE).

## Contact

For any questions or feedback, you can reach out to the author at [vdsukhov@ya.ru](mailto:vdsukhov@ya.ru).

Happy coding! 🚀
3 changes: 0 additions & 3 deletions _sources/chapters/control_flow.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -604,9 +604,6 @@
}
],
"metadata": {
"jupytext": {
"formats": "ipynb,md:myst"
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
Expand Down
3 changes: 0 additions & 3 deletions _sources/chapters/dict_and_set.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -628,9 +628,6 @@
}
],
"metadata": {
"jupytext": {
"formats": "ipynb,md:myst"
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
Expand Down
7 changes: 2 additions & 5 deletions _sources/chapters/exceptions.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
" print(\"Function B end\")\n",
"\n",
"# Main program\n",
"func_a()\n"
"func_a()"
]
},
{
Expand Down Expand Up @@ -164,7 +164,7 @@
" return n * factorial(n - 1)\n",
"\n",
"result = factorial(5)\n",
"print(\"Factorial of 5:\", result)\n"
"print(\"Factorial of 5:\", result)"
]
},
{
Expand Down Expand Up @@ -520,9 +520,6 @@
}
],
"metadata": {
"jupytext": {
"formats": "ipynb,md:myst"
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
Expand Down
3 changes: 0 additions & 3 deletions _sources/chapters/files/files.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,6 @@
}
],
"metadata": {
"jupytext": {
"formats": "ipynb,md:myst"
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
Expand Down
3 changes: 0 additions & 3 deletions _sources/chapters/funcs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -551,9 +551,6 @@
}
],
"metadata": {
"jupytext": {
"formats": "ipynb,md:myst"
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
Expand Down
3 changes: 0 additions & 3 deletions _sources/chapters/intro.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,6 @@
}
],
"metadata": {
"jupytext": {
"formats": "ipynb,md:myst"
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
Expand Down
3 changes: 0 additions & 3 deletions _sources/chapters/iterators.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
}
],
"metadata": {
"jupytext": {
"formats": "ipynb,md:myst"
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
Expand Down
3 changes: 0 additions & 3 deletions _sources/chapters/lists_and_tuples.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -745,9 +745,6 @@
}
],
"metadata": {
"jupytext": {
"formats": "ipynb,md:myst"
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
Expand Down
15 changes: 6 additions & 9 deletions _sources/chapters/modules.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@
"\n",
"The `import` statement in Python is used to bring external code into your program. There are several ways to use the `import` syntax, each with its own purpose. Here are the different ways to use import:\n",
"\n",
"#### Importing a module:\n",
"### Importing a module:\n",
"The simplest use of import is to import an entire module. This makes all functions, variables, and classes from that module available in your code. (Examples we saw previously)\n",
"\n",
"#### Renaming a module:\n",
"### Renaming a module:\n",
"You can give an imported module an alias to make it easier to reference in your code. This is especially useful when dealing with modules with long names."
]
},
Expand Down Expand Up @@ -133,7 +133,7 @@
"id": "e79d7326",
"metadata": {},
"source": [
"#### Importing Specific Functions or Variables:\n",
"### Importing Specific Functions or Variables:\n",
"Sometimes, you only need specific functions or variables from a module. You can import them individually."
]
},
Expand Down Expand Up @@ -161,7 +161,7 @@
"id": "7eebfd10",
"metadata": {},
"source": [
"#### Importing Everything from a Module:\n",
"### Importing Everything from a Module:\n",
"\n",
"You can import everything from a module and use its functions, variables, and classes directly without the module name prefix. However, this approach is generally discouraged as it can lead to naming conflicts."
]
Expand All @@ -188,7 +188,7 @@
"id": "df3927c0",
"metadata": {},
"source": [
"#### Importing a Specific Function or Variable with an Alias:\n",
"### Importing a Specific Function or Variable with an Alias:\n",
"You can combine aliasing and importing specific functions or variables for a more concise reference."
]
},
Expand Down Expand Up @@ -902,9 +902,6 @@
}
],
"metadata": {
"jupytext": {
"formats": "ipynb,md:myst"
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
Expand All @@ -920,7 +917,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.10"
"version": "3.12.4"
}
},
"nbformat": 4,
Expand Down
3 changes: 0 additions & 3 deletions _sources/chapters/offtopic/matrix_multiplication.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
}
],
"metadata": {
"jupytext": {
"formats": "ipynb,md:myst"
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
Expand Down
Loading

0 comments on commit 1ad652c

Please sign in to comment.