pybites Profile Banner
Pybites Profile
Pybites

@pybites

Followers
31K
Following
16K
Media
1K
Statuses
12K

Helping people worldwide to improve their #Python + #developer + #mindset skills. Created by @bbelderbos & @juliansequeira. Join us: https://t.co/3aXqzdlZWx

Worldwide
Joined December 2016
Don't wanna be here? Send us removal request.
@pybites
Pybites
2 years
Yes that's right! . Join our weekly newsletter and you'll get 250 real-world practical #python tips for free! . 🐍 🔥 📈.
1
6
22
@pybites
Pybites
2 days
You can use enums to group #python constants:.
1
0
4
@pybites
Pybites
11 days
New episode: Transforming military discipline into Python skills with PDI 🎧 🐍 💪.
@bbelderbos
Bob Belderbos
11 days
Exciting new @pybites podcast episode with Christina Lang to talk about her journey as developer + practical mindset tips ->
0
0
2
@pybites
Pybites
11 days
RT @bbelderbos: Transform Your Developer Mindset in Our PDM Program via @YouTube.
0
1
0
@pybites
Pybites
19 days
Did you know that pathlib has a nice abstraction to read / write files? . I mean, it uses a `with` statement under the hood of course, but you only have to call a method 🐍 😍 📈. #python #tips
Tweet media one
0
1
8
@FDSportsbook
FanDuel Sportsbook
22 days
Kick off football season with an offer you're not gonna wanna miss on FanDuel!.
40
15
274
@pybites
Pybites
20 days
In case you missed it ->.
@charliermarsh
Charlie Marsh
22 days
I went on Pybites last week to talk about ty, our Python type checker and language server.
0
0
5
@pybites
Pybites
20 days
Caching is so easy in #Python, just use this decorator. 😍. Also notice how big of a difference it can make in performance! 📈. Bonus: how to use timeit 🐍
Tweet media one
1
2
4
@pybites
Pybites
20 days
`.split()` turns a string into a list, by default it splits by space, so here we can easily turn a string of first names into a list:. #python #tips
Tweet media one
0
0
1
@DJTFentanylFree
Make America Fentanyl Free
7 days
Make America Fentanyl Free supports President Trump’s efforts to end the fentanyl crisis.
77
64
536
@pybites
Pybites
21 days
Need to swap two variables in #Python? . No problem! Just one line of code using tuple unpacking 🐍 😍 📈
Tweet media one
0
2
2
@pybites
Pybites
21 days
New social buttons added - please share when you finish Bites on our platform, we'd love to see your progress! 🐍 😍 📈
Tweet media one
0
1
1
@pybites
Pybites
21 days
Sentiment analysis in 2 lines of code:. #python #tips
Tweet media one
0
1
4
@pybites
Pybites
22 days
Did you know that by adding `__enter__` and `__exit__` to a class, you can turn it into a context manager? 🐍 💡. Here’s an example where a transaction automatically rolls back if the balance goes negative—ensuring safer operations. 🚀. 🔹 Entering the context saves the current
Tweet media one
2
1
8
@pybites
Pybites
22 days
Did you know that you can use difflib for fuzzy (or “good enough”) searching? Django's actually uses this! 🐍 😍 📈. #python #tips
Tweet media one
1
2
1
@pybites
Pybites
22 days
RT @tdhopper: The recent @pybites podcast with @charliermarsh has some great insight on features of the ty typechecker:. * Incremental anal….
0
3
0
@pybites
Pybites
22 days
Did you know that >= #Python 3.10 you can use itertools.pairwise() to iterate over a numbers in pairs. No more zip (built-in) with slicing - this is more readable / intuitive:
Tweet media one
1
2
7
@pybites
Pybites
25 days
How Astral's Team Puts Extra Care Into Rich Error Reporting in Their New Type Checker . #python #rust #tools.
0
1
2