1
- # Python programming tutorial
1
+ # Python programming tutorial @ PyCon X Beginner's Day
2
2
3
3
This is a concise Python 3 programming tutorial for people who think
4
4
that reading is boring. I try to show everything with simple code
@@ -7,12 +7,13 @@ words. If you have never programmed before click
7
7
[ here] ( basics/what-is-programming.md ) to find out what programming is
8
8
like and get started.
9
9
10
- This tutorial is aimed at people with no programming experience at all
11
- or very little programming experience. If you have programmed a lot in
10
+ This tutorial is composed in a basic part, aimed at people with no programming
11
+ experience at all or very little programming experience and an advance one for people
12
+ who want to learn more about python. If you have programmed a lot in
12
13
the past using some other language you may want to read [ the official
13
- tutorial] ( https://docs.python.org/3/tutorial/ ) instead .
14
+ tutorial] ( https://docs.python.org/3/tutorial/ ) also .
14
15
15
- You can use Python 3.3 or any newer Python with this tutorial. ** Don't
16
+ You can use Python 3.6 or any newer Python with this tutorial. ** Don't
16
17
use Python 2.** If you write a Python 2 program now someone will need to
17
18
convert it to Python 3 later, so it's best to just write Python 3 to
18
19
begin with. Python 3 code will work just fine in Python 4, so you don't
@@ -47,10 +48,9 @@ to learn more about whatever you want after studying it.
47
48
15 . [ Writing a larger program] ( basics/larger-program.md )
48
49
16 . [ What is true?] ( basics/what-is-true.md )
49
50
17 . [ Files] ( basics/files.md )
50
- 18 . [ Modules] ( basics/modules.md )
51
- 19 . [ Exceptions] ( basics/exceptions.md )
52
- 20 . [ Classes] ( basics/classes.md )
53
- 21 . [ Docstrings] ( basics/docstrings.md )
51
+ 18 . [ Docstrings] ( basics/docstrings.md )
52
+
53
+
54
54
55
55
### Advanced
56
56
@@ -61,13 +61,18 @@ without these things.
61
61
62
62
You can experient with these things freely, but please ** don't use these
63
63
techniques just because you know how to use them.** Prefer the simple
64
- techniques from the Basics part instead when possible. Simple is better
65
- than complex.
64
+ techniques from the Basics part instead when possible. REMEMBER: * Simple is better
65
+ than complex* .
66
+
67
+ 1 . [ Modules] ( advances/modules.md )
68
+ 2 . [ Exceptions] ( advanced/exceptions.md )
69
+ 3 . [ Classes] ( advanced/classes.md )
70
+ 4 . [ NamedTuples] ( advanced/named_tuples.md )
71
+ 5 . [ Handy data types] ( advanced/datatypes.md )
72
+ 6 . [ Advanced stuff with functions] ( advanced/functions.md )
73
+ 7 . [ Magic methods] ( advanced/magicmethods.md )
74
+ 8 . [ Iterables, iterators and generators] ( advanced/iters.md )
66
75
67
- 1 . [ Handy data types] ( advanced/datatypes.md )
68
- 2 . [ Advanced stuff with functions] ( advanced/functions.md )
69
- 3 . [ Magic methods] ( advanced/magicmethods.md )
70
- 4 . [ Iterables, iterators and generators] ( advanced/iters.md )
71
76
72
77
### Other things this tutorial comes with
73
78
@@ -79,34 +84,6 @@ than complex.
79
84
80
85
## Frequently asked questions
81
86
82
- ### How can I thank you for writing and sharing this tutorial?
83
-
84
- You can star this tutorial. Starring is free for you, but it tells me
85
- and other people that you like this tutorial.
86
-
87
- Go [ here] ( https://github.com/Akuli/python-tutorial ) if you aren't here
88
- already and click the "Star" button in the top right corner. You will be
89
- asked to create a GitHub account if you don't already have one.
90
-
91
- ### How can I read this tutorial without an Internet connection?
92
-
93
- 1 . Go [ here] ( https://github.com/Akuli/python-tutorial ) if you aren't
94
- here already.
95
- 2 . Click the big green "Clone or download" button in the top right of
96
- the page, then click "Download ZIP".
97
-
98
- ![ Download ZIP] ( images/download-me.png )
99
-
100
- 3 . Extract the ZIP and open it. Unfortunately I don't have any more
101
- specific instructions because how exactly this is done depends on
102
- which operating system you run.
103
- 4 . Run ` make-html.py ` and follow the instructions.
104
-
105
- If you have git and you know how to use it, you can also clone the
106
- repository instead of downloading a zip and extracting it. An advantage
107
- with doing it this way is that you don't need to download the whole
108
- tutorial again to get the latest version of it, all you need to do is to
109
- pull with git and run ` make-html.py ` again.
110
87
111
88
## Authors
112
89
@@ -118,12 +95,5 @@ have helped me with it:
118
95
119
96
***
120
97
121
- If you have trouble with this tutorial please [ tell me about
122
- it] ( ./contact-me.md ) and I'll make this tutorial better. If you
123
- like this tutorial, please [ give it a
124
- star] ( ./README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial ) .
125
-
126
- You may use this tutorial freely at your own risk. See
127
- [ LICENSE] ( ./LICENSE ) .
128
98
129
99
[ List of contents] ( ./README.md#list-of-contents )
0 commit comments