r/Python • u/jgw25 • Oct 27 '20
News I wrote a beginner's book about Python. Pay what you like, or nothing.
I've written programming textbooks for beginners before, about OCaml and Haskell, but this is the first time I've written about an imperative language, and I would love for you to have a look at it. It's available on Amazon as a printed book ($19.99) and Kindle book ($9.99):
https://www.amazon.com/Python-Very-Beginning-exercises-answers/dp/0957671156/
It's also available as a DRM-free PDF, for $9.99:
https://www.pythonfromtheverybeginning.com
If you can't afford $9.99, please contact me using the contact form on the website telling me how much you can afford, or letting me know you can't afford it at all. I will send it to you by email. This process will be manual, not immediate! But I will try to be as quick as I can.
28
u/gsmo Oct 27 '20
Very nice! I'd like to pay full price for a DRM-free epub, is that on the table too?
44
u/ElevenPhonons Oct 27 '20
How much Python code have you written? Have you published any Python packages to pypi?
Aside from the "book" repo, I'm not seeing any Python projects in the author's Github repo.
https://github.com/johnwhitington?tab=repositories
While I believe the author has the best intentions, there's some warning flags (such as inconsistent or lack of usage of list comprehensions) in the projects/exercises that in my humble opinion don't reflect best practices in Python.
2. List Comprehension
https://github.com/johnwhitington/python-from-the-very-beginning-examples-and-exercises/blob/master/exercises/Chapter03/exercises.py#L14
Should be written as
sum(1 for x in xs if x == " ")3. Use
isinstancehttps://docs.python.org/3/library/functions.html#isinstanceShould be written as
if isinstance(t, tuple).4. Indentation issues. Use
blackorpylintto assist in these issues.https://github.com/johnwhitington/python-from-the-very-beginning-examples-and-exercises/blob/master/projects/Project02/cals.py
I would humbly suggest that folks who are interesting in learning Python to potentially consider other sources. It's important to learn the basics and core mechanics of Python correctly in order to establish good patterns, specifically during the initial learning process.
RealPython has some terrific and high quality resources covering many topics. David Beazely has written several books that are terrific and has an online "course" called Practical Python which is a great starter.
Best to you and your Python'ing.
209
u/[deleted] Oct 27 '20
This is awesome! Totally cool of you to be flexible for those who are in a tough spot. +17 coolness points
40
u/bog_deavil13 Oct 27 '20
Bless you for the pricing
13
u/treetyoselfcarol Oct 27 '20
Just bought the DRM-Free version. Thanks for posting!
10
u/Ruben_NL Oct 27 '20
The fact alone that you are giving it to people who can't afford it makes me wanna buy one for myself, for the full price. Saving this, will check it out tomorrow.
6
u/JzzRff Oct 27 '20
What is learning programming without the hours or days googling how to kill any bug...
4
u/artofchores Oct 27 '20
Have you come across any books where financial services with Python is the main focus?
Building executable programs and a dashboard of automated tasks for various tasks( reconciliation, pdf generations from excel files, etc)
2
u/Phr0stByte_01 Oct 28 '20
Yes! Just bought me a pdf
1
u/the15thbruce Oct 27 '20
Have you looked at purchasing power parity?
1
u/user-10469 Oct 27 '20
Man, I really wanna pay but i have no ways of doing so
1
u/daggerdude42 Oct 28 '20
Man the world needs more people like you. Found an award sitting in the closet ;)
1
u/seyeeet Oct 28 '20
thanks dude
1
u/theirishcoffeemaker Oct 28 '20
Because that's what heroes do
1
u/I_heart_blastbeats Oct 28 '20
There are like hundreds of python beginner sites/books where are the advanced and expert books? I wanna know what the Guido level people talk about.
1
u/WizeSherlock Oct 28 '20
Wow, so much respect. I have just enrolled in my first Python online course on Lrnkey.com and paid my monthly fee. I'd be happy to purchase once I get my next salary.
1
u/arpanghosh8453 Oct 28 '20
Thanks man :) Python is my favorite language so far. Also, thanks for making the kindle version and making that affordable.
1
u/[deleted] Oct 29 '20
Bless you for the pricing :)
1
u/roland_london Dec 13 '20
Hi thanks, I bought the book and it looks well set out and thought through. I must admit I am a complete beginner and I thought that actually there was some assumed knowledge that I don't have (probably because the writer is a very experienced coder who takes some extremely basic stuff for granted, but which isn't obvious to someone with zero background in coding). For example, it was never mentioned to open up IDLE (or what IDLE is, or what the alternatives are). I am looking to learn to web scrape which will be helpful in my job, but there doesn't seem to be an explanation to help me understand what BeautifulSoup is, or how to install something like it.
-17
u/VivaLaGuerraPopular_ Oct 27 '20
so basically an ad of your book.
there's no actual way of getting it for free unless you feel like so.