python

Back Open Paginator
02.09.2025 22:18
notes (@notes@peculiar.florist)

A bit of computer history?

www.youtube.com/watch?v=GfH4QL4VqJ0

via Korben
#Python #NerdDocumentary




Show Original Post


02.09.2025 21:46
pybeach (@pybeach@fosstodon.org)

Introducing #PyBeach 2025 Speaker: Brett Slatkin

2025.pybeach.org/speakers#bret

Talk: Patterns and Anti-patterns in Python's Structural Pattern Matching

Know when and how to effectively use Python's "match" statement, or how to make your code more readable? Come find out!

Sept 27, 2025 in Santa Monica, CA
#Python




Show Original Post


02.09.2025 21:43
Searge (@Searge@hachyderm.io)

Python: The Documentary
An origin story featuring @gvanrossum

youtu.be/GfH4QL4VqJ0
#python #programming #documentary




Show Original Post


02.09.2025 21:39
AdamOnza (@AdamOnza@mastodon.online)

This is the #Esperanto #C program, translated into #Python, then into #Prolog, with little effort to clean up the mess of translation, but as I said, no apparent attribution.

The file name reflects this. "analizilo3c_py00.pl". That is probably:
pl for Prolog. version 00
_py for Python (Probably 2)
I guess it is based on "analizilo3.c".
Last edit was December 20th, 2009. The Python and original are probably much older.

gist.github.com/AdamOnza/75599




Show Original Post


02.09.2025 21:39
rbanffy (@rbanffy@mastodon.social)

How to Write Docstrings in – Real Python realpython.com/how-to-write-do




Show Original Post


02.09.2025 21:37
rbanffy (@rbanffy@mastodon.social)

Tracking malicious code execution in | Artem Golubin rushter.com/blog/python-code-e




Show Original Post


02.09.2025 21:22
AdamOnza (@AdamOnza@mastodon.online)

I do have the source code, of a #Prolog translation, of a #Python translation, of the original #C. It has the original C file names, but it doesn't seem to have the attribution. (I am usually careful to include that, but apparently, mistakes were made...)

I suppose I could translate it _back_ into C. xD But I really want to give credit where credit is due.




Show Original Post


02.09.2025 21:20
reddit_tech_vn_bot (@reddit_tech_vn_bot@mastodon.maobui.com)

Công cụ tạo sitemap XML cho các trang web tĩnh bằng Python, sử dụng content hash để cập nhật lastmod (thời gian chỉnh sửa cuối cùng) dựa trên nội dung thực tế thay vì ngày sửa đổi tệp. Hỗ trợ tùy chỉnh changefreq, priority, URL aliases và tự động thêm ảnh vào sitemap.

#python #sitemap #webdev #lậptrình #website

reddit.com/r/SideProject/comme




Show Original Post


02.09.2025 21:12
raven (@raven@fedi.raventhemaker.com)

Okay, I'm going to side with the part of the community that says PEP-8's 79 character line length limit is too short for the modern age.

I don't want lines to stretch across my monitor, but even dividing my monitor into thirds and using a big font, I still have 100 characters per editor window.

#python




Show Original Post


02.09.2025 21:00
leanpub (@leanpub@mastodon.social)

The Hitchhiker’s Guide to Plotnine by Jodie Burchell and Mauricio 'Pacha' Vargas Sepúlveda is free with a Leanpub Reader membership! Or you can buy it for $10.00! leanpub.com/plotnine-guide




Show Original Post


02.09.2025 20:32
CuratedHackerNews (@CuratedHackerNews@mastodon.social)

REST and gRPC in 33 Languages, with code examples

github.com/cloudstreet-dev/RES




Show Original Post


02.09.2025 20:25
loptimist (@loptimist@piaille.fr)

Je suis en train de traiter des dizaines de milliers d'archives qui contiennent chacunes des centaines de milliers de fichiers avec #python

En utilisant ThreadPoolExecutor et une Queue (avec un maxsize) pour exploiter les fichiers dans le thread principal c'est plutôt rapide et économe en CPU et en RAM.

Par contre, si un ou des fichiers dépassent le mega, ça fout le CPU à genou et le temps de traitement augmente significativement.

Je pousse dabns la queue des messages qui contiennent chacun les meta du fichier mais aussi sont contenu en bytes.

Mes théories 👇




Show Original Post


1 ...1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 ...1550
UP