Category: Python

  • “Python Workout” is available in print!

    If you’re like a lot of people, you’re able to get things done in Python, thanks to a combination of intuition, searching on Stack Overflow, and messing around. But you don’t feel fluent with the language, in that you’re always wondering just why things work the way they do. The way to overcome this is…

    Read more

  • Level up your Python skills with a supercharged Humble Bundle!

    Want to improve your Python skills? Yeah, I know. Of course you do. Well, then you should grab an amazing deal from Humble Bundle, with content from a bunch of online Python trainers — including me! Buying the bundle not only gives you access to some amazing Python training at a great price. It also…

    Read more

  • “Python Workout” is the Manning “Deal of the Day” for June 7

    Want to improve your Python fluency? You’ll need to practice! My book, “Python Workout,” gives you 50 exercises (+ screencast videos + 200 bonus exercises) to improve your Python programming ability. Just today (June 7th), it’s also Manning’s “Deal of the Day.” So grab it at this special (50% off) price before it’s too late!…

    Read more

  • Reminder: Python for non-programmers continues tomorrow!

    We’re still going with my live, weekly (free) “Python for non-programmers” course. Our next meeting is tomorrow (June 5th) at 10 a.m. Eastern. You can join at https://PythonForNonProgrammers.com/ . If you haven’t yet signed up, it’s not too late! Anyone who signs up gets access to all previous videos, and to our private forum with…

    Read more

  • “Python Workout” is Manning’s Deal of the Day!

    Good news: My book, “Python Workout,” is almost done; I’m working on the videos and final edits, and it’ll soon be available in its final form from Manning, both online and in print. Better news: “Python Workout” is today’s “Deal of the Day,” along with two other Python books: “Data Science Bookcamp” and “Practices of…

    Read more

  • Understanding bitwise operations in Python

    Have you ever wondered about bitwise operations in Python? They’re not that common nowadays, but they are still in the language, and can be useful in some cases. A subscriber to my “Better developers” newsletter asked me to explain these. I made a video doing so: Here’s the Jupyter notebook I used in creating the…

    Read more

  • Today’s lesson in “Python for non-programmers”: Dictionaries

    My free, weekly “Python for non-programmers” course continues! Our topic for today: Dictionaries, the most important data structure in Python. If you’ve always wanted to program, then it’s still not to late to join us. The course is completely free of charge, and gives you free access to the course recordings (including previous lessons), forever…

    Read more

  • Making sense of generators, coroutines, and “yield from” in Python

    Consider the following (ridiculous) Python function: def myfunc(): return 1 return 2 return 3 I can define the function, and then run it. What do I get back? >>> myfunc() 1 Not surprisingly, I get 1 back. That’s because Python reaches that first “return” statement and returns 1. There’s no need to continue onto the…

    Read more

  • Python for non-programmers continues!

    The next session of my free, weekly, live “Python for non-programmers” course continues tomorrow, on May 8th. You can sign up at https://PythonForNonProgrammers.com/. More than 1,700 people from around the world have already joined! This week’s topics are: Turning strings into lists (and vice versa) Tuples Anyone who joins gets access to all previous recordings,…

    Read more

  • Become more fluent with Python functions in just 15 weeks

    A new cohort of Weekly Python Exercise A2 (“Functions for beginners”) starts tomorrow — Tuesday, May 5th. If you’ve been using Python for less than one year, and want to write better, more powerful, more idiomatic functions that do more with less code — then this is the course for you. WPE’s time-tested formula combines…

    Read more