python

Back Open Paginator
12.03.2026 20:00
bruno (@bruno@cesar.rocha.social)
Today was my last day working at #Ansible
after amazing 5 years dedicating to large scale web development for Ansible Automation Platform with focus on #Python and #Django and distributed systems.

I am taking 20 days off 🌴 and then starting my new role as a Principal Software Engineer at the #Openshift #Container Platform focusing on #golang #cloud #infrastructure #kubernetes #k8s

Same company! #RedHat is amazing! just a different challenge for at least the next 5 years I wish.



Show Original Post


12.03.2026 19:56
bruno (@bruno@go.rocha.social)

Hoje foi meu último dia no Ansible :ansible:

Um misto de sentimentos, difícil deixar uma organização com 240 colegas com quem trabalhei junto nos últimos 5 anos.

Mas, ao mesmo tempo estou animado para ficar 20 dias off e depois começar no novo time.

Nunca imaginei que após tantos anos (20!) me dedicando a web development e #python :python: :django: :flask: eu iria migrar para uma posição onde vou trabalhar com #go :go: :golang: e infraestrutura #devops :k8s: #k8s

Preciso de um emoji do #openshift




Show Original Post


12.03.2026 19:21
treyhunner (@treyhunner@mastodon.social)

Python Tip #71 (of 365):

Print non-standard output to standard error

Python's print function writes to the "standard output" stream by default.

But terminals have a second output stream that also writes to the screen: standard error.

Standard error is most often used for:

- error messages
- diagnostic output
- output that shouldn't be mixed in with the rest of the program's output

🧵 (1/2)

#Python #DailyPythonTip




Show Original Post


12.03.2026 18:58
brass75 (@brass75@twit.social)

A colleague of mine was shocked to learn that `del obj` doesn't actually delete the object, just the reference to it. So if you do:

x = obj
y = obj
del x

y and obj still exist with y referencing obj. x no longer exists.

#Python




Show Original Post


12.03.2026 18:55
247CodeGirl (@247CodeGirl@mastodon.social)

Season 1 Lesson 8 Part 3 - Your First Steps Ends with is Super Useful Function in Python





Show Original Post


12.03.2026 18:27
Reuven (@Reuven@fosstodon.org)

How many missile alerts does Israel receive each day? How long have they lasted? What hours are most common? And what cities have been alerted the most?

In the latest Bamboo Weekly, we explore all of this with #Python and #Pandas. Level up your data skills on current events!

Read more at BambooWeekly.com





Show Original Post


12.03.2026 18:23
mathsppblog (@mathsppblog@fosstodon.org)

#Python decorators blueprint: a step by step explanation of the full decorator anatomy.

Steal this for when you're writing your own decorators.





Show Original Post


12.03.2026 18:18
ubuntu_touch (@ubuntu_touch@mstdn.social)

Ultra maratón de 100 kilómetros

#Energia #Potencia #Eficiencia #Running #Correr
#CostaRica Costa Rica #python software sostenible





Show Original Post


12.03.2026 17:51
guiadeti (@guiadeti@flipboard.social)

Minicurso de Jogos com Python Gratuito: Aprenda a Criar um Game do Zero

guiadeti.com.br/minicurso-jogo

#criacaodejogos #cursogratis #cursopython #desenvolvimentodejogos #jogoscompython #programacao #programacaoiniciante #python #tecnologia
guiadeti.com.br/minicurso-jogo




Show Original Post


12.03.2026 17:49
notthatdelta (@notthatdelta@furry.engineer)

Saved a Lenovo 20TG from the dump a couple weeks ago. Wiped and installed Linux Mint, which works well for the most part. There's not much Linux support for the external eink display, but I did find a driver here: github.com/LizardKing00/thinkb

Now, this driver comes with a system monitor tool, but I wanted the orientation flipped around AND some furry art on there (what's the point of a display if it's not showing furry art, I ask you). Fortunately, the driver also comes with a tool to send over a static image to the display. Wrote a kludgy little python script to grab some system info using inxi, then write that to a template image (containing furry art, yay) rotate the image, and use the setbackside utility from the above driver to shoot the image over to the eink display.

It's not pretty right now, because I don't know how UIs work. It's also pretty slow, but I can still get about 10fps which is solid for an eink display!

#lenovo #eink #furryart #furry #linux #python





Show Original Post


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

A classic #Python mistake: What's wrong with this code?

s = 'What's your name?'

The string uses '' as delimiters. But it also contains a ' inside. Solutions:

s = "What's your name?" # Delimit with ""
s = 'What\'s your name?' # Escape literal ' with \





Show Original Post


12.03.2026 17:15
patrice (@patrice@pouet.chapril.org)

@Glyg Pas mal du tout ce #LinkML, je ne connaissais pas et c'est super efficace. Je pense que je vais l'adopter pour mes projets (et comme j'ai décidé de travailler avec #Python et #Streamlit ça va bien dans ce sens).




Show Original Post


1 ...338 339 340 341 342 343 344 345 346 347 348 ...1593
UP