Python

!python

@programming.dev
Create post
Lesser known parts of Python standard library

Lesser known parts of Python standard library

Open link in next tab

Lesser known parts of Python standard library – Trickster Dev

https://www.trickster.dev/post/lesser-known-parts-of-python-standard-library/

Code level discussion of web scraping, gray hat automation, growth hacking and bounty hunting

Any advice on picking a Python language server for emacs?

Any advice on picking a Python language server for emacs?

Hi, folks!

I'd like to set up my emacs with lsp-mode and lsp-ui, but I am finding myself in some analysis paralysis. Ruling out the Palantir language server because it's deprecated and because it's Palantir, that still leaves me with five language server recommendations from lsp-mode.

Anybody have any opinions they'd like to share? Any really bad experiences I should avoid? How do I configure your favorite? (Feel free to assume I know very little about configuring emacs.)

If it makes a difference, I am a poetry user and a religious mypy --strict user.

Thanks in advance!

Confused about multiplying floating-point & integer values

Confused about multiplying floating-point & integer values

Open link in next tab

- YouTube

https://youtu.be/wgkC8SxraAQ?si=8Mf45sBKo4BR-qX5&t=315

Aproveite vídeos e músicas que você ama, envie e compartilhe conteúdo original com amigos, parentes e o mundo no YouTube.

ELI5 Using python virtual environment in docker container.

ELI5 Using python virtual environment in docker container.

I read some articles about using a virtual environment in Docker. Their argument are that the purpose of virtualization in Docker is to introduce isolation and limit conflicts with system packages etc.

However, aren't Docker and Python-based images (e.g., python:*) already doing the same thing?

Can someone eli5 this whole thing?

Why I Still Use Python Virtual Environments in Docker

Why I Still Use Python Virtual Environments in Docker

Open link in next tab

Why I Still Use Python Virtual Environments in Docker

https://hynek.me/articles/docker-virtualenv/

Whenever I publish something about my Python Docker workflows, I invariably get challenged about whether it makes sense to use virtual environments in Docker containers. As always, it’s a trade-off, and I err on the side of standards and predictability.

The Design & Implementation of the CPython Virtual Machine

The Design & Implementation of the CPython Virtual Machine

Open link in next tab

The Design & Implementation of the CPython Virtual Machine

https://blog.codingconfessions.com/p/cpython-vm-internals

A deep dive into CPython's bytecode instruction format and execution engine internals

500 Python Interpreters

500 Python Interpreters

Open link in next tab

Attention Required! | Cloudflare

https://izzys.casa/2024/08/463-python-interpreters/

A post by Guido van Rossum removed for violating Python community guidelines

A post by Guido van Rossum removed for violating Python community guidelines

Open link in next tab

Should we consider Ranked Choice voting for SC elections?

https://discuss.python.org/t/should-we-consider-ranked-choice-voting-for-sc-elections/61880

Speaking for myself: Summary I propose changing our Steering Council election process from simple approval voting to a ranked choice system to better capture voter preferences and provide more meaningful feedback to candidates. I want your input to know if this is worth pursuing. Background Our PEP-13 voting method has remained unchanged since late 2019. While functional, the simple approval voting system has limitations we should address. Current Limitations No Preference Expression: Voter...

CircuitPython: Python for microcontrollers, simplified

CircuitPython: Python for microcontrollers, simplified

Open link in next tab

CircuitPython: Python for microcontrollers, simplified [LWN.net]

https://lwn.net/Articles/983870/

Layman's Guide to Python Built-in Functions · Matt Layman

Layman's Guide to Python Built-in Functions · Matt Layman

Open link in next tab

Layman's Guide to Python Built-in Functions · Matt Layman

https://www.mattlayman.com/blog/2024/layman-guide-python-built-in-functions/

This is a plain language guide to every built-in function in Python, paired with a simple example that shows each function in action.