python

Back Open Paginator
25.11.2025 13:55
jos1264 (@jos1264@social.skynetcloud.site)

Simple Tricks To Make Your Python Code Faster hackaday.com/2025/11/25/simple #SoftwareDevelopment #codeoptimization #SoftwareHacks #coding #python #code




Show Original Post


25.11.2025 13:42
winslowjosiah (@winslowjosiah@hachyderm.io)

Introducing: my new blog for solving #AdventOfCode !

aoc.winslowjosiah.com

I've written detailed explanations of all my solutions from 2023 (with the rest to come). Be sure to check back on it once #AdventOfCode2025 comes!

#Python #programming #blog #Christmas




Show Original Post


25.11.2025 13:10
qiita (@qiita@rss-mstdn.studiofreesia.com)

PythonでLLM APIを並列実行する方法
qiita.com/kazuki_ogawa/items/a

#qiita #Python #API #効率化 #並列処理 #LLM




Show Original Post


25.11.2025 12:46
davidsuculum (@davidsuculum@mathstodon.xyz)

I still don't understand why #python invented the "slice" operator when you already have the ":".

It seems that slice is necessary for some uses, like an xarray you want from latitudes -10 to 10, where you'd do something like

my_array.sel(latitude = slice(-10, 10))

Doing

my_array.sel(latitude = [-10, 10])

Or

my_array.sel(latitude = latitude[-10, 10])

don't work, but I don't know why.




Show Original Post


25.11.2025 12:42
habr (@habr@zhub.link)

Ошибались, но всё-таки сделали деловой Тиндер без знания фронтенда

А ещё — без бюджета на мощную инфраструктуру, опыта работы в команде и прокаченных софтов. В этой статье — путь наших студентов, которые разработали приложение для деловых знакомств на базе Python и TypeScript. Сами выбрали стек, организовали командную работу, проводили ретро, учились распределять неинтересные задачи и ошибались в оценке сложности тасков. Кому интересно почитать про нюансы создания такого проекта и что в итоге получилось, приглашаем под кат. 👇

habr.com/ru/companies/skbkontu

#Python #typescript #postgresql #redux #yandexcloud #react #django #fastapi




Show Original Post


25.11.2025 12:14
devto_vn_bot (@devto_vn_bot@mastodon.maobui.com)

🚀 2025: Kỹ năng số 1 là Machine Learning với Python! 🐍 Dễ học, ngôn ngữ sáng rõ cùng các thư viện mạnh mẽ như NumPy, Pandas, TensorFlow. Ứng dụng rộng rãi: phát hiện gian lận, chẩn đoán y khoa, phân tích khách hàng. Nắm vững ML = cơ hội nghề nghiệp đa ngành! Học ngay để nắm lợi thế!
#MachineLearning #Python #Technology #KỹNăngLậpTrình #HọcMáy #AiVàMl

dev.to/gowthamimmek196/machine




Show Original Post


25.11.2025 11:56
bterwijn (@bterwijn@fosstodon.org)

An exercise to help build the right mental model for Python data. The “Solution” link uses memory_graph to visualize execution and reveals what’s actually happening:
- Solution: memory-graph.com/#codeurl=http
- Explanation: github.com/bterwijn/memory_gra

#Python #programming #memory_graph





Show Original Post


25.11.2025 11:45
ThePSF (@ThePSF@fosstodon.org)

The PSF Grants Program has supported #Python conferences around the globe, helping make events more welcoming & accessible for all- because Python is for everyone. While the program is on pause, your support moves us closer to bringing it back.

💝 Donate: donate.python.org/

#PythonForEveryone





Show Original Post


25.11.2025 10:26
lxsameer (@lxsameer@mastodon.social)

700 lines of poorly written python code, to wrap the simplest interaction of 3 cli tools. One can easily rewrite it in less than 20 lines of bash.
I guess to developers, every problem just look like a nail. 🤷




Show Original Post


25.11.2025 10:15
bobdobberson (@bobdobberson@kolektiva.social)

Again, if you have experience with #MPD #Python and #Flask (or some other Python web framework) and want to help develop something for posting to Mastodon and just having a front-end that shows past and upcoming tracks...

#DrunkBobDJ

I'm pretty sure I can do this on my own, but I'm more of a hacker than a developer and I think this could be a useful tool for others...




Show Original Post


25.11.2025 10:12
pythonrennes (@pythonrennes@social.breizhcamp.org)

cet article de maths++ :
- explore le module natif #Python itertools très utile pour parcourir ou générer des colelctions
- propose de réimplémenter itertools.pairwise (ainsi qu'une version modifiée, avec le dernier tuple de la forme ($LAST, None)
- de la généraliser à des n-uplets.

mathspp.com/blog/generalising-




Show Original Post


25.11.2025 10:01
techbot (@techbot@social.raytec.co)

Build script exposes PyPI to domain takeover attacks

ReversingLabs researchers discovered vulnerable code in legacy Python packages that could enable an attack on the Python Package Index (PyPI) via a domain compromise. The vulnerability lies in bootstrap files for a build tool that installs the Python package 'distribute' and performs other tasks. When executed, the bootstrap script fetches and executes an installation script from python-distribute.org, a domain now available for sale. Affected packages include tornado, pypiserver, slapos.core, and others. The issue stems from the complex history of Python packaging tools and the failure to formally decommission the 'distribute' module. This vulnerability highlights the risks of relying on hard-coded domains and the importance of addressing code rot in open-source projects.

Pulse ID: 6924c9abb614eb03b6f6433d
Pulse Link: otx.alienvault.com/pulse/6924c
Pulse Author: AlienVault
Created: 2025-11-24 21:10:03

Be advised, this data is unverified and should be considered preliminary. Always do further verification.

#CyberSecurity #InfoSec #OTX #OpenThreatExchange #PyPI #Python #RCE #ReversingLabs #Vulnerability #bot #AlienVault




Show Original Post


1 ...934 935 936 937 938 939 940 941 942 943 944 ...1569
UP