Rickard Lindberg | Blog | Projects
All Posts | 2024 | 2024-11 | 2024-11-03 | All Bibs | All Tags | #microblogimport

Written by Rickard Lindberg .

How would you improve this code?

python def update_r_users(service) r_users = [] for user in service.get_all_users(): if "r" in user: r_users.append(user) service.set_users_in_group("users_with_r_in_name", r_users)

Find out what I did it in my latest newsletter.

What is Rickard working on and thinking about right now?

Every month I write a newsletter about just that. You will get updates about my current projects and thoughts about programming, and also get a chance to hit reply and interact with me. Subscribe to it below.

Powered by Buttondown (My Newsletter)

I'm Rickard Lindberg from Sweden. This is my home on the web. I like programming. I like both the craft of it and also to write software that solves problems. I also like running.

Me elsewhere: GitHub, Mastodon.