docs
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
<!DOCTYPE html>
<html>
<head>
<script async src="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Ca+href%3D"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4115314770592073" rel="nofollow">https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4115314770592073"
crossorigin="anonymous"></script>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
<title>Prodigious Python — Prodigious Python 🐍</title>
<!-- Loaded before other Sphinx assets -->
<link href="proxy.php?url=https%3A%2F%2Fgithub.com%2F_static%2Fstyles%2Ftheme.css%3Fdigest%3D1999514e3f237ded88cf" rel="stylesheet">
<link href="proxy.php?url=https%3A%2F%2Fgithub.com%2F_static%2Fstyles%2Fpydata-sphinx-theme.css%3Fdigest%3D1999514e3f237ded88cf" rel="stylesheet">
<link rel="stylesheet"
href="proxy.php?url=https%3A%2F%2Fgithub.com%2F_static%2Fvendor%2Ffontawesome%2F5.13.0%2Fcss%2Fall.min.css">
<link rel="preload" as="font" type="font/woff2" crossorigin
href="proxy.php?url=https%3A%2F%2Fgithub.com%2F_static%2Fvendor%2Ffontawesome%2F5.13.0%2Fwebfonts%2Ffa-solid-900.woff2">
<link rel="preload" as="font" type="font/woff2" crossorigin
href="proxy.php?url=https%3A%2F%2Fgithub.com%2F_static%2Fvendor%2Ffontawesome%2F5.13.0%2Fwebfonts%2Ffa-brands-400.woff2">
<link rel="stylesheet" type="text/css" href="proxy.php?url=https%3A%2F%2Fgithub.com%2F_static%2Fpygments.css" />
<link rel="stylesheet" href="proxy.php?url=https%3A%2F%2Fgithub.com%2F_static%2Fstyles%2Fsphinx-book-theme.css%3Fdigest%3D5115cc725059bd94278eecd172e13a965bf8f5a9" type="text/css" />
<link rel="stylesheet" type="text/css" href="proxy.php?url=https%3A%2F%2Fgithub.com%2F_static%2Ftogglebutton.css" />
<link rel="stylesheet" type="text/css" href="proxy.php?url=https%3A%2F%2Fgithub.com%2F_static%2Fcopybutton.css" />
<link rel="stylesheet" type="text/css" href="proxy.php?url=https%3A%2F%2Fgithub.com%2F_static%2Fmystnb.css" />
<link rel="stylesheet" type="text/css" href="proxy.php?url=https%3A%2F%2Fgithub.com%2F_static%2Fsphinx-thebe.css" />
<link rel="stylesheet" type="text/css" href="proxy.php?url=https%3A%2F%2Fgithub.com%2F_static%2Fdesign-style.b7bb847fb20b106c3d81b95245e65545.min.css" />
<!-- Pre-loaded scripts that we'll load fully later -->
<link rel="preload" as="script" href="proxy.php?url=https%3A%2F%2Fgithub.com%2F_static%2Fscripts%2Fpydata-sphinx-theme.js%3Fdigest%3D1999514e3f237ded88cf">
<script data-url_root="./" id="documentation_options" src="proxy.php?url=https%3A%2F%2Fgithub.com%2F_static%2Fdocumentation_options.js"></script>
<script src="proxy.php?url=https%3A%2F%2Fgithub.com%2F_static%2Fjquery.js"></script>
<script src="proxy.php?url=https%3A%2F%2Fgithub.com%2F_static%2Funderscore.js"></script>
<script src="proxy.php?url=https%3A%2F%2Fgithub.com%2F_static%2Fdoctools.js"></script>
<script src="proxy.php?url=https%3A%2F%2Fgithub.com%2F_static%2Fclipboard.min.js"></script>
<script src="proxy.php?url=https%3A%2F%2Fgithub.com%2F_static%2Fcopybutton.js"></script>
<script src="proxy.php?url=https%3A%2F%2Fgithub.com%2F_static%2Fscripts%2Fsphinx-book-theme.js%3Fdigest%3D9c920249402e914e316237a7dbc6769907cce411"></script>
<script>let toggleHintShow = 'Click to show';</script>
<script>let toggleHintHide = 'Click to hide';</script>
<script>let toggleOpenOnPrint = 'true';</script>
<script src="proxy.php?url=https%3A%2F%2Fgithub.com%2F_static%2Ftogglebutton.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="proxy.php?url=https%3A%2F%2Fgithub.com%2F_static%2Fdesign-tabs.js"></script>
<script>const THEBE_JS_URL = "https://unpkg.com/[email protected]/lib/index.js"
const thebe_selector = ".thebe,.cell"
const thebe_selector_input = "pre"
const thebe_selector_output = ".output, .cell_output"
</script>
<script async="async" src="proxy.php?url=https%3A%2F%2Fgithub.com%2F_static%2Fsphinx-thebe.js"></script>
<link rel="canonical" href="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Ca+href%3D"https://prodigiouspython.github.io/README.html" rel="nofollow">https://prodigiouspython.github.io/README.html" />
<link rel="index" title="Index" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgenindex.html" />
<link rel="search" title="Search" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fsearch.html" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="docsearch:language" content="None">
<!-- Google Analytics -->
<script async="" src="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Ca+href%3D"https://www.googletagmanager.com/gtag/js?id=G-1KZH2STPPK"></script" rel="nofollow">https://www.googletagmanager.com/gtag/js?id=G-1KZH2STPPK"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){ dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-1KZH2STPPK');
</script>
</head>
<body data-spy="scroll" data-target="#bd-toc-nav" data-offset="60">
<!-- Checkboxes to toggle the left sidebar -->
<input type="checkbox" class="sidebar-toggle" name="__navigation" id="__navigation" aria-label="Toggle navigation sidebar">
<label class="overlay overlay-navbar" for="__navigation">
<div class="visually-hidden">Toggle navigation sidebar</div>
</label>
<!-- Checkboxes to toggle the in-page toc -->
<input type="checkbox" class="sidebar-toggle" name="__page-toc" id="__page-toc" aria-label="Toggle in-page Table of Contents">
<label class="overlay overlay-pagetoc" for="__page-toc">
<div class="visually-hidden">Toggle in-page Table of Contents</div>
</label>
<!-- Headers at the top -->
<div class="announcement header-item noprint"></div>
<div class="header header-item noprint"></div>
<div class="container-fluid" id="banner"></div>
<div class="container-xl">
<div class="row">
<!-- Sidebar -->
<div class="bd-sidebar noprint" id="site-navigation">
<div class="bd-sidebar__content">
<div class="bd-sidebar__top"><div class="navbar-brand-box">
<a class="navbar-brand text-wrap" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Findex.html">
<!-- `logo` is deprecated in Sphinx 4.0, so remove this when we stop supporting 3 -->
<img src="proxy.php?url=https%3A%2F%2Fgithub.com%2F_static%2Flogo.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="proxy.php?url=https%3A%2F%2Fgithub.com%2Fsearch.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 bd-sidenav__home-link">
<li class="toctree-l1">
<a class="reference internal" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fintro.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="proxy.php?url=https%3A%2F%2Fgithub.com%2Fprodigiouspython%2FChapter_1%2F1_Getting_Started_With_Python_Language.html">
1. Getting Started with Python 🐍
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fprodigiouspython%2FChapter_1%2F2_Creating_Variables_and_Assigning_Values.html">
2. Creating variables and assigning values
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fprodigiouspython%2FChapter_1%2F3_Keywords_and_Variable_naming.html">
3. Python Keywords and allowed Variable names
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fprodigiouspython%2FChapter_1%2F4_Datatypes.html">
4. Data types
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fprodigiouspython%2FChapter_1%2F5_Collection_Types.html">
5. Collection Types
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fprodigiouspython%2FChapter_1%2F6_IDEs_for_Python.html">
6. IDEs/Editors for Python
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fprodigiouspython%2FChapter_1%2F7_User_Input.html">
7. User Input
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fprodigiouspython%2FChapter_1%2F8_Builtins.html">
8. Builtins
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fprodigiouspython%2FChapter_1%2F9_Modules.html">
9. Module
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fprodigiouspython%2FChapter_1%2F10_String_representations_of_objects.html">
10. String representations of objects: str() vs repr()
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fprodigiouspython%2FChapter_1%2F11_Installing_Packages.html">
11. Installing packages
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fprodigiouspython%2FChapter_1%2F12_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="proxy.php?url=https%3A%2F%2Fgithub.com%2Fprodigiouspython%2FChapter_2%2F1_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="proxy.php?url=https%3A%2F%2Fgithub.com%2Fprodigiouspython%2FChapter_3%2F1_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="proxy.php?url=https%3A%2F%2Fgithub.com%2Fprodigiouspython%2FChapter_4%2F1_Functions.html">
15. Functions
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fprodigiouspython%2FChapter_4%2F2_Positional_Arguments.html">
16. Positional Arguments
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fprodigiouspython%2FChapter_4%2F3_Unnamed_Positional_Arguments.html">
17. Unnamed Positional Arguments
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fprodigiouspython%2FChapter_4%2F4_Keyword_only_arguments.html">
18. Keyword-only arguments
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fprodigiouspython%2FChapter_4%2F5_Keyword_arguments.html">
19. Keyword arguments
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fprodigiouspython%2FChapter_4%2F6_Default_Arguments.html">
20. Default Arguments
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fprodigiouspython%2FChapter_4%2F7_TLDR_about_Functions_arguments.html">
21. TLDR regarding function arguments 💡
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fprodigiouspython%2FChapter_4%2F8_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="proxy.php?url=https%3A%2F%2Fgithub.com%2Fprodigiouspython%2FChapter_5%2F1_Mathematical_Operators.html">
23. Mathematical Operators
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fprodigiouspython%2FChapter_5%2F2_Boolean_Operators.html">
24. Boolean Operators
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fprodigiouspython%2FChapter_5%2F3_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="proxy.php?url=https%3A%2F%2Fgithub.com%2Fprodigiouspython%2FChapter_6%2F1_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="proxy.php?url=https%3A%2F%2Fgithub.com%2Fprodigiouspython%2FChapter_7%2F1_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="proxy.php?url=https%3A%2F%2Fgithub.com%2Fprodigiouspython%2FChapter_8%2F1_Classes.html">
28. Class
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fprodigiouspython%2FChapter_8%2F2_Class_Attributes.html">
29. Class Attributes
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fprodigiouspython%2FChapter_8%2F3_Class_Static_Methods.html">
30. ClassMethod and StaticMethod
</a>
</li>
</ul>
</div>
</nav></div>
<div class="bd-sidebar__bottom">
<!-- To handle the deprecated key -->
<div class="navbar_extra_footer">
Powered by <a href="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Ca+href%3D"https://jupyterbook.org">Jupyter" rel="nofollow">https://jupyterbook.org">Jupyter Book</a>
</div>
</div>
</div>
<div id="rtd-footer-container"></div>
</div>
<!-- A tiny helper pixel to detect if we've scrolled -->
<div class="sbt-scroll-pixel-helper"></div>
<!-- Main content -->
<div class="col py-0 content-container">
<div class="header-article row sticky-top noprint">
<div class="col py-1 d-flex header-article-main">
<div class="header-article__left">
<label for="__navigation"
class="headerbtn"
data-toggle="tooltip"
data-placement="right"
title="Toggle navigation"
>
<span class="headerbtn__icon-container">
<i class="fas fa-bars"></i>
</span>
</label>
</div>
<div class="header-article__right">
<button onclick="toggleFullScreen()"
class="headerbtn"
data-toggle="tooltip"
data-placement="bottom"
title="Fullscreen mode"
>
<span class="headerbtn__icon-container">
<i class="fas fa-expand"></i>
</span>
</button>
<div class="menu-dropdown menu-dropdown-repository-buttons">
<button class="headerbtn menu-dropdown__trigger"
aria-label="Source repositories">
<i class="fab fa-github"></i>
</button>
<div class="menu-dropdown__content">
<ul>
<li>
<a href="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Ca+href%3D"https://github.com/ProdigiousPython/prodigiouspython.github.io">https://github.com/ProdigiousPython/prodigiouspython.github.io"
class="headerbtn"
data-toggle="tooltip"
data-placement="left"
title="Source repository"
>
<span class="headerbtn__icon-container">
<i class="fab fa-github"></i>
</span>
<span class="headerbtn__text-container">repository</span>
</a>
</li>
<li>
<a href="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Ca+href%3D"https://github.com/ProdigiousPython/prodigiouspython.github.io/issues/new?title=Issue%20on%20page%20%2FREADME.html&body=Your%20issue%20content%20here">https://github.com/ProdigiousPython/prodigiouspython.github.io/issues/new?title=Issue%20on%20page%20%2FREADME.html&body=Your%20issue%20content%20here."
class="headerbtn"
data-toggle="tooltip"
data-placement="left"
title="Open an issue"
>
<span class="headerbtn__icon-container">
<i class="fas fa-lightbulb"></i>
</span>
<span class="headerbtn__text-container">open issue</span>
</a>
</li>
</ul>
</div>
</div>
<div class="menu-dropdown menu-dropdown-download-buttons">
<button class="headerbtn menu-dropdown__trigger"
aria-label="Download this page">
<i class="fas fa-download"></i>
</button>
<div class="menu-dropdown__content">
<ul>
<li>
<a href="proxy.php?url=https%3A%2F%2Fgithub.com%2F_sources%2FREADME.md"
class="headerbtn"
data-toggle="tooltip"
data-placement="left"
title="Download source file"
>
<span class="headerbtn__icon-container">
<i class="fas fa-file"></i>
</span>
<span class="headerbtn__text-container">.md</span>
</a>
</li>
<li>
<button onclick="printPdf(this)"
class="headerbtn"
data-toggle="tooltip"
data-placement="left"
title="Print to PDF"
>
<span class="headerbtn__icon-container">
<i class="fas fa-file-pdf"></i>
</span>
<span class="headerbtn__text-container">.pdf</span>
</button>
</li>
</ul>
</div>
</div>
<label for="__page-toc"
class="headerbtn headerbtn-page-toc"
>
<span class="headerbtn__icon-container">
<i class="fas fa-list"></i>
</span>
</label>
</div>
</div>
<!-- Table of contents -->
<div class="col-md-3 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="proxy.php?url=https%3A%2F%2Fgithub.com%2F%23">
Prodigious Python
</a>
</li>
<li class="toc-h1 nav-item toc-entry">
<a class="reference internal nav-link" href="proxy.php?url=https%3A%2F%2Fgithub.com%2F%23development-setup">
Development setup
</a>
</li>
</ul>
</nav>
</div>
</div>
<div class="article row">
<div class="col pl-md-3 pl-lg-5 content-container">
<!-- 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="proxy.php?url=https%3A%2F%2Fgithub.com%2F%23">
Prodigious Python
</a>
</li>
<li class="toc-h1 nav-item toc-entry">
<a class="reference internal nav-link" href="proxy.php?url=https%3A%2F%2Fgithub.com%2F%23development-setup">
Development setup
</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
<main id="main-content" role="main">
<div>
<section class="tex2jax_ignore mathjax_ignore" id="prodigious-python">
<h1>Prodigious Python<a class="headerlink" href="proxy.php?url=https%3A%2F%2Fgithub.com%2F%23prodigious-python" title="Permalink to this headline">#</a></h1>
<p><img alt="Prodigious Python cover" src="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Ca+href%3D"https://github.com/ProdigiousPython/AssetStore/blob/main/Prodigious%20Python%20Cover.png?raw=true">https://github.com/ProdigiousPython/AssetStore/blob/main/Prodigious%20Python%20Cover.png?raw=true" /></p>
<p>🚀 <a class="reference external" href="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Ca+href%3D"https://prodigiouspython.github.io/ProdigiousPython">Homepage</a></p" rel="nofollow">https://prodigiouspython.github.io/ProdigiousPython">Homepage</a></p>
<p>📖 <a class="reference external" href="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Ca+href%3D"https://drive.google.com/file/d/1DF1IhLzjnLSzSlNO3PE1hcuv_Cgx6bAS/view?usp=sharing">PDF</a></p" rel="nofollow">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>
</section>
<section class="tex2jax_ignore mathjax_ignore" id="development-setup">
<h1>Development setup<a class="headerlink" href="proxy.php?url=https%3A%2F%2Fgithub.com%2F%23development-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<span class="w"> </span>clone<span class="w"> </span>https://github.com/ProdigiousPython/ProdigiousPython.git
</pre></div>
</div>
<p>We use <a class="reference external" href="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Ca+href%3D"https://python-poetry.org/">Poetry</a" rel="nofollow">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<span class="w"> </span>install
</pre></div>
</div>
<p>To run the jupyter-lab:</p>
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>poetry<span class="w"> </span>run<span class="w"> </span>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<span class="w"> </span>run<span class="w"> </span>jb<span class="w"> </span>build<span class="w"> </span>.
</pre></div>
</div>
<p>To convert the notebooks to pdf</p>
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>poetry<span class="w"> </span>run<span class="w"> </span>jb<span class="w"> </span>build<span class="w"> </span>--builder<span class="o">=</span>pdfhtml<span class="w"> </span>.
</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>
</section>
<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>
</main>
<footer class="footer-article noprint">
<!-- Previous / next buttons -->
<div class='prev-next-area'>
</div>
</footer>
</div>
</div>
<div class="footer-content row">
<footer class="col footer"><p>
By Prodigious Python<br/>
© Copyright 2022.<br/>
<div class="extra_footer">
<p>
<a href="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Ca+href%3D"https://www.buymeacoffee.com/Naveen8" rel="nofollow">https://www.buymeacoffee.com/Naveen8" target="_blank"><img src="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Ca+href%3D"https://img.shields.io/badge/Support-Buy%20me%20a%20%E2%98%95-orange?style=flat-square&logo=appveyor.svg" rel="nofollow">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="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Ca+href%3D"https://www.linkedin.com/in/naveenkumarreddy8/" rel="nofollow">https://www.linkedin.com/in/naveenkumarreddy8/" target="_blank"><img src="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Ca+href%3D"https://img.shields.io/badge/Follow-LinkedIn-0077B5?style=flat-square&logo=appveyor.svg" rel="nofollow">https://img.shields.io/badge/Follow-LinkedIn-0077B5?style=flat-square&logo=appveyor.svg" alt="Follow LinkedIn"></a>
</p>
</div>
</p>
</footer>
</div>
</div>
</div>
</div>
<!-- Scripts loaded after <body> so the DOM is not blocked -->
<script src="proxy.php?url=https%3A%2F%2Fgithub.com%2F_static%2Fscripts%2Fpydata-sphinx-theme.js%3Fdigest%3D1999514e3f237ded88cf"></script>
</body>
</html>