docs
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Prodigious Python — Prodigious Python 🐍</title>
<link href="_static/css/theme.css" rel="stylesheet">
<link href="_static/css/index.ff1ffe594081f20da1ef19478df9384b.css" rel="stylesheet">
<link rel="stylesheet"
href="_static/vendor/fontawesome/5.13.0/css/all.min.css">
<link rel="preload" as="font" type="font/woff2" crossorigin
href="_static/vendor/fontawesome/5.13.0/webfonts/fa-solid-900.woff2">
<link rel="preload" as="font" type="font/woff2" crossorigin
href="_static/vendor/fontawesome/5.13.0/webfonts/fa-brands-400.woff2">
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-book-theme.css?digest=c3fdc42140077d1ad13ad2f1588a4309" />
<link rel="stylesheet" type="text/css" href="_static/togglebutton.css" />
<link rel="stylesheet" type="text/css" href="_static/copybutton.css" />
<link rel="stylesheet" type="text/css" href="_static/mystnb.css" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-thebe.css" />
<link rel="stylesheet" type="text/css" href="_static/panels-main.c949a650a448cc0ae9fd3441c0e17fb0.css" />
<link rel="stylesheet" type="text/css" href="_static/panels-variables.06eb56fa6e07937060861dad626602ad.css" />
<link rel="preload" as="script" href="_static/js/index.be7d3bbb2ef33a8344ce.js">
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/doctools.js"></script>
<script src="_static/togglebutton.js"></script>
<script src="_static/clipboard.min.js"></script>
<script src="_static/copybutton.js"></script>
<script>var togglebuttonSelector = '.toggle, .admonition.dropdown, .tag_hide_input div.cell_input, .tag_hide-input div.cell_input, .tag_hide_output div.cell_output, .tag_hide-output div.cell_output, .tag_hide_cell.cell, .tag_hide-cell.cell';</script>
<script src="_static/sphinx-book-theme.d59cb220de22ca1c485ebbdc042f0030.js"></script>
<script async="async" src="https://unpkg.com/thebe@0.5.1/lib/index.js"></script>
<script>
const thebe_selector = ".thebe"
const thebe_selector_input = "pre"
const thebe_selector_output = ".output"
</script>
<script async="async" src="_static/sphinx-thebe.js"></script>
<link rel="canonical" href="https://prodigiouspython.github.io/ProdigiousPython/README.html" />
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="docsearch:language" content="None">
<!-- Google Analytics -->
<script async="" src="https://www.google-analytics.com/analytics.js"></script>
<script>
window.ga = window.ga || function () {
(ga.q = ga.q || []).push(arguments) };
ga.l = +new Date;
ga('create', 'UA-208617608-1', 'auto');
ga('set', 'anonymizeIp', true);
ga('send', 'pageview');
</script>
</head>
<body data-spy="scroll" data-target="#bd-toc-nav" data-offset="80">
<div class="container-fluid" id="banner"></div>
<div class="container-xl">
<div class="row">
<div class="col-12 col-md-3 bd-sidebar site-navigation show" id="site-navigation">
<div class="navbar-brand-box">
<a class="navbar-brand text-wrap" href="index.html">
<!-- `logo` is deprecated in Sphinx 4.0, so remove this when we stop supporting 3 -->
<img src="_static/logo.png" class="logo" alt="logo">
<h1 class="site-logo" id="site-title">Prodigious Python 🐍</h1>
</a>
</div><form class="bd-search d-flex align-items-center" action="search.html" method="get">
<i class="icon fas fa-search"></i>
<input type="search" class="form-control" name="q" id="search-input" placeholder="Search this book..." aria-label="Search this book..." autocomplete="off" >
</form><nav class="bd-links" id="bd-docs-nav" aria-label="Main">
<div class="bd-toc-item active">
<ul class="nav bd-sidenav">
<li class="toctree-l1">
<a class="reference internal" href="intro.html">
Prodigious Python
</a>
</li>
</ul>
<p aria-level="2" class="caption" role="heading">
<span class="caption-text">
1. Introduction to Python 🐍
</span>
</p>
<ul class="nav bd-sidenav">
<li class="toctree-l1">
<a class="reference internal" href="prodigiouspython/Chapter_1/1_Getting_Started_With_Python_Language.html">
1. Getting Started with Python 🐍
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="prodigiouspython/Chapter_1/2_Creating_Variables_and_Assigning_Values.html">
2. Creating variables and assigning values
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="prodigiouspython/Chapter_1/3_Keywords_and_Variable_naming.html">
3. Python Keywords and allowed Variable names
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="prodigiouspython/Chapter_1/4_Datatypes.html">
4. Data types
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="prodigiouspython/Chapter_1/5_Collection_Types.html">
5. Collection Types
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="prodigiouspython/Chapter_1/6_IDEs_for_Python.html">
6. IDEs/Editors for Python
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="prodigiouspython/Chapter_1/7_User_Input.html">
7. User Input
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="prodigiouspython/Chapter_1/8_Builtins.html">
8. Builtins
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="prodigiouspython/Chapter_1/9_Modules.html">
9. Module
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="prodigiouspython/Chapter_1/10_String_representations_of_objects.html">
10. String representations of objects: str() vs repr()
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="prodigiouspython/Chapter_1/11_Installing_Packages.html">
11. Installing packages
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="prodigiouspython/Chapter_1/12_Help_Utility.html">
12. Help Utility
</a>
</li>
</ul>
<p aria-level="2" class="caption" role="heading">
<span class="caption-text">
2. Indendation
</span>
</p>
<ul class="nav bd-sidenav">
<li class="toctree-l1">
<a class="reference internal" href="prodigiouspython/Chapter_2/1_Indentation.html">
13. Indentation
</a>
</li>
</ul>
<p aria-level="2" class="caption" role="heading">
<span class="caption-text">
3. Comments and Docstrings
</span>
</p>
<ul class="nav bd-sidenav">
<li class="toctree-l1">
<a class="reference internal" href="prodigiouspython/Chapter_3/1_Comments_and_docstrings.html">
14. Comments and Docstrings
</a>
</li>
</ul>
<p aria-level="2" class="caption" role="heading">
<span class="caption-text">
4. Functions
</span>
</p>
<ul class="nav bd-sidenav">
<li class="toctree-l1">
<a class="reference internal" href="prodigiouspython/Chapter_4/1_Functions.html">
15. Functions
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="prodigiouspython/Chapter_4/2_Positional_Arguments.html">
16. Positional Arguments
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="prodigiouspython/Chapter_4/3_Unnamed_Positional_Arguments.html">
17. Unnamed Positional Arguments
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="prodigiouspython/Chapter_4/4_Keyword_only_arguments.html">
18. Keyword-only arguments
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="prodigiouspython/Chapter_4/5_Keyword_arguments.html">
19. Keyword arguments
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="prodigiouspython/Chapter_4/6_Default_Arguments.html">
20. Default Arguments
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="prodigiouspython/Chapter_4/7_TLDR_about_Functions_arguments.html">
21. TLDR regarding function arguments 💡
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="prodigiouspython/Chapter_4/8_Lambda_functions.html">
22. Lambda Functions
</a>
</li>
</ul>
<p aria-level="2" class="caption" role="heading">
<span class="caption-text">
5. Operators
</span>
</p>
<ul class="nav bd-sidenav">
<li class="toctree-l1">
<a class="reference internal" href="prodigiouspython/Chapter_5/1_Mathematical_Operators.html">
23. Mathematical Operators
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="prodigiouspython/Chapter_5/2_Boolean_Operators.html">
24. Boolean Operators
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="prodigiouspython/Chapter_5/3_Comparison_Operators.html">
25. Comparison operators
</a>
</li>
</ul>
<p aria-level="2" class="caption" role="heading">
<span class="caption-text">
6. Conditionals
</span>
</p>
<ul class="nav bd-sidenav">
<li class="toctree-l1">
<a class="reference internal" href="prodigiouspython/Chapter_6/1_Conditionals.html">
26. Conditionals
</a>
</li>
</ul>
<p aria-level="2" class="caption" role="heading">
<span class="caption-text">
7. Loops
</span>
</p>
<ul class="nav bd-sidenav">
<li class="toctree-l1">
<a class="reference internal" href="prodigiouspython/Chapter_7/1_Loops.html">
27. Loops
</a>
</li>
</ul>
<p aria-level="2" class="caption" role="heading">
<span class="caption-text">
8. Classes
</span>
</p>
<ul class="nav bd-sidenav">
<li class="toctree-l1">
<a class="reference internal" href="prodigiouspython/Chapter_8/1_Classes.html">
28. Class
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="prodigiouspython/Chapter_8/2_Class_Attributes.html">
29. Class Attributes
</a>
</li>
</ul>
</div>
</nav> <!-- To handle the deprecated key -->
<div class="navbar_extra_footer">
Powered by <a href="https://jupyterbook.org">Jupyter Book</a>
</div>
</div>
<main class="col py-md-3 pl-md-4 bd-content overflow-auto" role="main">
<div class="topbar container-xl fixed-top">
<div class="topbar-contents row">
<div class="col-12 col-md-3 bd-topbar-whitespace site-navigation show"></div>
<div class="col pl-md-4 topbar-main">
<button id="navbar-toggler" class="navbar-toggler ml-0" type="button" data-toggle="collapse"
data-toggle="tooltip" data-placement="bottom" data-target=".site-navigation" aria-controls="navbar-menu"
aria-expanded="true" aria-label="Toggle navigation" aria-controls="site-navigation"
title="Toggle navigation" data-toggle="tooltip" data-placement="left">
<i class="fas fa-bars"></i>
<i class="fas fa-arrow-left"></i>
<i class="fas fa-arrow-up"></i>
</button>
<div class="dropdown-buttons-trigger">
<button id="dropdown-buttons-trigger" class="btn btn-secondary topbarbtn" aria-label="Download this page"><i
class="fas fa-download"></i></button>
<div class="dropdown-buttons">
<!-- ipynb file if we had a myst markdown file -->
<!-- Download raw file -->
<a class="dropdown-buttons" href="_sources/README.md"><button type="button"
class="btn btn-secondary topbarbtn" title="Download source file" data-toggle="tooltip"
data-placement="left">.md</button></a>
<!-- Download PDF via print -->
<button type="button" id="download-print" class="btn btn-secondary topbarbtn" title="Print to PDF"
onclick="printPdf(this)" data-toggle="tooltip" data-placement="left">.pdf</button>
</div>
</div>
<!-- Source interaction buttons -->
<div class="dropdown-buttons-trigger">
<button id="dropdown-buttons-trigger" class="btn btn-secondary topbarbtn"
aria-label="Connect with source repository"><i class="fab fa-github"></i></button>
<div class="dropdown-buttons sourcebuttons">
<a class="repository-button"
href="https://github.com/ProdigiousPython/ProdigiousPython"><button type="button" class="btn btn-secondary topbarbtn"
data-toggle="tooltip" data-placement="left" title="Source repository"><i
class="fab fa-github"></i>repository</button></a>
<a class="issues-button"
href="https://github.com/ProdigiousPython/ProdigiousPython/issues/new?title=Issue%20on%20page%20%2FREADME.html&body=Your%20issue%20content%20here."><button
type="button" class="btn btn-secondary topbarbtn" data-toggle="tooltip" data-placement="left"
title="Open an issue"><i class="fas fa-lightbulb"></i>open issue</button></a>
</div>
</div>
<!-- Full screen (wrap in <a> to have style consistency -->
<a class="full-screen-button"><button type="button" class="btn btn-secondary topbarbtn" data-toggle="tooltip"
data-placement="bottom" onclick="toggleFullScreen()" aria-label="Fullscreen mode"
title="Fullscreen mode"><i
class="fas fa-expand"></i></button></a>
<!-- Launch buttons -->
</div>
<!-- Table of contents -->
<div class="d-none d-md-block col-md-2 bd-toc show noprint">
<div class="tocsection onthispage pt-5 pb-3">
<i class="fas fa-list"></i> Contents
</div>
<nav id="bd-toc-nav" aria-label="Page">
<ul class="visible nav section-nav flex-column">
<li class="toc-h1 nav-item toc-entry">
<a class="reference internal nav-link" href="#">
Prodigious Python
</a>
</li>
<li class="toc-h1 nav-item toc-entry">
<a class="reference internal nav-link" href="#development-setup">
Development setup
</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
<div id="main-content" class="row">
<div class="col-12 col-md-9 pl-md-3 pr-md-0">
<!-- Table of contents that is only displayed when printing the page -->
<div id="jb-print-docs-body" class="onlyprint">
<h1>Prodigious Python</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-h1 nav-item toc-entry">
<a class="reference internal nav-link" href="#">
Prodigious Python
</a>
</li>
<li class="toc-h1 nav-item toc-entry">
<a class="reference internal nav-link" href="#development-setup">
Development setup
</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
<div>
<div class="tex2jax_ignore mathjax_ignore section" id="prodigious-python">
<h1>Prodigious Python<a class="headerlink" href="#prodigious-python" title="Permalink to this headline">¶</a></h1>
<p><img alt="Prodigious Python cover" src="https://github.com/ProdigiousPython/AssetStore/blob/main/Prodigious%20Python%20Cover.png?raw=true" /></p>
<p>🚀 <a class="reference external" href="https://prodigiouspython.github.io/ProdigiousPython">Homepage</a></p>
<p>📖 <a class="reference external" href="https://drive.google.com/file/d/1DF1IhLzjnLSzSlNO3PE1hcuv_Cgx6bAS/view?usp=sharing">PDF</a></p>
<p>Welcome to Prodigious Python 🐍</p>
<p>Idea of Prodigious Python is to be different from the traditional books.</p>
<p>We wanted Prodigious Python to be:</p>
<ul class="simple">
<li><p>Fun 🎉</p></li>
<li><p>Executable 🤖</p></li>
<li><p>Publishable via static web pages and PDF ⚙️</p></li>
</ul>
</div>
<div class="tex2jax_ignore mathjax_ignore section" id="development-setup">
<h1>Development setup<a class="headerlink" href="#development-setup" title="Permalink to this headline">¶</a></h1>
<p>First things first, We need to clone our repo</p>
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>git clone https://github.com/ProdigiousPython/ProdigiousPython.git
</pre></div>
</div>
<p>We use <a class="reference external" href="https://python-poetry.org/">Poetry</a> for the dependency mangement.</p>
<p>Let’s install the packages required using the below command:</p>
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>poetry install
</pre></div>
</div>
<p>To run the jupyter-lab:</p>
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>poetry run jupyter-lab
</pre></div>
</div>
<p>To convert the notebooks to html</p>
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>poetry run jb build .
</pre></div>
</div>
<p>To convert the notebooks to pdf</p>
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>poetry run jb build --builder<span class="o">=</span>pdfhtml .
</pre></div>
</div>
<p>The generated files would be present in <code class="docutils literal notranslate"><span class="pre">_build</span></code> folder.</p>
<p><strong>Made with ❤️</strong></p>
</div>
<script type="text/x-thebe-config">
{
requestKernel: true,
binderOptions: {
repo: "binder-examples/jupyter-stacks-datascience",
ref: "master",
},
codeMirrorConfig: {
theme: "abcdef",
mode: "python"
},
kernelOptions: {
kernelName: "python3",
path: "./."
},
predefinedOutput: true
}
</script>
<script>kernelName = 'python3'</script>
</div>
<!-- Previous / next buttons -->
<div class='prev-next-area'>
</div>
</div>
</div>
<footer class="footer">
<p>
By Prodigious Python<br/>
© Copyright 2021.<br/>
<div class="extra_footer">
<p>
<a href="https://www.buymeacoffee.com/Naveen8" target="_blank"><img src="https://img.shields.io/badge/Support-Buy%20me%20a%20%E2%98%95-orange?style=flat-square&logo=appveyor.svg" alt="Buy Me A Coffee"></a>
<a href="https://www.linkedin.com/in/naveenkumarreddy8/" target="_blank"><img src="https://img.shields.io/badge/Follow-LinkedIn-0077B5?style=flat-square&logo=appveyor.svg" alt="Follow LinkedIn"></a>
</p>
</div>
</p>
</footer>
</main>
</div>
</div>
<script src="_static/js/index.be7d3bbb2ef33a8344ce.js"></script>
</body>
</html>