You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,20 @@
1
1
## Python Quick Reference
2
2
3
-
This is the [reference guide to Python](reference.py) that I **wish** had existed when I was learning the language.
3
+
### View as a [Python script](reference.py) or a [Jupyter notebook](http://nbviewer.jupyter.org/github/justmarkham/python-reference/blob/master/reference.ipynb)
4
+
5
+
This is the reference guide to Python that I **wish** had existed when I was learning the language.
4
6
5
7
Here's what I want in a reference guide:
6
8
7
9
-**High-quality examples** that show the simplest possible usage of a given feature
8
10
-**Explanatory comments**, and descriptive variable names that eliminate the need for some comments
9
-
- Presented as a **single Python script**, so that I can keep it open in my IDE and search it when needed
11
+
- Presented as a **single script (or notebook)**, so that I can keep it open and search it when needed
10
12
-**Code that can be run** from top to bottom, with the relevant objects defined nearby
11
13
12
14
This is **not** written as a full-fledged Python tutorial, though I ordered the topics such that you can read it like a tutorial (i.e., each topic depends only on material preceding it).
13
15
16
+
The guide was written using Python 2 but is fully compatible with Python 3. Relevant differences between Python 2 and 3 are noted throughout the guide.
17
+
14
18
### Table of Contents
15
19
16
20
-[Imports](reference.py#L28)
@@ -37,6 +41,6 @@ If you are looking for a resource that will help you to **learn Python from scra
37
41
38
42
### Suggestions or Corrections
39
43
40
-
If there's a **topic or example** you'd like me to add to this guide, or you notice a **mistake**, please [create a GitHub issue](../../issues) or [contact me directly](http://www.dataschool.io/about/).
44
+
If there's a **topic or example** you'd like me to add to this guide, or you notice a **mistake**, please [create a GitHub issue](../../issues) or [leave a blog comment](http://www.dataschool.io/python-quick-reference/).
0 commit comments