python

Back Open Paginator
11.03.2026 17:40
lobsters (@lobsters@mastodon.social)

Okmain: you have an image but you want a colour lobste.rs/s/t43mh5
dgroshev.com/blog/okmain/




Show Original Post


11.03.2026 17:30
Reuven (@Reuven@fosstodon.org)

Want to read a non-text file with #Python? Specify "rb", for "read binary," to avoid errors.

t = open('myfile.zip').read() # error
t = open('myfile.zip', 'rb').read() # works!

What is t? A *byte* string, not a regular text string.

>>> type(t)
<class 'bytes'>





Show Original Post


11.03.2026 17:27
247CodeGirl (@247CodeGirl@mastodon.social)

Season 1 Lesson 8 Part 1 - Your First Steps Ceate a Microsoft Word Doc in Python





Show Original Post


11.03.2026 17:13
astraluma (@astraluma@tacobelllabs.net)

TIL that pip grew an experimental lock command.

The age of project dep tools might be coming to an end.

#Python




Show Original Post


11.03.2026 17:06
jobsfordevelopers (@jobsfordevelopers@mastodon.world)

Aircall is hiring Senior Software Engineer, Applied AI

🔧 #golang #python #seniorengineer
🌎 Seattle, Washington
⏰ Full-time
🏢 Aircall

Job details jobsfordevelopers.com/jobs/sen
#jobalert #jobsearch #hiring




Show Original Post


11.03.2026 17:03
RodStephens (@RodStephens@hachyderm.io)

Find a closed knight's tour in Python

rodstephensbooks.com/knights_c

#Python #Algorithms #KnightsTour #Recursion





Show Original Post


11.03.2026 17:01
gtronix (@gtronix@infosec.exchange)

"Fedora 44 beta debuts with Linux 6.19 kernel, GNOME 50, KDE Plasma 6.6 & installer updates"

"This release is built on theLinux 6.19 kernel, and features the latest desktop environments, GNOME 50 andKDE Plasma 6.6. Fedora44 beta is now available, bringing major updates to this well-known Linux distribution."

alternativeto.net/news/2026/3/

#Linux #Fedora #Python #Django #KDE




Show Original Post


11.03.2026 17:00
PythonPeak (@PythonPeak@mastodon.social)

How to Make str.split Lie With One Space

split() splits ALL whitespace. split(' ') splits only spaces. Tabs and newlines behave differently.

#python #split #whitespace #howto #stringbug

youtube.com/watch?v=9tAZHxd_K-Y




Show Original Post


11.03.2026 16:57
sandmouth (@sandmouth@types.pl)

Refinement Modeling and Verification of RISC-V Assembly using Knuckledragger
philipzucker.com/refine_assemb #assembly #riscv #formalmethods #python with video youtube.com/watch?v=NQGh8rs6Fk8




Show Original Post


11.03.2026 16:32
Skalad (@Skalad@mastodon.social)

Second meeting for our "health check" with this particular SaaS and all we have determined is that neither I nor my boss have access to all of the accounts. Rather than my boss reading out the account code numbers from his access list while I look for the same in my list (especially since HE doesn't have access to all of them) - 11 lines of (plus the copy/paste of our dashboard views) and some prints out the list of offending accounts without any fuss.




Show Original Post


11.03.2026 15:44
Posit (@Posit@fosstodon.org)

The March edition of posit::glimpse() is here! 🚀

Key updates include Posit AI, a new assistant in RStudio, Pointblank for synthetic data for #Python, mirai v2.6.0: 50% faster async #RStats ⚡, Positron's PDF viewer + Jupyter support, and more.

Read the full roundup:
posit.co/blog/glimpse-newslett




Show Original Post


11.03.2026 15:37
treyhunner (@treyhunner@mastodon.social)

New article on making "friendly" classes in .

The TL;DR is that a friendly class has sensible versions of:

1. a __init__ method
2. a __repr__ method
3. (Often) a __eq__ method

pym.dev/friendly-classes/




Show Original Post


1 ...343 344 345 346 347 348 349 350 351 352 353 ...1593
UP