A new cohort of Weekly Python Exercise, my family of courses to improve your Python fluency, starts on November 5th. This time, it’s an advanced-level cohort. We’ll explore topics such as iterators, generators, decorators, objects, and threads. The course’s structure is simple: Every Tuesday, you get a new question, along with “pytest” tests to check…
My native language is English: I grew up speaking it at home and school, and it’s my preference when reading, writing, and speaking. I studied in US schools through 12 grade, and then got both a bachelor’s degree and a PhD at American universities. I’ve been writing for years, including 20 years as a columnist…
Most days, I’m on-site at companies around the world, teaching various Python courses. And by far, the most common question that I get from students is: Once the course is over, how can I keep improving my Python skills? The answer is simple: Practice. Just as you have to practice using a language in order…
As you might know, I’m a panelist on the weekly “Freelancers Show” podcast, which talks about the business of freelancing. The good news: The same company that’s behind the Freelancers Show, Devchat.tv, is putting together a weekly podcast about Python, and I’m going to be on that, too! We’ll have a combination of discussion, interviews…
If you have been using Python, but don’t quite understand how and when to write and use the language’s object-oriented facilities, then I have good news and bad news: Good news: The new cohort of WPE: Beginner objects starts tomorrow, and includes 15 weekly exercises about classes, objects, instances, methods, attributes, and other Python object…
When it comes to variables, Python has a well-known search strategy, known by the acronym “LEGB.” Whenever you mention a variable — and by “variable,” I mean a name that could be referencing data, a function, or a class — Python tries to find it in four different places: The local (function) scope, the enclosing…
I’ve found that many Python developers are confused by object-oriented programming in the language: Newcomers to programming are confused by object-oriented ideas and terminology, while Veteran programmers are surprised and confused by how Python objects work No matter which camp you’re in, I have good news for you: Weekly Python Exercise will be starting a…
Want to improve your Python fluency? There’s no better way than doing exercises, practicing your Python skills and ensuring you understand how to solve problems in the best possible way. My book, “Python Workout,” not only contains 50 of my favorite exercises from my Python training business (at some of the world’s best-known companies), but…
The biggest problem with software today isn’t writing code. It’s maintaining — debugging, improving, and expanding — existing code. It’s hard to maintain someone else’s code. Heck, it’s even hard to maintain your own code. (Who among us hasn’t looked at code and said, “Who was the idiot who wrote this… oh, it was me…”?)…
I’m delighted to announce that Weekly Python Exercise is a gold sponsor of PyCon 2020, to be held in Pittsburgh, Pennsylvania. PyCon is the largest Python conference in the world, and is both fun and interesting for Python developers of all experience levels and backgrounds. This will be the second year in a row sponsoring…