PyTricks

Newsletter Image

Messages

5/8/2020
9 : 6

5 tweaks for your Python dev setup you should make today

Hey Reader, I've been using the Sublime Text editor for almost 4 years now in my Python development workflow— And I think it's an *amazing* combo. There are many other editors and IDEs
5/8/2020
7 : 6

[🐍PyTricks]: Functions are first-class citizens in Python

# Functions are first-class citizens in Python. # They can be passed as arguments to other functions, # returned as values from other functions, and # assigned to variables and stored in data
5/6/2020
8 : 36

Action Required: Confirm your dbader.org subscription

Hey there, Receive the dbader.org Python newsletter and get notified about new tutorials we publish on the site, as well as occasional special offers. Confirm subscription — Dan Bader To make sure you
5/5/2020
4 : 6

Why you need an efficient Python development setup

Hey Reader, What many Python developers don't realize is how much having a smooth development setup impacts their productivity. It takes hard and painstaking work to get a great setup for writing
5/4/2020
4 : 6

Can I ask a favor?

Hey there, it's Dan... I noticed that you decided to pass on Managing Python Dependencies with Pip and Virtualenv—that's totally cool. I'm wondering if you could help me out by answering
5/4/2020
2 : 6

[🐍PyTricks]: "is" vs "=="

# "is" vs "==" >>> a = [1, 2, 3] >>> b = a >>> a is b True >>> a == b True >>> c = list(a) >>> a == c True >>> a is c
5/3/2020
6 : 36

When is Python the right choice?

Hey Reader, When I grew up in Germany as a kid there was this craze about “desks that can grow with you.” The idea was you'd buy your kid an adjustable desk and then they'd be able to use it
5/2/2020
14 : 7

time's up

Hey Reader, This is it— There's still time to save 20% on Managing Python Dependencies. But the bad news is, this deal is ending NOW. If you're still wondering if the course is right for you,
5/2/2020
4 : 6

What Python developers say

Hey Reader, I wanted to share a few things that other Python developers have said about Managing Python Dependencies With Pip And Virtual Environments. Here's what the Python community had to say:
5/1/2020
4 : 6

Q&A about Managing Python Dependencies

Hey Reader, After the announcement went out yesterday about the sale on my Managing Python Dependencies with Pip and Virtual Environments course, some of you emailed me with a bunch of questions about
5/1/2020
2 : 6

[🐍PyTricks]: A Python riddle – What will this strange dict expression evaluate to?

# Python Riddle: 👻 it is a mystery # What will this expression evaluate to? >>> {True: 'yes', 1: 'no', 1.0: 'maybe'} Curious how/why this works? Learn more here: dbader
4/30/2020
4 : 6

My "Managing Python Dependencies" course is on sale (20% savings + bonuses inside)

Managing Python Dependencies with Pip and Virtual Environments: The Complete Course Click here to save 20% (and get extra bonuses) Hey Reader, Back when I got "serious" about building my
4/28/2020
4 : 6

[Python Dependency Pitfalls] The Iceberg

Hey Reader, The other day I read this quote from a Python developer that made me stop and think: "As a noob with a little programming knowledge already, I've found setting up and installing
4/28/2020
2 : 6

[🐍PyTricks]: Python's shorthand for in-place value swapping

# Why Python Is Great: # In-place value swapping # Let's say we want to swap # the values of a and b... a = 23 b = 42 # The "classic" way to do it # with a temporary variable: tmp = a a =
4/27/2020
4 : 6

[Python Dependency Pitfalls] "Re-inventing the wheel" disease

Hey Reader, PyPI, the Python packaging repository, now contains more than 100000 third-party packages in total. That's an *overwhelming* number of packages to choose from... And this feeling of
4/26/2020
4 : 6

[Python Dependency Pitfalls] Artisanal "from-scratch" development

Hey Reader, The other day I got this question from Newsletter member Newvick in my email inbox: ~~~ I'm trying to get past the beginner's stage in Python and one problem I have is: When do you
4/25/2020
4 : 6

[Python Dependency Pitfalls] What dev managers expect from Python candidates

Hey Reader, My friend Og is a senior manager at Red Hat and works with a large team of developers and quality engineers using Python. I got to pick his brain on what he thought were the most important
4/25/2020
2 : 6

[🐍PyTricks]: Measure the execution time of small bits of Python code with the "timeit" module

# The "timeit" module lets you measure the execution # time of small bits of Python code >>> import timeit >>> timeit.timeit('"-".join(str(n) for n in range(
4/24/2020
6 : 36

A story about Python mastery

Hey Reader, A couple of years ago I'd become quite interested in martial arts. Hours upon hours of watching "The Karate Kid" growing up must've taken their toll on me... And so, I
4/24/2020
4 : 6

[Python Dependency Pitfalls] How to set the world on fire

Hey Reader, #1 on my list of dependency management pitfalls is there for a good reason: It lead to a single developer causing mayhem and breaking thousands of open-source projects around the world in