r/learnprogramming • u/code_x_7777 • May 08 '20
Hey Reddit, just stumbled upon this free Python book (no fluff, direct PDF download link, 6.1MB, 856 pages)
Didn't want to keep it to myself - I'm starting to read this now. ;)
Direct link: https://books.goalkicker.com/PythonBook/PythonNotesForProfessionals.pdf
Contents
1: Getting started with Python Language
2: Python Data Types
3: Indentation
4: Comments and Documentation
5: Date and Time
6: Date Formatting
7: Enum
8: Set
9: Simple Mathematical Operators
10: Bitwise Operators
11: Boolean Operators
12: Operator Precedence
13: Variable Scope and Binding
14: Conditionals
15: Comparisons
16: Loops
17: Arrays
18: Multidimensional arrays
19: Dictionary
20: List
21: List comprehensions
22: List slicing (selecting parts of lists)
23: groupby()
24: Linked lists
25: Linked List Node
26: Filter
27: Heapq
28: Tuple
29: Basic Input and Output
30: Files & Folders I/O
31: os.path
32: Iterables and Iterators
33: Functions
34: Defining functions with list arguments
35: Functional Programming in Python
36: Partial functions
37: Decorators
38: Classes
39: Metaclasses
40: String Formatting
41: String Methods
42: Using loops within functions
43: Importing modules
44: Difference between Module and Package
45: Math Module
46: Complex math
47: Collections module
48: Operator module
49: JSON Module
50: Sqlite3 Module
51: The os Module
52: The locale Module
53: Itertools Module
54: Asyncio Module
55: Random module
56: Functools Module
57: The dis module
58: The base64 Module
59: Queue Module
60: Deque Module
61: Webbrowser Module
62: tkinter
63: pyautogui module
64: Indexing and Slicing
65: Plotting with Matplotlibcommands
66: graph-tool
67: Generators
68: Reduce
69: Map Function
70: Exponentiation
71: Searching
72: Sorting, Minimum and Maximum
73: Counting
74: The Print Function
75: Regular Expressions (Regex)
76: Copying data
77: Context Managers (“with” Statement)
78: The __name__ special variable
79: Checking Path Existence and Permissions
80: Creating Python packages
81: Usage of "pip" module: PyPI Package Manager
82: pip: PyPI Package Manager
83: Parsing Command Line arguments
84: Subprocess Library
85: setup.py
86: Recursion
87: Type Hints
88: Exceptions
89: Raise Custom Errors / Exceptions
90: Commonwealth Exceptions
91: urllib
92: Web scraping with Python
93: HTML Parsing
94: Manipulating XML
95: Python Requests Post
96: Distribution
97: Property Objects
98: Overloading
99: Polymorphism
100: Method Overriding
101: User-Defined Methods
102: String representations of class instances: __str__ and __repr__methods
103: Debugging
104: Reading and Writing CSV
105: Writing to CSV from String or List
106: Dynamic code execution with `exec` and `eval`
107: PyInstaller - Distributing Python Code
108: Data Visualization with Python
109: The Interpreter (Command Line Console)
110: *args and **kwargs
111: Garbage Collection
112: Pickle data serialisation
113: Binary Data
114: Idioms
115: Data Serialization
116: Multiprocessing
117: Multithreading
118: Processes and Threads
119: Python concurrency
120: Parallel computation
121: Sockets
122: Websockets
123: Sockets And Message Encryption/Decryption Between Client and Server
124: Python Networking
125: Python HTTP Server
126: Flask
127: Introduction to RabbitMQ using AMQPStorm
128: Descriptor
129: tempfile NamedTemporaryFile
130: Input, Subset and Output External Data Files using Pandas
131: Unzipping Files
132: Working with ZIP archives
133: Getting start with GZip
134: Stack
135: Working around the Global Interpreter Lock (GIL)
136: Deployment
137: Logging
138: Web Server Gateway Interface (WSGI)
139: Python Server Sent Events
140: Alternatives to switch statement from other languages
141: List destructuring (aka packing and unpacking)
142: Accessing Python source code and bytecode
143: Mixins
144: Attribute Access
145: ArcPyCursor
146: Abstract Base Classes (abc)
147: Plugin and Extension Classes
148: Immutable datatypes(int, float, str, tuple and frozensets)
149: Incompatibilities moving from Python 2 to Python 3
150: 2to3 tool
151: Non-official Python implementations
152: Abstract syntax tree
153: Unicode and bytes
154: Python Serial Communication (pyserial)
155: Neo4j and Cypher using Py2Neo
156: Basic Curses with Python
157: Templates in python
158: Pillow
159: The pass statement
160: CLI subcommands with precise help output
161: Database Access
162: Connecting Python to SQL Server
163: PostgreSQL
164: Python and Excel
165: Turtle Graphics
166: Python Persistence
167: Design Patterns
168: hashlib
169: Creating a Windows service using Python
170: Mutable vs Immutable (and Hashable) in Python
171: configparser
172: Optical Character Recognition
173: Virtual environments
174: Python Virtual Environment - virtualenv
175: Virtual environment with virtualenvwrapper
176: Create virtual environment with virtualenvwrapper in windows
177: sys
178: ChemPy - python package
179: pygame
180: Pyglet
181: Audio
182: pyaudio
183: shelve
184: IoT Programming with Python and Raspberry PI
185: kivy - Cross-platform Python Framework for NUI Development
186: Pandas Transform: Preform operations on groups and concatenate theresults
187: Similarities in syntax, Dierences in meaning: Python vs. JavaScript
188: Call Python from C#
189: ctypes
190: Writing extensions
191: Python Lex-Yacc
192: Unit Testing
193: py.test
194: Profiling
195: Python speed of program
196: Performance optimization
197: Security and Cryptography
198: Secure Shell Connection in Python
199: Python Anti-Patterns
200: Common Pitfalls
201: Hidden FeaturesCreditsYou may also like
Enjoy reading! :)
106
u/ashcatchum21 May 08 '20
I totally wouldn't recommend a beginner such a book because a lot of the concepts mentioned above is something that is not necessary for someone just starting out. This is because they are plenty of situations where you are learning something you don't even know why you are learning it!
This book as is aptly titled is "Python Notes for Professionals" is a book for professionals, this is because this is aimed at people who are already familiar with the things mentioned in it and would like a recap. So I would never recommend it to someone starting out.
You see the problem I faced and most newbies face is to navigate the sheer amount of resources available. There are 1000's of books and MOOC's out there and everyone recommends the one they feel is good. What ends up happening is you get overwhelmed juggling between the multiple resources and drop it midway doing none.
So what I would recommend is pick one resource aimed at a beginner and stick through it! Don't drop it Midway when you hear about a "better language" or whatever entices you. Don't fall into the trap of switching languages, frameworks, resources etc. Pick one and stick to it!
Take this for someone who was struggled learning programming but is now employed full time.
23
u/brokenskill May 08 '20 edited Jun 30 '23
Broken was a typical person who loved to spend hours on a website. He was subbed to all the good subs and regularly posted and commented as well. He liked to answer questions, upvote good memes, and talk about various things that are relevant in his life. He enjoyed getting upvotes, comments, and gildings from his online friends. He felt like he was part of a big community and a website that cared about him for 10 years straight.
But Broken also had a problem. The website that had become part of his daily life had changed. Gradually, paid shills, bots and algorithms took over and continually looked for ways to make Broken angry, all so they could improve a thing called engagement. It became overrun by all the things that made other social media websites terrible.
Sadly, as the website became worse, Broken became isolated, anxious, and depressed. He felt like he had no purpose or direction in life. The algorithms and manipulation caused him to care far too much about his online persona and how others perceived him. Then one day the website decided to disable the one thing left that made it tolerable at all.
That day, Broken decided to do something drastic. He deleted all his posts and left a goodbye message. He said he was tired of living a fake life and being manipulated by a website he trusted. Instead of posing on that website, Broken decided to go try some other platforms that don't try to ruin the things that make them great.
People who later stumbled upon Broken's comments and posts were shocked and confused. They wondered why he would do such a thing and where he would go. They tried to contact him through other means, but he didn't reply. Broken had clearly left that website, for all hope was lost.
There is only but one more piece of wisdom that Broken wanted to impart on others before he left. For Unbelievable Cake and Kookies Say Please, gg E Z. It's that simple.
6
u/ashcatchum21 May 08 '20
Agreed. I just didn't want someone starting our to be daunted by them amount of topics they see here. What I wanted to get across was that this resource isn't good for someone who wants to learn from it, it maybe good as a reference for someone who had previously worked with the language.
10
7
May 08 '20
Correct me if I'm wrong since I'm a big noob, but isn't this sort of book more intended as documentation for when you want a glimpse or refresher on some specific concept/library/function moreso than a bedside book? There are so many chapters that the concepts are finely segmented, looks closer to a language Standard doc than a book like ATBSWP.
5
u/ashcatchum21 May 08 '20
Yes! This is exactly how these sorts of books should be used. These are like dictionaries or encyclopedias, you look up what you need to and you are done with it.
3
u/Flaco1009 May 08 '20
Thank you for taking tor time to share your experience. I’m struggling to learn programming because of what you mention thinking that I was doing something wrong. Hopefully I can have a job in the future.
3
u/oceanman500 May 08 '20
Would you recommend automate the boring stuff for a beginner?
7
u/ashcatchum21 May 08 '20
Yes, it is one one of my favorite Python books that actually got me interested in programming, I would totally recommend it to anyone since you get to learn concepts while doing something practical no matter how small it maybe.
In a nutshell it's a big yes!
3
u/oceanman500 May 08 '20
Thanks! I wasn’t sure if I should start using that although I had a couple people say I should, now I definitely will!
2
62
u/AutoModerator May 08 '20
Please be careful about recommending goalkicker.com. It's not necessarily a bad resource, but does come with some major caveats that can make it less than optimal to learn from. See the wiki for more details.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
43
15
u/iheartrms May 08 '20
Can anyone tell if this is python 3 based?
I started learning on python 2 because that is what my OS came with by default but most modern projects have moved to python 3 and it's really messing me up. So I am trying to remove all old style code from my life.
I wish I could find a handy reference of 2 vs 3 so I could have an easy way to avoid old style syntac but I keep forgetting which is which band having issues.
19
u/stefan901 May 08 '20
Just install python 3, just because your OS came with python 2 doesn't mean you have to limit yourself. Syntax is pretty much the same ( print os different and a few others), it's other stuff that's different, with floats, ints, division, etc.
Just install 3 and never ever look at 2 again.
10
u/Wilfred-kun May 08 '20
because that is what my OS came with by default
Do not learn Python 2, it is deprecated. Your OS probably did come with Python 3 installed, just use
python3instead ofpython.
26
11
u/Righteous_Dude May 08 '20
Here's the zip file (about 113M) containing all the "Notes for Professionals" books, about various IT topics: https://books.goalkicker.com/all.zip
0
u/AutoModerator May 08 '20
Please be careful about recommending goalkicker.com. It's not necessarily a bad resource, but does come with some major caveats that can make it less than optimal to learn from. See the wiki for more details.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
3
16
u/groversnoopyfozzie May 08 '20
This is pretty cool, but I don’t know if I can take any book with only 201 chapters seriously. I’ll still check it out though.
•
u/AutoModerator May 08 '20
To all following commenters: please, do not bring up the old circlejerk jokes/memes about recursion ("Understanding recursion...", "This is recursion...", etc.). We've all heard them n+2 too many times.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
-6
6
u/Average_Manners May 09 '20
Hey, lemme belatedly drop my thunder thief. In February the NSA got FOIA'd for its python training material, which is now available to the entire internet.
2
u/ranttila May 09 '20
Is this a good learning resource for a beginner?
2
u/Average_Manners May 10 '20
It is introductory material, but if you want something easier I'd suggest Automate The Boring Stuff with Python
5
u/__root May 08 '20
Well you weren't kidding with the direct download link comment. Book seems well done..I'll take a look
3
3
3
2
2
2
2
2
u/PanFiluta May 08 '20
There are many books, but question is which ones are worth reading. Time is very limited...
2
2
2
2
2
2
2
2
2
May 09 '20
that site actually has a lot of decent resources; i don't think anything to learn, but mostly to reference.
4
4
u/Are_We_There_Yet256 May 08 '20
Ahhhh, another book to add to my "I hope I read this one day" collection. Thank you, kind stranger.
2
2
2
1
May 11 '20
Wow,It looks great. I'm surely referring to my friends who are interested to dive in. In this time, everyone is so tech dependent that many of them avoid the concept of book. A good reader is always a good learner. Thank you 😊
1
u/Dangerpaladin May 08 '20
This is not a book you "read". It's just a condensed Google search. You keep it by your desk for quick reference. Maybe even print out some pages of stuff you constantly forget.
This is not a learning tool and really shouldn't be posted here.
1
1
1
1
1
1
1
-1
u/Poddster May 08 '20
I don't think you should link this book if you've not used it and can't recommend it. It might be awful.
There's a large number of python resources out there -- what makes this one worth a beginner's time?
0
-7
May 08 '20
Pointless. Just use the official tutorial on Pythons website. Why use anything else to learn Python
0
May 08 '20
[deleted]
18
u/Have_Other_Accounts May 08 '20
Not another book about learning how to program in a learnprogramming sub? Surely not
917
u/PlusEntrepreneur May 08 '20
Downloading this and keeping it in the folder with my 9 other python books I haven't opened yet.