I don’t even feel like I’ve scratched the surface of what I can do with Python

Python Tricks: The Book is available at a 33% discount
Click here to learn more and claim your discount

Hey Reader,

There’s a talented Python web developer I know of—I’ll call him “Mark”.

Mark’s a self-taught programmer and fledgling Pythonista, and he’s working hard to grow his skills. He’s grateful for his coding job and came to Python from far lands of Java and .NET.

Thanks to the internet and Stack Overflow he made amazing progress ramping up his Python skills early on.

But lately Mark has gotten himself stuck in a “Valley of Despair”—where learning progress is… slow… as… molasses…

It didn’t look like it in the beginning, but picking up the basics of Python was the easy part. What was a quick learning curve initially has completely petered out as of late.

Now of course, Mark still enjoys working with Python—it’s a beautiful programming language, after all. (One of my coworkers used to call it The Language of the Gods.)

But it’s tough feeling confident using Python when it seems like he’s forever stuck at a basic level of proficiency.

I mean, it’s fairly easy for him to come up with working solutions to most problems he faces with Python—

But there’s no roadmap for Mark to take his Python skills to the next level…

He doesn’t know what Python features and “hidden gems” are available that might be useful.

And that makes it so challenging—learning how to integrate all the pieces of the puzzle:

“I’ve been coding in Python full-time for a year and still don’t feel like I have any idea what I’m doing.”

A mindset of constant improvement and wanting to master the art of programming is really what drives Mark.

Yet, reading the technical documentation for everything would take up too much work during his day job…with his boss breathing down his neck.

Also, technical docs rarely seem to include the clear use cases and examples he so desperately wants.

Mark has discovered a few lesser-known features in Python that boosted his productivity, but again hunting those tricks down on forums and Stack Overflow sucks up too much of his productive time.

There’s not enough curation.

And now Mark’s dream of mastering Python is slowly withering away…

I totally identify with Mark, because a few years ago, that was me.

I’ve been writing code for more than 15 years now.

Mastering Python has been (and still is) a huge motivation for me in my career as a software developer.

I’m sharing Mark’s story with you because I’ve experienced similar struggles trying to grow my own Python skills.

I’ve dedicated the last several months of my professional life helping other Python developers overcome those struggles.

Not too long ago I discovered a fun & effective technique to teach developers the best practices and skills for writing clean and beautiful Python, in bite-sized chunks.

I called this technique Python Tricks.

“Python Tricks” started out as a short series of Python code screenshots that I shared on Twitter for a week —

To my surprise, they got a raving response and were shared and retweeted for days on end. Python developers around the world loved them.

These short-and-sweet code examples seemed worth exploring as a teaching tool…

Over the next days and weeks, a steady stream of Python developers reached out to me. They thanked me for making an aspect of Python they were struggling to understand click for them.

They found immense value in these “Python Tricks”, and told me how they helped get their learning progress unstuck and brought them back on the path to Python mastery.

Hearing this feedback felt awesome. These Python Tricks were “just code screenshots”, I thought.

But so many Python developers loved them—

So simple, yet so valuable.

As more and more developers signed up to receive my Python Tricks emails, I started noticing a pattern in the replies and questions I got:

Some Python Tricks worked great as motivating examples by themselves—but for the more complex ones there was no narrator to guide readers, no one to give them additional resources to develop a deeper understanding.

I realized that sometimes “just a code screenshot” isn’t enough to explain a cool Python feature.

These early Python Tricks we’re valuable, but also ultimately flawed.

Now Python Tricks is back with with a vengeance —

I took the best and most popular Python Tricks (+ brand new ones!) from the original series and started writing a new kind of Python book around them. It's called:

Python Tricks: The Book
A Buffet of Awesome Python Features

You can still get in on the 33% OFF early access discount today.

See the link below to learn more:

>> Click here to discover awesome new Python features (and get a 33% discount)

— Dan Bader

Older messages

[🐍PyTricks]: You can use "json.dumps()" to pretty-print Python dicts

Sunday, April 19, 2020

... (as an alternative to the "pprint" module) # The standard string repr for dicts is hard to read: >>> my_mapping = {'a': 23, 'b': 42, 'c': 0xc0ffee} >

[Python Mastery] What Pythonistas can learn from bestselling authors

Friday, April 17, 2020

Hey Reader, I just finished reading Stephen King's "On Writing." It's a great little book where he shares some of the writing advice and stories he's picked up over the course of

[🐍PyTricks]: Try running "import this" inside a Python REPL ...

Thursday, April 16, 2020

>>> import this The Zen of Python, by Tim Peters Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is

[Python Mastery] Learn Python in 21 days!!!!11 (what a lie)

Wednesday, April 15, 2020

Hey Reader, One of the first programming books I ever bought was "Teach Yourself C in 21 Days." This four pound tome came with a CD-ROM that included an ancient version (3.1) of the Borland

[Python Mastery] The secret to "ethical self-promotion"?

Tuesday, April 14, 2020

Hey Reader, Here's some food for thought: There's a difference between *doing* a great job as a Python developer, and *to be seen doing* a great job. Being a skilled developer among peers—and

You Might Also Like

Software Testing Weekly - Issue 220

Saturday, May 18, 2024

Software Testing Conferences 📚 View on the Web Archives ISSUE 220 May 18th 2024 COMMENT Welcome to the 220th issue! Have you ever been to a testing conference? They're a great way to learn about

📶 Is a Cellular iPad Worth It? — How to Prevent YouTube From Taking Over Your Screensaver

Saturday, May 18, 2024

Also: This Robot Vacuum Can Clean Stairs, and More! How-To Geek Logo May 18, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your inbox by

Weekend Reading — Objection-oriented programming

Saturday, May 18, 2024

This week we find a power-up box, replace GitHub Actions with Maven XMLs, avoid the worst website in the world, revisit RTO policies, “listen” to OpenAI employees, watch our Slack private messages, do

Daily Coding Problem: Problem #1445 [Easy]

Saturday, May 18, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Jane Street. The United States uses the imperial system of weights and measures, which

You don’t have to take our word for it…

Saturday, May 18, 2024

You can probably tell how excited we are to re-launch our Gigantic courses – which bring on-demand product management training for today's modern Product Managers and Product Leaders. In fact, we

🐍 New Python tutorials on Real Python

Saturday, May 18, 2024

Hey there, There's always something going on over at realpython.com as far as Python tutorials go. Here's what you may have missed this past week: What Is the __pycache__ Folder in Python? In

Visualized | Life Expectancy by Region (1950-2050F) 📊

Saturday, May 18, 2024

This map shows life expectancy at birth for key global regions, from 1950 to 2050F. View Online | Subscribe Presented by Voronoi: The App Where Data Tells the Story FEATURED STORY Life Expectancy by

New Wi-Fi Vulnerability Enables Network Eavesdropping via Downgrade Attacks

Saturday, May 18, 2024

THN Daily Updates Newsletter cover The DevSecOps Playbook: Deliver Continuous Security at Speed ($19.00 Value) FREE for a Limited Time A must-read guide to a new and rapidly growing field in

🐍 New Python tutorials on Real Python

Saturday, May 18, 2024

Hey there, There's always something going on over at realpython.com as far as Python tutorials go. Here's what you may have missed this past week: What Is the __pycache__ Folder in Python? In

Toward 'local' AI w/ Apple's new chip

Saturday, May 18, 2024

faster than the cloud ☁️ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌