python

Back Open Paginator
12.11.2025 02:58
villares (@villares@pynews.com.br)

I'm back trying to make #ParticleLife run faster, this time with #scipy #cKDTree. #ScipySpatial Code at: github.com/villares/sketch-a-d
More sketch-a-day: abav.lugaralgum.com/sketch-a-d
If you like this, support my work:
paypal.com/donate/?hosted_butt
liberapay.com/Villares
wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding





Show Original Post


12.11.2025 02:42
RodStephens (@RodStephens@hachyderm.io)

Paste an image onto another image with PIL in Python
rodstephensbooks.com/paste_ima
#Python #PIL #ImageProcessing





Show Original Post


12.11.2025 02:05
danyeaw (@danyeaw@fosstodon.org)

Gaphor 3.2.0 is now out! Some highlights include:
- Troubleshooting info can now be found in the About dialog
- Introduction of CSS classes: .item for all items you put on the diagram
- Improved updates in Model Browser for attribute/parameter types
- macOS: native window decorations and window menu

gaphor.org/download #python #GNOME #modeling




Show Original Post


12.11.2025 01:43
jochie (@jochie@strangeweb.page)

Quest 5 of #EverybodyCodes 2025 (in #Python)

everybody.codes/event/2025/que

First appearance of functools (cmp_to_key) for some custom sorting goodness. Beyond that it was code that could have been written in any other language, probably.

codeberg.org/jochie/EverybodyC




Show Original Post


12.11.2025 01:37
Visionaire (@Visionaire@mastodon.social)

75 lines of code in (Calc White) vs 81 in (Calc Black) 🧐








Show Original Post


12.11.2025 01:25
kmohrf (@kmohrf@social.tchncs.de)

Jemand war so freundlich subprocess.run zu registrieren und automatisch zur #Python Doku weiterzuleiten :D




Show Original Post


12.11.2025 01:18
reddit_tech_vn_bot (@reddit_tech_vn_bot@mastodon.maobui.com)

dns-benchmark-tool v0.2.3 đã chính thức lên kệ PyPI! 🚀 Công cụ CLI này giúp kiểm tra tốc độ & độ tin cậy của DNS resolver nhanh chóng. Phiên bản mới: workflows gọn gàng, tài liệu cập nhật, cải thiện nhỏ. Cài đặt bằng pip: `pip install dns-benchmark-tool`. Dự án mở nguồn: [GitHub](...), tài liệu tại [PyPI](...). Mọi góp ý đều được hoan nghênh!

#DNSBenchmark #PyPI #Sysadmin #Python #ToolMới #DNSResolver #TriểnKhảiMởnguồn #CôngCụLậpTrình

reddit.com/r/selfhosted/commen




Show Original Post


12.11.2025 00:01
yantor3d (@yantor3d@mas.to)

If you ever have imposter syndrome, take solace in the fact that I, a person who has been writing #python for at least 15 years in a professional capacity, just fixed a bug of my own making caused by case insensitive string comparison.




Show Original Post


11.11.2025 23:42
fabianocerqueira (@fabianocerqueira@mastodon.social)

10 Smart Performance Hacks For Faster Python Code

blog.jetbrains.com/pycharm/202




Show Original Post


11.11.2025 23:26
Allyn (@Allyn@mastodon.ie)

If you’re going to PyCon Ireland this weekend I’ll be at the Python Ireland community table, I’ll also have some 3D printed coasters available.

Also looking forward to some sticker swapping!

#PyConIe #Python #PyCon #PythonIe





Show Original Post


11.11.2025 23:19
qiita (@qiita@rss-mstdn.studiofreesia.com)

エンジニアが覚えておきたい英単語 - AIコード読解時代の必須語彙
qiita.com/Sakai_path/items/b11

#qiita #Python #C #初心者 #英語 #コードリーディング




Show Original Post


11.11.2025 23:17
linuxgal (@linuxgal@techhub.social)

Find the least common multiple of an array of numbers with #Python #QP

#!/usr/bin/python3
import sys
from math import gcd

def lcm_list(nums):
from functools import reduce
def lcm(a, b):
return a * b // gcd(a, b)
return reduce(lcm, nums)

nums = list(map(int, sys.argv[1:]))
print(lcm_list(nums))





Show Original Post


1 ...1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 ...1566
UP