Skip to content

Commit b966502

Browse files
committed
md -[jupytext 1.1.0]-> ipynb -[jupytext 1.3.0rc1]-> md
1 parent 4b39d72 commit b966502

Some content is hidden

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

50 files changed

+200
-218
lines changed

Python/Module1_GettingStartedWithPython/GettingStartedWithPython.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ jupyter:
44
text_representation:
55
extension: .md
66
format_name: markdown
7-
format_version: '1.1'
8-
jupytext_version: 1.1.0-rc0
7+
format_version: '1.2'
8+
jupytext_version: 1.3.0rc1
99
kernelspec:
1010
display_name: Python 3
1111
language: python
1212
name: python3
1313
---
1414

15-
```raw_mimetype="text/restructuredtext"
15+
<!-- #raw raw_mimetype="text/restructuredtext" -->
1616
.. meta::
1717
:description: Topic: Basic description of the Python programming language, Difficulty: Easy, Category: Background
1818
:keywords: python, install, basics, scripts, interpreter, foundations
19-
```
19+
<!-- #endraw -->
2020

2121
<!-- #region -->
2222
# Introducing the Python Programming Language
@@ -76,7 +76,7 @@ Do not use word processing programs, like Microsoft Word, to write code. They wi
7676

7777
Now that you have a Python script, how do you get the computer to read it and follow its instructions? You will need to install a **Python interpreter** on your computer to accomplish this. This is what people mean, whether they know it or not, when they tell you to "install Python" on your computer.
7878

79-
<!-- #region -->
79+
8080
## What is a Python Interpreter and What Does it Mean to "Install Python"?
8181

8282
A Python interpreter is any computer program that is capable of doing the following:
@@ -117,7 +117,6 @@ this will instruct the Python interpreter program `python` to read your text fil
117117
In practice, you will be able to simply execute `python my_script.py` in any directory, and your computer will know where to look to find the `python` program. This will be set up during the installation process.
118118

119119
It may be confusing to think that the Python language is interpreted by using a program written in another language. How, then, is that language interpreted? The answer, in the case of CPython, is that C code need not be interpreted; programs exist for Windows, Mac, and Linux that can translate C code directly into machine instructions.
120-
<!-- #endregion -->
121120

122121
<!-- #region -->
123122
## Why Python?

Python/Module1_GettingStartedWithPython/Getting_Started_With_IDEs_and_Notebooks.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ jupyter:
44
text_representation:
55
extension: .md
66
format_name: markdown
7-
format_version: '1.1'
8-
jupytext_version: 1.1.0-rc0
7+
format_version: '1.2'
8+
jupytext_version: 1.3.0rc1
99
kernelspec:
1010
display_name: Python 3
1111
language: python
1212
name: python3
1313
---
1414

15-
```raw_mimetype="text/restructuredtext"
15+
<!-- #raw raw_mimetype="text/restructuredtext" -->
1616
.. meta::
1717
:description: Topic: Integrated Development Environments, Difficulty: Easy, Category: Tools
1818
:keywords: python, introduction, IDE, PyCharm, VSCode, Jupyter, recommendation, tools
19-
```
19+
<!-- #endraw -->
2020

2121
# Setting Up a Development Environment
2222
## What You Will Learn

Python/Module1_GettingStartedWithPython/Informal_Intro_Python.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ jupyter:
44
text_representation:
55
extension: .md
66
format_name: markdown
7-
format_version: '1.1'
8-
jupytext_version: 1.1.0-rc0
7+
format_version: '1.2'
8+
jupytext_version: 1.3.0rc1
99
kernelspec:
1010
display_name: Python 3
1111
language: python
1212
name: python3
1313
---
1414

15-
```raw_mimetype="text/restructuredtext"
15+
<!-- #raw raw_mimetype="text/restructuredtext" -->
1616
.. meta::
1717
:description: Topic: Informal Introduction to Python, Difficulty: Easy, Category: Tutorial
1818
:keywords: python, installation, script, introduction, ipython, console, quick introduction
19-
```
19+
<!-- #endraw -->
2020

2121
# An Informal Introduction to Python
2222
Now that you have the Anaconda distribution of Python installed on your machine, let's write some simple Python code! We are going to forego writing a full Python script for now, and instead make use of a convenient tool for doing quick code scratchwork. The IPython console was installed as a part of Anaconda; it will allow us to build incrementally off of snippets of code, instead of having to execute an entire script all at once.

Python/Module1_GettingStartedWithPython/Installing_Python.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ jupyter:
44
text_representation:
55
extension: .md
66
format_name: markdown
7-
format_version: '1.1'
8-
jupytext_version: 1.1.0-rc0
7+
format_version: '1.2'
8+
jupytext_version: 1.3.0rc1
99
kernelspec:
1010
display_name: Python 3
1111
language: python
1212
name: python3
1313
---
1414

15-
```raw_mimetype="text/restructuredtext"
15+
<!-- #raw raw_mimetype="text/restructuredtext" -->
1616
.. meta::
1717
:description: Topic: Installing Python with Anaconda, Difficulty: Easy, Category: Tutorial
1818
:keywords: python, anaconda, instructions, environments, beginner, data science, introduction
19-
```
19+
<!-- #endraw -->
2020

2121
## Installing Python
2222

@@ -46,7 +46,7 @@ Some of the packages provided by Anaconda, like NumPy, have been [optimized](htt
4646

4747
You will need to know how to open a terminal (cmd.exe for Windows users) on your computer, and how to navigate between directories in the terminal. If you do not know how to do this, read a 'how-to' for whatever operating system you are using.
4848

49-
<!-- #region -->
49+
5050
### What did this just do to my computer?
5151

5252
This created a directory called `Anaconda3` (or some variant of this) on your computer, which contains all of the files associated with the CPython interpreter, all of the modules in Python's standard library, the aforementioned 3rd party packages that come as part of the Anaconda distribution (e.g. NumPy, SciPy, Jupyter, iPython), and the `conda` package manager. It also contains the executable files for all of these applications. The default install location for Anaconda is:
@@ -101,4 +101,3 @@ And like that, conda environments give you all of the powers of a necromancer, a
101101
Conda environments have more uses than simply switching back and forth between Python 3 and 2. Many people like to make a new conda environment for every major project that they work on, so that they can freely install any dependencies that are needed for that particular project, without worrying about conflicts with their other work. You should be keen on making regular use of conda environments.
102102

103103
It is highly recommended that you take time to read through [this tutorial on managing conda environments](https://conda.io/docs/user-guide/tasks/manage-environments.html).
104-
<!-- #endregion -->

Python/Module1_GettingStartedWithPython/Jupyter_Notebooks.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ jupyter:
44
text_representation:
55
extension: .md
66
format_name: markdown
7-
format_version: '1.1'
8-
jupytext_version: 1.1.0-rc0
7+
format_version: '1.2'
8+
jupytext_version: 1.3.0rc1
99
kernelspec:
1010
display_name: Python 3
1111
language: python
1212
name: python3
1313
---
1414

15-
```raw_mimetype="text/restructuredtext"
15+
<!-- #raw raw_mimetype="text/restructuredtext" -->
1616
.. meta::
1717
:description: Topic: Jupyter notebooks, Difficulty: Easy, Category: Tutorial
1818
:keywords: jupyter, notebook, kernel, basics, server, console, command line, plot, beginner, data science
19-
```
19+
<!-- #endraw -->
2020

2121
# Jupyter Notebooks
2222
In recent years, the Jupyter Notebook has become a massively popular tool for doing research-oriented work in Python and other languages alike. Its emergence marked a paradigm shift in the way data science is conducted.

Python/Module1_GettingStartedWithPython/Numerical_Work_In_Python.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ jupyter:
44
text_representation:
55
extension: .md
66
format_name: markdown
7-
format_version: '1.1'
8-
jupytext_version: 1.1.0-rc0
7+
format_version: '1.2'
8+
jupytext_version: 1.3.0rc1
99
kernelspec:
1010
display_name: Python 3
1111
language: python

Python/Module1_GettingStartedWithPython/SiteFormatting.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ jupyter:
44
text_representation:
55
extension: .md
66
format_name: markdown
7-
format_version: '1.1'
8-
jupytext_version: 1.1.0-rc0
7+
format_version: '1.2'
8+
jupytext_version: 1.3.0rc1
99
kernelspec:
1010
display_name: Python 3
1111
language: python
1212
name: python3
1313
---
1414

15-
```raw_mimetype="text/restructuredtext"
15+
<!-- #raw raw_mimetype="text/restructuredtext" -->
1616
.. meta::
1717
:description: Topic: Overview of formatting in Python Like You Mean It, Difficulty: Easy, Category: Instructions
1818
:keywords: overview, formatting, background, code block, console style
19-
```
19+
<!-- #endraw -->
2020

2121
<!-- #region -->
2222
# A Quick Guide to Formatting

Python/Module2_EssentialsOfPython/Basic_Objects.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ jupyter:
44
text_representation:
55
extension: .md
66
format_name: markdown
7-
format_version: '1.1'
8-
jupytext_version: 1.1.0-rc0
7+
format_version: '1.2'
8+
jupytext_version: 1.3.0rc1
99
kernelspec:
1010
display_name: Python 3
1111
language: python
1212
name: python3
1313
---
1414

15-
```raw_mimetype="text/restructuredtext"
15+
<!-- #raw raw_mimetype="text/restructuredtext" -->
1616
.. meta::
1717
:description: Topic: Basics of Python Objects, Difficulty: Easy, Category: Section
1818
:keywords: integers, booleans, floats, floating point precision, lists, strings, fundamentals
19-
```
19+
<!-- #endraw -->
2020

2121
<!-- #region -->
2222
# Basic Object Types
@@ -805,7 +805,7 @@ To answer some of the following questions, you will need to peruse the documenta
805805

806806
3\. Remove the whitespace from both ends of: `" basket "`
807807

808-
<!-- #region -->
808+
809809
4\. Create a string that will print as (the second line begins with a tab-character):
810810
```
811811
Hello
@@ -817,7 +817,6 @@ Hello
817817
6\. Only kids 13 and up are allowed to see Wayne's World. Given the variables `name` (a string) and `age` (an integer), use an f-string that will display: "NAME is old enough to watch the movie: BOOL", where NAME is to be replaced with the kid's name, and BOOL should be `True` if the kid is at least 13 years old, and `False` otherwise.
818818

819819
</div>
820-
<!-- #endregion -->
821820

822821
<!-- #region -->
823822
## Lists

Python/Module2_EssentialsOfPython/ConditionalStatements.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ jupyter:
44
text_representation:
55
extension: .md
66
format_name: markdown
7-
format_version: '1.1'
8-
jupytext_version: 1.1.0-rc0
7+
format_version: '1.2'
8+
jupytext_version: 1.3.0rc1
99
kernelspec:
1010
display_name: Python 3
1111
language: python
1212
name: python3
1313
---
1414

15-
```raw_mimetype="text/restructuredtext"
15+
<!-- #raw raw_mimetype="text/restructuredtext" -->
1616
.. meta::
1717
:description: Topic: Conditional Statements, Difficulty: Easy, Category: Section
1818
:keywords: if, else, elif, inline if, switch statement, comparison operator, bool, truth, is operator
19-
```
19+
<!-- #endraw -->
2020

2121

2222
# Conditional Statements

Python/Module2_EssentialsOfPython/DataStructures.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ jupyter:
44
text_representation:
55
extension: .md
66
format_name: markdown
7-
format_version: '1.1'
8-
jupytext_version: 1.1.0-rc0
7+
format_version: '1.2'
8+
jupytext_version: 1.3.0rc1
99
kernelspec:
1010
display_name: Python 3
1111
language: python
1212
name: python3
1313
---
1414

15-
```raw_mimetype="text/restructuredtext"
15+
<!-- #raw raw_mimetype="text/restructuredtext" -->
1616
.. meta::
1717
:description: Topic: Data Structures, Difficulty: Medium, Category: Section
1818
:keywords: Big-O, complexity, efficiency, algorithm, interview preparation, list, tuple, sequence
19-
```
19+
<!-- #endraw -->
2020

2121
<!-- #region -->
2222
# Data Structures (Part I): Introduction

0 commit comments

Comments
 (0)