calthoff / self_taught

This repository contains the exercises for "The Self-Taught Programmer: The Definitive Guide to Programming Professionally."
http://theselftaughtprogrammer.io
272 stars 226 forks source link

Code #15

Closed dferona closed 6 years ago

calthoff commented 6 years ago

Hi Dorlee,

Are you reading the paperback or kindle edition?

On Tue, Jan 16, 2018 at 11:12 AM Doralee Ferona notifications@github.com wrote:

Your book is great, but there is always errors running the example codes. You might want to try running the codes again and update your book.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/calthoff/self_taught/issues/15, or mute the thread https://github.com/notifications/unsubscribe-auth/AID8z3qBECbgz50HSTKBG0JeduInI4Uoks5tLPSYgaJpZM4RgR_E .

-- Cory Althoff theselftaughtprogrammer.io

fumbling-fingers commented 6 years ago

Cory,

Great book, but an example of what Dorlee is referring to can be found here: # http:// tinyurl.com/ jjettn2

I am using the Kindle Edition of your book, and the output of this code is:

>> x is not None
>> x is None

whereas the book reports the output as:

>> x is not None
>> x is None :(           <---- Here is the error

There are others and I consider them challenges you throw at us to ensure we are picking up the material. =)

fumbling-fingers commented 6 years ago

Programming can help you in a variety of ways - to name a few, you can use it to:

  1. automate repetitive office tasks
  2. keep time
  3. launch programs
  4. send e-mail and text messages on your behalf
  5. schedule tasks
  6. manipulate images
  7. web scraping (search a site for keywords)
  8. read from, write to, rename or organize multiple files
  9. work with different file formats (.xlsx, .xjl, .json, .pdf, etc.)
  10. or my personal favorite, create a cool project (search for Raspberry Pi Projects online).

I hope you stick with it because like with all things - if you don't use it, you lose it.