python

Back Open Paginator
27.11.2025 17:15
stevensanderson (@stevensanderson@mstdn.social)

Working ok, still needs some speed up though.

#Ollama #Python #sqlcoder #LLM





Show Original Post


27.11.2025 15:58
taschenorakel (@taschenorakel@mastodon.green)

#PEP 20359: Rename the `strip` method of #Python strings into more appropriate `trim`.




Show Original Post


27.11.2025 15:57
dougortiz (@dougortiz@mastodon.social)

Your AI forgets everything between messages? 🧠
The fix: Memory.
Built a chatbot demo with:

ConversationBufferMemory
TinyLlama model
LangChain integration
Proper prompt templates

Result? AI that remembers your name, hobbies, and past topics. Actual dialogue instead of robotic Q&A.

Full hands-on tutorial in Google Colab. Run it yourself.

link.illustris.org/rnFWUi




Show Original Post


27.11.2025 15:34
andrea_navarro (@andrea_navarro@mastodon.social)

2/2
Esta decisión de diseño refuerza la filosofía del lenguaje basada en la responsabilidad del desarrollador más que en la imposición de límites sintácticos.




Show Original Post


27.11.2025 15:34
andrea_navarro (@andrea_navarro@mastodon.social)

1/2
Sabías qué? 🤔

En Python, los atributos definidos con un guion bajo inicial como _configuración no implementan un nivel de acceso protegido en términos estrictos.

Este prefijo actúa únicamente como una convención semántica para señalar que el atributo pertenece al comportamiento interno de la clase y no está destinado a su uso externo, a diferencia de lenguajes que aplican restricciones en tiempo de compilación.





Show Original Post


27.11.2025 15:07
pentesttools (@pentesttools@infosec.exchange)

If you're clicking "Start Scan" manually every time, you're doing it wrong. 🖱️❌

Scaling security operations isn't about hiring more analysts—it's about scripting the repetitive work so you can focus on the complex stuff.

With the Pentest-Tools.com REST API, you can treat security like code:

🚀 DevSecOps: Trigger scans automatically in CI/CD (GitHub Actions, Jenkins) before deploy.
📊 Dashboards: Pull findings via JSON directly into your internal tools.
🔁 Bulk Ops: Launch assessments against 1,000+ targets with a single script.

Make security a function, not a bottleneck.

Docs & Details: pentest-tools.com/features/api

#DevSecOps #Infosec #Automation #Python #API #BlueTeam





Show Original Post


27.11.2025 14:50
didje (@didje@m.g3l.org)

je ne trouve pas de module #python qui ne soit pas en alpha ou béta qui permette de créer un fichier zip avec un mot de passe (donc pas minizipper, pyzipper) :(

je suis nul en recherche ou vous connaissez un module un peu connu qui pourrait m'aider ?

boost apprécié




Show Original Post


27.11.2025 13:24
unibibkoeln (@unibibkoeln@openbiblio.social)

Ab dem 2.12.2025 dreht sich dienstags bei uns alles um #Python! 🐍
Die beliebte #Skriptsprache läuft auf allen gängigen Betriebssystemen und hilft dir, deine Ideen schnell in funktionierende Skripte zu verwandeln.
In unserer Kursreihe starten wir bei den Basics, arbeiten mit echten Datensätzen und erstellen gemeinsam erste Visualisierungen.
👉 Perfekt für Einsteiger*innen – ganz ohne Vorkenntnisse! #DingeMitDaten #Anfängerfreundlich uni.koeln/GMGLU
Foto: Adobe Stock





Show Original Post


27.11.2025 13:17
nocto (@nocto@social.lol)

What's the only London Underground station with none of the letters of the word 'mackerel' in it's name?

nocto.weblog.lol/2025/11/pytho

Solved with #python as a kind of #AdventOfCode warm up rather than searching the net for the answer like a normal person.




Show Original Post


27.11.2025 13:12
graham_knapp (@graham_knapp@hachyderm.io)

TIL: you can use the cached_property decorator in #Python to store the results of expensive calculations in memory, accessible as instance attributes docs.python.org/3/library/func - as always be careful about cache invalidation




Show Original Post


27.11.2025 13:03
carlton (@carlton@chaos.social)

PyDay BCN looks good on Saturday, if you're in Barcelona and at a loose end. 🐍 #Python #BCN

pybcn.org/events/pyday_bcn/pyd




Show Original Post


27.11.2025 12:54
pybites (@pybites@fosstodon.org)

We decided to do something different for Black Friday. Instead of selling you "content," we're discounting "accountability."

For the first time, we've slashed the price on our #Python Snipster (Intermediate) and Foundations (Beginner) cohorts (30-35% off).

We also took 40% off the Pybites Platform subscriptions.

No shiny objects syndrome. Just deliberate practice and shipping code.

If you've been waiting to join a cohort, this is the time. We won't do this again soon.





Show Original Post


1 ...922 923 924 925 926 927 928 929 930 931 932 ...1570
UP