pybites's profile picture. Helping people worldwide to improve their #Python + #developer + #mindset skills.
Created by @bbelderbos & @juliansequeira.
Join us: http://pybit.es/community/

Pybites

@pybites

Helping people worldwide to improve their #Python + #developer + #mindset skills. Created by @bbelderbos & @juliansequeira. Join us: http://pybit.es/community/

Pinned

Yes that's right! Join our weekly newsletter and you'll get 250 real-world practical #python tips for free! 🐍 🔥 📈

This post is unavailable.

Pybites reposted

I solved a Bite today and used collections.Counter() 🙂 Good reminder: the right data structure saves a lot of code. 🐍 In this case: apart from a small helper function, you get the top stock by symbol using most_common() Clean, fast, readable. 🚀

bbelderbos's tweet image. I solved a Bite today and used collections.Counter() 🙂

Good reminder: the right data structure saves a lot of code. 🐍

In this case: apart from a small helper function, you get the top stock by symbol using most_common()

Clean, fast, readable. 🚀

Pybites reposted

TIL #Python 3.14 comes with uuid6 and -7 And really nice: since 3.12 the uuid module can be executed as a script from the command line 📈 - so with a bit of uv we get to a pretty powerful command 😍 👇

bbelderbos's tweet image. TIL #Python 3.14 comes with uuid6 and -7

And really nice: since 3.12 the uuid module can be executed as a script from the command line 📈 - so with a bit of uv we get to a pretty powerful command 😍 👇

Pybites reposted

New @pybites Podcast episode out -> #204: The science of open science - with Leah Wasser, founder of pyOpenSci youtu.be/9jyYV3G2xu8?si…

bbelderbos's tweet card. Pybites Podcast 204: The science of open science - with Leah Wasser,...

youtube.com

YouTube

Pybites Podcast 204: The science of open science - with Leah Wasser,...


Pybites reposted

To better grasp this, you have to become practical.💡 Join our upcoming @pybites Rust 🦀 Cohort (co-hosted with @jhodapp) and write a blazing-fast JSON parser 🤯 in Rust, then plug it into Python using PyO3. Seats limited, let's get hands-on 👉 scriptertorust.com 📈


Pybites reposted

Curious how to run #Rust in #Python? 🚀 Why mix them? Get the best of both worlds: Python’s simplicity 🐍 + Rust’s speed & safety 🦀 With PyO3 + Maturin, it’s easy: write Rust, let PyO3 handle bindings, then import it like any Python mod. Serious speed gains, no C extensions.


Pybites reposted

The #Rust 🦀 borrow checker blew my #Python 🐍 mind. You can have many immutable refs (&T) or one mutable ref (&mut T), but never both! It feels strict at first, yet gives you speed and safety. 📈 Rust enforces the discipline Python trusts you with. 💡💪


🎉 🚀

Excited to announce I am co-hosting our very first #Rust cohort program with @jhodapp in ~2 weeks. 😍 🎉 Why Rust 🦀 is an awesome next step for #Python programmers 💡 📈 ->

bbelderbos's tweet image. Excited to announce I am co-hosting our very first #Rust cohort program with @jhodapp in ~2 weeks. 😍 🎉

Why Rust 🦀 is an awesome next step for #Python programmers 💡 📈 ->


Pybites reposted

Which is the best source for learning Python? 🧐


Pybites reposted

Using the right data structure matters💡 > "Popping from the left on a deque is an O(1) operation, whereas it is an O(n) operation on a list. In the case of the list, after popping from the left, every subsequent element must be moved one to the left, making it inefficient"


Pybites reposted

Itertools, the gift that keeps giving! 😍 Since #Python 🐍 3.12 you don't have to write your chunking helper anymore, just use `batched` - see docs:

bbelderbos's tweet image. Itertools, the gift that keeps giving! 😍

Since #Python 🐍 3.12 you don't have to write your chunking helper anymore, just use `batched` - see docs:

Excited as we are to try out Pydantic AI? What's your experience so far, what do you use it for?


Pybites reposted

If I got this question, I'd say: Python is about the most versatile and omnipresent programming language that's out there. So it's a naturally good choice to pick up some coding skill.

why you choose python? (good choice btw)



New episode: Transforming military discipline into Python skills with PDI 🎧 🐍 💪

Exciting new @pybites podcast episode with Christina Lang to talk about her journey as developer + practical mindset tips -> youtube.com/watch?v=EXfod6…

bbelderbos's tweet card. Pybites Podcast 201: Transforming military discipline into Python...

youtube.com

YouTube

Pybites Podcast 201: Transforming military discipline into Python...



Loading...

Something went wrong.


Something went wrong.