Live webcasts for #Python developers. Tweets by @treyhunner.

Joined April 2016
Include

Only show posts containing:

Exclude

Hide posts containing:

Time range
-
Minimum likes
Python Chat retweeted
Does your company have an individual training budget that expires at the end of year? 💸 If you use #Python at work, sign up for the @PythonMorsels All Access plan and submit your training reimbursement before year end. 🐍💼 pythonmorsels.com/all-python…
1
3
4
Python Chat retweeted
Managing a #Python team and want to chat about your team's skill trajectory? I have ideas & opinions! I'd love to chat about: 1. On-boarding new hires 📋 2. Fostering kind code style discussions 🐕 3. Learning from each other regularly 👩‍🏫 4. Team learning in general 🤔 DM me 💬
2
8
Python Chat retweeted
When we use keyword/named arguments, it's the name that matters, not the position Read the full article: Keyword (Named) Arguments in Python: How to Use Them ▸ trey.io/U92hu3 #Python
2
3
We have immutable objects in Python but we don't have constant variables. The UPPERCASE_CONVENTION for constants is just a naming convention in #Python. It doesn't stop variables from being re-assigned. pythonmorsels.com/topics/pyt…
Checking an object's truthiness checks for non-emptiness and non-zero-ness. FYI: the #Python docs don't mention "truthy" or "falsey" even once. The docs call it "truth value testing" but Pythonistas rarely use that phrase colloquially. pythonmorsels.com/topics/tru…
1
1
Python Chat retweeted
You can think of truthy as meaning non-empty or non-zero Read the full article: Check Whether All Items Match a Condition in Python ▸ trey.io/6oLi1Z #Python
Python Chat retweeted
When teaching Python, I've often wished I had a summary of the various keyword argument-related features that I could link learners to. Read the full article: Keyword (Named) Arguments in Python: How to Use Them ▸ trey.io/U92hu3 #Python
6
12
Python Chat retweeted
Note that because our generator is lazy, we stop computing divisibilities as soon as our all function finds a divisible number. Read the full article: Check Whether All Items Match a Condition in Python ▸ trey.io/6oLi1Z #Python
2
2
Python Chat retweeted
That's quite a bit shorter, but there's a problem: we're building up an entire list just to loop over it once! Read the full article: Check Whether All Items Match a Condition in Python ▸ trey.io/6oLi1Z #Python
4
5
Python Chat retweeted
Interesting metaclass-powered #pythonoddity
This quoted post is unavailable.
3
4
Python Chat retweeted
Python has a built-in function "all" that returns True if all items are truthy Read the full article: Check Whether All Items Match a Condition in Python ▸ trey.io/6oLi1Z #Python
1
7
2
14
Functions in #Python accept positional arguments 🔢 and keyword arguments 📛 (aka named arguments). Using keyword arguments when calling a function can often make your code a bit more descriptive. pythonmorsels.com/topics/pos…
8
7
A back-to-basics Python screencast this week 🎥 A 2 minute video on how to use (call) a function in #Python 📞🐍 pythonmorsels.com/topics/cal…
3
5