python

Back Open Paginator
22.11.2025 09:52
habr (@habr@zhub.link)

ООП в Python на пальцах: Пишем свою текстовую RPG с нуля

Как объяснить новичку разницу между Классом и Объектом так, чтобы он запомнил это навсегда? Представить, что Класс — это чертеж робота, а Объект — сам робот. В этой статье я раскладываю принципы ООП (Объектно-Ориентированного Программирования) на понятные атомы. Никакой сухой академической теории — только живой код на Python. Мы пройдем путь от простых переменных до масштабируемой системы классов на примере создания RPG-игры. В конце вас ждет домашнее задание для закрепления материала.

habr.com/ru/articles/969088/

#ооп #ооп_python #python #python3 #python_class #python_для_начинающих




Show Original Post


22.11.2025 09:32
habr (@habr@zhub.link)

Пишем Telegram-бота на Python: прикручиваем оплату Telegram Stars, систему промокодов и OpenAI

Привет, Хабр! В качестве пет-проекта для работы с API и базами данных решил написать своего бота-ассистента. Идея простая: прокси к OpenAI, но с нюансами: хотел разобраться, как работать с относительно новой внутренней валютой Telegram Stars, реализовать собственную систему промокодов и админку без использования громоздких фреймворков, оставаясь на библиотеке telebot (pyTelegramBotAPI).

habr.com/ru/articles/969080/

#python #openai_api #telegram_bot #api #telegram_stars #github #sqlite3




Show Original Post


22.11.2025 09:09
alexnuttinck (@alexnuttinck@k8s.social)

My colleagues Rémi and Benoît from the DevOps team at iMio, recently presented their talk "Jenkins Out, GitHub Actions In: How We Made the Leap" at @ploneconf and @pyconfi.

The talk is now available on youtube youtu.be/2iWW0OHVeTk and explains why and how we migrated our CI/CD pipeline from #Jenkins to #GitHubActions.

It’s a clear overview of our motivations, the migration path and the outcomes after switching to GitHub Actions.

Congrats to them! 👏

#DevOps #CICD #Plone #Python




Show Original Post


22.11.2025 09:06
AdamOnza (@AdamOnza@mastodon.online)

I almost have Embed #Forth running in #Python. My code still has some elusive bug. But, I was able to make a quick and dirty assembler, and make a hello world program. Also, I was able to get the REPL to start. But I'm shutting it all down for tonight. My brain meat is exhausted. Time for mindless violence. Roll out! :D




Show Original Post


22.11.2025 08:17
francks (@francks@mstdn.fr)

Python-Based WhatsApp #Worm Spreads Eternidade Stealer Across Brazilian Devices

#Cybersecurity #trojan #apk

"It is distributed through a WhatsApp worm campaign, with the actor now deploying a #Python script, a shift from previous PowerShell-based scripts to hijack #WhatsApp and spread #malicious attachments.

thehackernews.com/2025/11/pyth




Show Original Post


22.11.2025 07:38
theevolvedgetechnology (@theevolvedgetechnology@mastodon.social)







visit- www.theevolvedge.com
mail - info@theevolvedge.com
+917982403420
+919311805027





Show Original Post


22.11.2025 03:44
nubecolectiva (@nubecolectiva@mastodon.social)

Improved Concurrency and Parallelism in Python 3.14 ! 🇺🇸
🔎Zoom: nubecolectiva.com/comunidad/fl

Concurrencia y Paralelismo Mejorados en Python 3.14 ! 🇪🇸
🔎Zoom: nubecolectiva.com/comunidad/fl





Show Original Post


22.11.2025 02:52
villares (@villares@pynews.com.br)

#LSystem 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


22.11.2025 00:37
r (@r@fed.brid.gy)

It's incredible how downloading a few S3 objects in parallel leads #AWS CLI to max out your CPU, and memory, and is really really slow #python

RE: https://bsky.app/profile/did:plc:osg2vzhifd2tjfsvfwua7scy/post/3luygbfztfc2n




Show Original Post


22.11.2025 00:37
r (@r@bsky.brid.gy)

It's incredible how downloading a few S3 objects in parallel leads #AWS CLI to max out your CPU, and memory, and is really really slow #python

RE: https://bsky.app/profile/did:plc:osg2vzhifd2tjfsvfwua7scy/post/3luygbfztfc2n




Show Original Post


22.11.2025 00:32
CuratedHackerNews (@CuratedHackerNews@mastodon.social)

Real-Time AI-Powered Texas Hold'em in Python and Flask – Play in the Browser

github.com/EMMA019/AI_pokergame




Show Original Post


22.11.2025 00:14
qiita (@qiita@rss-mstdn.studiofreesia.com)

C#は史上初めて Java を追い抜くことになるのか? - 2025年11月のTIOBE指数
qiita.com/Sakai_path/items/b89

#qiita #Java #Python #C #ポエム #TIOBE




Show Original Post


1 ...949 950 951 952 953 954 955 956 957 958 959 ...1569
UP