Skip to content

Commit 873d41a

Browse files
updated
1 parent 1aba72c commit 873d41a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+6592
-269
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
🚀 [Homepage](https://prodigiouspython.github.io/PythonWorkshop/)
44

5+
📖 [PDF](https://drive.google.com/file/d/1DF1IhLzjnLSzSlNO3PE1hcuv_Cgx6bAS/view?usp=sharing)
6+
57
Welcome to Python Workshop 🐍
68

79
Idea of Python Workshop is to be different from the traditional books.

docs/CODE_OF_CONDUCT.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ <h1 class="site-logo" id="site-title">Python Workshop 🐍</h1>
8383
<ul class="nav bd-sidenav">
8484
<li class="toctree-l1">
8585
<a class="reference internal" href="intro.html">
86-
Welcome to Python Workshop. 🐍
86+
Python Workshop
8787
</a>
8888
</li>
8989
</ul>

docs/README.html

Lines changed: 62 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>&lt;no title&gt; &#8212; Python Workshop 🐍</title>
8+
<title>Python Workshop &#8212; Python Workshop 🐍</title>
99

1010
<link href="_static/css/theme.css" rel="stylesheet" />
1111
<link href="_static/css/index.c5995385ac14fb8791e8eb36b4908be2.css" rel="stylesheet" />
@@ -83,7 +83,7 @@ <h1 class="site-logo" id="site-title">Python Workshop 🐍</h1>
8383
<ul class="nav bd-sidenav">
8484
<li class="toctree-l1">
8585
<a class="reference internal" href="intro.html">
86-
Welcome to Python Workshop. 🐍
86+
Python Workshop
8787
</a>
8888
</li>
8989
</ul>
@@ -265,9 +265,9 @@ <h1 class="site-logo" id="site-title">Python Workshop 🐍</h1>
265265
<!-- ipynb file if we had a myst markdown file -->
266266

267267
<!-- Download raw file -->
268-
<a class="dropdown-buttons" href="_sources/README.rst"><button type="button"
268+
<a class="dropdown-buttons" href="_sources/README.md"><button type="button"
269269
class="btn btn-secondary topbarbtn" title="Download source file" data-toggle="tooltip"
270-
data-placement="left">.rst</button></a>
270+
data-placement="left">.md</button></a>
271271
<!-- Download PDF via print -->
272272
<button type="button" id="download-print" class="btn btn-secondary topbarbtn" title="Print to PDF"
273273
onClick="window.print()" data-toggle="tooltip" data-placement="left">.pdf</button>
@@ -310,7 +310,22 @@ <h1 class="site-logo" id="site-title">Python Workshop 🐍</h1>
310310
<i class="fas fa-list"></i> Contents
311311
</div>
312312
<nav id="bd-toc-nav">
313-
<ul class="simple visible nav section-nav flex-column">
313+
<ul class="visible nav section-nav flex-column">
314+
<li class="toc-h1 nav-item toc-entry">
315+
<a class="reference internal nav-link" href="#">
316+
Python Workshop
317+
</a>
318+
</li>
319+
<li class="toc-h1 nav-item toc-entry">
320+
<a class="reference internal nav-link" href="#development-setup">
321+
Development setup
322+
</a>
323+
</li>
324+
<li class="toc-h1 nav-item toc-entry">
325+
<a class="reference internal nav-link" href="#made-with">
326+
Made with ❤️
327+
</a>
328+
</li>
314329
</ul>
315330

316331
</nav>
@@ -322,7 +337,48 @@ <h1 class="site-logo" id="site-title">Python Workshop 🐍</h1>
322337

323338
<div>
324339

325-
340+
<div class="section" id="python-workshop">
341+
<h1>Python Workshop<a class="headerlink" href="#python-workshop" title="Permalink to this headline"></a></h1>
342+
<p>🚀 <a class="reference external" href="https://prodigiouspython.github.io/PythonWorkshop/">Homepage</a></p>
343+
<p>📖 <a class="reference external" href="https://drive.google.com/file/d/1DF1IhLzjnLSzSlNO3PE1hcuv_Cgx6bAS/view?usp=sharing">PDF</a></p>
344+
<p>Welcome to Python Workshop 🐍</p>
345+
<p>Idea of Python Workshop is to be different from the traditional books.</p>
346+
<p>We wanted Python Workshop to be:</p>
347+
<ul class="simple">
348+
<li><p>Fun 🎉</p></li>
349+
<li><p>Executable 🤖</p></li>
350+
<li><p>Publishable via static web pages and PDF ⚙️</p></li>
351+
</ul>
352+
</div>
353+
<div class="section" id="development-setup">
354+
<h1>Development setup<a class="headerlink" href="#development-setup" title="Permalink to this headline"></a></h1>
355+
<p>First things first, We need to clone our repo</p>
356+
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>git clone https://github.com/ProdigiousPython/PythonWorkshop.git
357+
</pre></div>
358+
</div>
359+
<p>We use <a class="reference external" href="https://python-poetry.org/">Poetry</a> for the dependency mangement.</p>
360+
<p>Let’s install the packages required using the below command:</p>
361+
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>poetry install
362+
</pre></div>
363+
</div>
364+
<p>To run the jupyter-lab:</p>
365+
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>poetry run jupyter-lab
366+
</pre></div>
367+
</div>
368+
<p>To convert the notebooks to html</p>
369+
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>poetry run jb build .
370+
</pre></div>
371+
</div>
372+
<p>To convert the notebooks to pdf</p>
373+
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>poetry run jb build --builder<span class="o">=</span>pdfhtml .
374+
</pre></div>
375+
</div>
376+
<p>The generated files would be present in <code class="docutils literal notranslate"><span class="pre">_build</span></code> folder.</p>
377+
</div>
378+
<div class="section" id="made-with">
379+
<h1>Made with ❤️<a class="headerlink" href="#made-with" title="Permalink to this headline"></a></h1>
380+
</div>
381+
326382
<script type="text/x-thebe-config">
327383
{
328384
requestKernel: true,

docs/_sources/README.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Python Workshop
2+
3+
🚀 [Homepage](https://prodigiouspython.github.io/PythonWorkshop/)
4+
5+
📖 [PDF](https://drive.google.com/file/d/1DF1IhLzjnLSzSlNO3PE1hcuv_Cgx6bAS/view?usp=sharing)
6+
7+
Welcome to Python Workshop 🐍
8+
9+
Idea of Python Workshop is to be different from the traditional books.
10+
11+
We wanted Python Workshop to be:
12+
13+
* Fun 🎉
14+
* Executable 🤖
15+
* Publishable via static web pages and PDF ⚙️
16+
17+
# Development setup
18+
19+
First things first, We need to clone our repo
20+
21+
```shell
22+
git clone https://github.com/ProdigiousPython/PythonWorkshop.git
23+
```
24+
25+
We use [Poetry](https://python-poetry.org/) for the dependency mangement.
26+
27+
Let's install the packages required using the below command:
28+
29+
```shell
30+
poetry install
31+
```
32+
33+
To run the jupyter-lab:
34+
35+
```shell
36+
poetry run jupyter-lab
37+
```
38+
39+
To convert the notebooks to html
40+
41+
```shell
42+
poetry run jb build .
43+
```
44+
45+
To convert the notebooks to pdf
46+
47+
```shell
48+
poetry run jb build --builder=pdfhtml .
49+
```
50+
The generated files would be present in `_build` folder.
51+
52+
53+
# Made with ❤️

docs/_sources/README.rst

Whitespace-only changes.

docs/_sources/intro.md

Lines changed: 50 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,53 @@
1-
# Welcome to Python Workshop. 🐍
1+
# Python Workshop
22

3-
Hello Pythoneer! Want to learn Python 🐍 with having fun? You have come to the right place ❤️.
3+
🚀 [Homepage](https://prodigiouspython.github.io/PythonWorkshop/)
44

5+
📖 [PDF](https://drive.google.com/file/d/1DF1IhLzjnLSzSlNO3PE1hcuv_Cgx6bAS/view?usp=sharing)
56

6-
Made with ❤️.
7+
Welcome to Python Workshop 🐍
8+
9+
Idea of Python Workshop is to be different from the traditional books.
10+
11+
We wanted Python Workshop to be:
12+
13+
* Fun 🎉
14+
* Executable 🤖
15+
* Publishable via static web pages and PDF ⚙️
16+
17+
# Development setup
18+
19+
First things first, We need to clone our repo
20+
21+
```shell
22+
git clone https://github.com/ProdigiousPython/PythonWorkshop.git
23+
```
24+
25+
We use [Poetry](https://python-poetry.org/) for the dependency mangement.
26+
27+
Let's install the packages required using the below command:
28+
29+
```shell
30+
poetry install
31+
```
32+
33+
To run the jupyter-lab:
34+
35+
```shell
36+
poetry run jupyter-lab
37+
```
38+
39+
To convert the notebooks to html
40+
41+
```shell
42+
poetry run jb build .
43+
```
44+
45+
To convert the notebooks to pdf
46+
47+
```shell
48+
poetry run jb build --builder=pdfhtml .
49+
```
50+
The generated files would be present in `_build` folder.
51+
52+
53+
# Made with ❤️

docs/_sources/pythonworkshop/Chapter_1/1_Getting_Started_With_Python_Language.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"source": [
1717
"It's pretty easy to start with Python Language 🐍.\n",
18-
"We would be using Python >= 3.9 in this [Repository](https://github.com/NaveenKumarReddy8/PythonWorkshop) as of now 🙂\n",
18+
"We would be using Python >= 3.9 in this [Repository](https://github.com/ProdigiousPython/PythonWorkshop) as of now 🙂\n",
1919
"\n",
2020
"1. [Download Python](https://www.python.org/)\n",
2121
"2. Pull the docker image [naveen8/pythonworkshop](https://hub.docker.com/r/naveen8/pythonworkshop) or build a Docker image by using the Dockerfile present in our [Repository](https://github.com/ProdigiousPython/PythonWorkshop) and run the container out of it which comes bundled with everything to run the code present in our repository 🚀."
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"id": "bb089e16-a64e-41c4-a01d-7654f6bfdf65",
6+
"metadata": {},
7+
"source": [
8+
"# Keywords"
9+
]
10+
},
11+
{
12+
"cell_type": "code",
13+
"execution_count": null,
14+
"id": "76702d74-72e3-4621-ac3a-465baa8e282e",
15+
"metadata": {},
16+
"outputs": [],
17+
"source": [
18+
"import keyword"
19+
]
20+
},
21+
{
22+
"cell_type": "code",
23+
"execution_count": null,
24+
"id": "3592919c-be3a-4428-a32d-5d19b7e397d1",
25+
"metadata": {},
26+
"outputs": [],
27+
"source": [
28+
"print(*keyword.kwlist, sep=\"\\n\")"
29+
]
30+
}
31+
],
32+
"metadata": {
33+
"kernelspec": {
34+
"display_name": "Python 3 (ipykernel)",
35+
"language": "python",
36+
"name": "python3"
37+
},
38+
"language_info": {
39+
"codemirror_mode": {
40+
"name": "ipython",
41+
"version": 3
42+
},
43+
"file_extension": ".py",
44+
"mimetype": "text/x-python",
45+
"name": "python",
46+
"nbconvert_exporter": "python",
47+
"pygments_lexer": "ipython3",
48+
"version": "3.9.5"
49+
}
50+
},
51+
"nbformat": 4,
52+
"nbformat_minor": 5
53+
}
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"id": "3e8c13df-dac2-423b-a680-b28e47177412",
6+
"metadata": {
7+
"tags": []
8+
},
9+
"source": [
10+
"# Dive into each Keyword"
11+
]
12+
},
13+
{
14+
"cell_type": "markdown",
15+
"id": "bd1579b5-1716-44cf-8c9f-95220a23d6f3",
16+
"metadata": {},
17+
"source": [
18+
"## False"
19+
]
20+
},
21+
{
22+
"cell_type": "markdown",
23+
"id": "634b6f6e-cf42-487e-bd54-12b406545ea0",
24+
"metadata": {},
25+
"source": [
26+
"As we have already discussed about False in our earlier lessons 😅, still, lets have a recap! The name does self describes itself. False in a constant boolean value whose integer equivalent is 0. "
27+
]
28+
},
29+
{
30+
"cell_type": "code",
31+
"execution_count": null,
32+
"id": "82f78323-98d8-457e-9ae6-902cb4194e63",
33+
"metadata": {},
34+
"outputs": [],
35+
"source": [
36+
"print(int(False))"
37+
]
38+
},
39+
{
40+
"cell_type": "markdown",
41+
"id": "689b976b-6d17-4e64-bd82-fbdd85bb8938",
42+
"metadata": {},
43+
"source": [
44+
"We do get "
45+
]
46+
}
47+
],
48+
"metadata": {
49+
"kernelspec": {
50+
"display_name": "Python 3 (ipykernel)",
51+
"language": "python",
52+
"name": "python3"
53+
},
54+
"language_info": {
55+
"codemirror_mode": {
56+
"name": "ipython",
57+
"version": 3
58+
},
59+
"file_extension": ".py",
60+
"mimetype": "text/x-python",
61+
"name": "python",
62+
"nbconvert_exporter": "python",
63+
"pygments_lexer": "ipython3",
64+
"version": "3.9.5"
65+
}
66+
},
67+
"nbformat": 4,
68+
"nbformat_minor": 5
69+
}

docs/_static/documentation_options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ var DOCUMENTATION_OPTIONS = {
33
VERSION: '',
44
LANGUAGE: 'None',
55
COLLAPSE_INDEX: false,
6-
BUILDER: 'html',
6+
BUILDER: 'singlehtml',
77
FILE_SUFFIX: '.html',
88
LINK_SUFFIX: '.html',
99
HAS_SOURCE: true,

0 commit comments

Comments
 (0)