r/learnprogramming • • 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, Dierences 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! :)

1.7k Upvotes

96 comments sorted by

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.

226

u/Archelioz May 08 '20

Jokes on you I haven't even downloaded the other 9 books, I bookmark the posts along with other books which I'll definitely finish some day

27

u/alpha-black34 May 08 '20

I feel it.

17

u/Poderis May 08 '20

Could you share those bookmarked posts?:D

-28

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.

5

u/CaptainSur May 09 '20

I really wish there was a way to organize bookmarks in reddit... and I totally feel you but my list is currently in excess of 50 books at a min.

5

u/novagascrawler May 09 '20

Hah. I leave them saved in reddit.

Do you know how often I check my saved stuff here? Check how long I've been on reddit and now will be the first time lmao

2

u/watchingMatch May 08 '20

I am following you

2

u/_Sho_the_ May 08 '20

Might be a bit abrupt but would you mind sharing with me the other posts you've bookmarked? Not that I'm gonna read them , I just want to keep them bookmarked for when I do in the future(I probably wont but whatever)

17

u/[deleted] May 08 '20

I'll do you one better. I'm going to save the link in the same document I saved links to the Udemy classes I bought that I have never participated in.

14

u/PaulSandwich May 08 '20

I wrote a script that downloads free python books.

11

u/Lurker_wolfie May 08 '20

Pfft just 9. Noob

11

u/meecro May 08 '20

Start small, with print()

That's a function which takes a parameter, that's some text you put in the parantheses, and prints that out to the Shell.

What's a function? Google or ask.

What's a parameter? Google or ask.

What's 'the Shell', what's etc...? Repeat ad nauseam.

To be honest, i couldn't explain what the Shell is myself - i'd try like this: An environment that takes the python code you wrote, and puts it out. It's just the standard python IDE.

I hope i don't sound ridiculous or condescending or such. I am by no means a pro. I should probably keep my mouth shut, but i hope i can give you some motivation to start, so i got that going for me.

Of course, this is more an overview than a tutorial. You have to have Python installed in the first place. It's another thing with Javascript, which you can run in the browser's console.

And from there, add up. Do some boring stuff, combine that stuff, the sky's the limit.

Because that unopened books scenario, it's called tutorial hell. I know it, i sometimes hang around there too. As with many things, leaving your comfort zone is the step needed.

But i have written enough for now:-)Thanks for reading everyone, and thanks for helping!

28

u/RSTUVdoubleVXYZ May 08 '20

Oof, right in the feels!

16

u/lonelyexoplanet May 08 '20

Whoaa.. you don't have to get personal there now.

15

u/nachiket28 May 08 '20

Uff right in the Folder man!!!

7

u/100100110l May 08 '20

I'm in this comment and I don't like it.

6

u/thorlovesrocket May 08 '20

is that like, a personal attack?

5

u/XanderDC May 08 '20

Are you me??

3

u/4THOT May 08 '20

I'm in this picture and I don't like it.

3

u/just_a_random_userid May 08 '20

Along with the 10 different courses I have bookmarked but will probably never finish.

2

u/bemaleficent May 08 '20

Same condition

2

u/wiz007 May 08 '20

+ 15 other bookmarks.

2

u/well-past-worn May 08 '20

blows dust off his kindle haha

2

u/appsplaah May 08 '20

Except to check their syllabus each time:p

2

u/Blazing117 May 09 '20

9? Amateur.

2

u/_cock-waffles_ May 09 '20

You mean about 200 digital copies you haven't rear? That's about where I'm at, only it's more than just python.

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.

7

u/[deleted] 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

u/Bodhi710 May 09 '20

So what I hear you saying is that I should stick with Java...

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

u/MMAgeezer May 08 '20

There is so many chapters that I thought this might be satirical at first 😂

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 python3 instead of python.

26

u/[deleted] May 08 '20

You are a good man, thank you

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.

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

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

u/lilrachyb May 08 '20

Thanks for the share!

3

u/charlieraaaaa May 08 '20

Keep this for when i want too do more python revision.

3

u/Ailey11 May 08 '20

1 print('Tank you') 2 # think there is an error but thank you.

2

u/Lynton07 May 08 '20

Your a fucking legend

2

u/konhaybay May 08 '20

Thx, a good read to progress after getting to know basics of 🐍

2

u/accountForStupidQs May 08 '20

Goalkicker is a well known source of many free programming books.

2

u/[deleted] May 08 '20

Thanks guy!

2

u/PanFiluta May 08 '20

There are many books, but question is which ones are worth reading. Time is very limited...

2

u/Ryles1 May 08 '20

How is a book that long only 6 MB

2

u/YAYYYYYYYYY May 08 '20

Holy shit so many chapters! I’ll check it out today.

2

u/[deleted] May 08 '20

just what I need, thank you!

2

u/infraninja May 08 '20

Is it just me or is this post longer than the 800+ page book?

2

u/amfro226 May 08 '20

Thank you, kind redditor.

2

u/[deleted] May 08 '20

I was 95% sure this was a rickroll

2

u/[deleted] May 09 '20

I don't need it but i will download it anyway :)

2

u/[deleted] May 09 '20

that site actually has a lot of decent resources; i don't think anything to learn, but mostly to reference.

4

u/rqusbxp May 08 '20

Thanks for the care

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

u/[deleted] May 08 '20

Going in the collection! Thanks!

2

u/grahamsss May 08 '20

Dude... Thank You!!!!

2

u/ammusiri888 May 08 '20

Thanks for sharing i can again start to read on my favorite coding topic..

1

u/[deleted] 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

u/delerageorge2 May 08 '20

Thanks mate

1

u/[deleted] May 08 '20

Thanks!

1

u/[deleted] May 08 '20

Magik

Thank you

1

u/moosezoose May 08 '20

Thanks for sharing!

1

u/hardm0ney May 08 '20

Thanks for the great share!

1

u/cellwall-999 May 08 '20

What a fucking hell ton of resourceful shit.

Cheers bro!

-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

u/andreyred May 09 '20

book

pdf

ewwww

-7

u/[deleted] May 08 '20

Pointless. Just use the official tutorial on Pythons website. Why use anything else to learn Python

0

u/[deleted] 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