Finally caught GitHub Copilot/Claude out in some "I designed a circular import so I'm going to cheat my way out of it" nonsense.
Not on my watch you don't.
Has it really been a year since I released this? I'm still really (mostly) enjoying Python, though I keep hearing good things ago Go and Rust...
https://rasterweb.net/raster/2025/03/08/blognag-a-blog-post-reminder/
PEP 828: Supporting 'yield from' in asynchronous generators
#NBPy tickets still on sale
no incentives for buying today except for the satisfaction of knowing your organisers are a tiny bit happier about the state of the conference
and frankly, that should be enough
https://pretix.northbaypython.org/nbpy/nbpy-2026/ #Python
Please tell my why this is wrong https://github.com/magic-wormhole/magic-wormhole/issues/700
...or is there really no incremental migration path for all the #Python "sphinxcontrib" packages that use the "wrong" way to create namespace packages??
π± π±
(This is like 3 yaks deep for me anyway: I just want #magicWormhole builds to work again, and the docs use sphinxcontrib-seqdiag to get nice sequence diagrams)
Python Tip #68 (of 365):
Instead of an printing an f-string with a single space between values, consider passing 2 arguments to print
Instead of this:
print(f"User: {name}")
You could do this:
print("User, name)
Why?
Less syntax. That's all.
Iβd like a Picotron that uses Python.
The OntoWeaver team is proud to release version 1.4 of its tool π₯³
OntoWeaver allows to easily parse iterable data (like tables or documents) and create a Semantic Knowledge Graph. Basically, you write a simple YAML file telling what data you want to be a node or a property, you call a generic command, and π , you have your graph ready.
With the 1.4 series, the main new feature is an option to display progress bars when doing heavy processing (like loading large CSV files).
The documentation has also been heavily updated, completed and polished:
https://ontoweaver.readthedocs.io/en/latest
#python #SKG #KG #graph #neo4j #ontoweaver #biocypher #science #bioinformatics #pasteur #ontologies #semanticWeb
Season 1 Lesson 7 Part 6 - Your First Steps - Splitting & Joining Strings - in Python is Easy #jupyternotebook #dataanalysis #dataengineer #learncoding #pythoncode #pythonprogramming #softwaredeveloper #codingtutorial #python
ΠΠ²ΠΎΠ»ΡΡΠΈΡ Telegram-Π±ΠΎΡΠ° Π½Π° Π»ΠΎΠΊΠ°Π»ΡΠ½ΠΎΠΉ LLM ΠΎΡ Π±ΠΎΠ»ΡΡΠ½Π° Π΄ΠΎ ΠΌΠΈΠ½ΠΈ-ΠΈΠ³Ρ, Π³Π΅Π½Π΅ΡΠ°ΡΠΈΠΈ ΡΠΎΡΠΎ, Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΠΈ Π²ΡΠ±ΠΎΡΠ° ΠΌΠΎΠ΄Π΅Π»ΠΈ
Π₯ΠΎΡΡ ΡΠ°ΡΡΠΊΠ°Π·Π°ΡΡ ΠΎ ΡΠΎΠΌ, ΠΊΠ°ΠΊ Ρ ΡΠΎΠ·Π΄Π°Π²Π°Π» tg Π±ΠΎΡΠ° Π½Π° Π»ΠΎΠΊΠ°Π»ΡΠ½ΠΎΠΉ LLM Ollama ΠΈ Ρ ΠΊΠ°ΠΊΠΈΠΌΠΈ ΠΏΡΠΎΠ±Π»Π΅ΠΌΠ°ΠΌΠΈ Ρ ΡΡΠΎΠ»ΠΊΠ½ΡΠ»ΡΡ. ΠΠΎΡ Π½Π°ΠΏΠΈΡΠ°Π½ Π½Π° python ΠΈ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊΠ΅ telegram. ΠΠΎΡΠ΅ΠΌΡ Π²ΡΠ±ΡΠ°Π» ΠΈΠΌΠ΅Π½Π½ΠΎ Ollama? ΠΠΎΡΠΎΠΌΡ ΡΡΠΎ ΠΎΠ½Π° Π±Π΅ΡΠΏΠ»Π°ΡΠ½Π°, Π΅ΡΡΡ ΠΌΠ½ΠΎΠΆΠ΅ΡΡΠ²ΠΎ ΠΎΡΠΊΡΡΡΡΡ ΠΌΠΎΠ΄Π΅Π»Π΅ΠΉ ΠΈ Π΅Ρ ΠΎΡΠ΅Π½Ρ ΠΏΡΠΎΡΡΠΎ ΡΠ°Π·Π²Π΅ΡΠ½ΡΡΡ Π² ΡΠ²ΠΎΠ΅ΠΌ ΠΏΡΠΎΠ΅ΠΊΡΠ΅. ΠΡΠ»ΠΈ Π±ΡΠ°ΡΡ ΠΎΠ±Π»Π°ΡΠ½ΡΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΡ ΠΎΡ Π΄ΡΡΠ³ΠΈΡ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠΉ Π½Π°ΠΏΡΠΈΠΌΠ΅Ρ ChatGPT, ΡΠΎ ΡΡΡ ΠΌΠΎΠΆΠ½ΠΎ ΡΠΏΠ΅ΡΠ΅ΡΡΡΡ Π² ΡΠΎ, ΡΡΠΎ Π·Π° Π½ΠΈΡ Π½ΡΠΆΠ½ΠΎ ΠΏΠ»Π°ΡΠΈΡΡ. ΠΠΎΠ΄Π΅Π»ΠΈ Ρ ΠΏΠΎΠ΄Π±ΠΈΡΠ°Π» ΠΏΠΎΠ΄ ΡΠ²ΠΎΠΉ ΠΊΠΎΠΌΠΏΠΈΠΊ: 5070 ΠΈ 32 Π³Π± ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Ρ. Π‘Π΅ΡΠ²Π΅ΡΠ° ΡΠ²ΠΎΠ΅Π³ΠΎ Π½Π΅ΡΡ, ΠΏΠΎΡΡΠΎΠΌΡ Π±ΠΎΡ ΡΠ°Π±ΠΎΡΠ°Π΅Ρ ΡΠΎΠ»ΡΠΊΠΎ ΠΊΠΎΠ³Π΄Π° Ρ Π΄ΠΎΠΌΠ°. ΠΠΎΡ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°Π΅Ρ ΡΠ°Π·Π²ΠΈΠ²Π°ΡΡΡΡ. Π‘Π»Π΅Π΄ΠΈΡΡ Π·Π° ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΡΠΌΠΈ ΠΈ Π½ΠΎΠ²ΡΠΌΠΈ ΡΠΈΡΠ°ΠΌΠΈ ΠΌΠΎΠΆΠ½ΠΎ Π² ΠΌΠΎΠ΅ΠΌ Telegram-ΠΊΠ°Π½Π°Π»Π΅: https://t.me/rocet_0 ΠΠ·ΡΡΠΈΡΡ ΠΈΡΡΠΎΡΠΈΡ
https://habr.com/ru/articles/1008248/
#Python #Telegram_Π±ΠΎΡ #Ollama #LLM #ΠΈΡΠΊΡΡΡΡΠ²Π΅Π½Π½ΡΠΉ_ΠΈΠ½ΡΠ΅Π»Π»Π΅ΠΊΡ #Π³Π΅Π½Π΅ΡΠ°ΡΠΈΡ_ΠΈΠ·ΠΎΠ±ΡΠ°ΠΆΠ΅Π½ΠΈΠΉ #ΡΠ°ΠΌΠΎΠΎΠ±ΡΡΠ΅Π½ΠΈΠ΅ #Π»ΠΎΠΊΠ°Π»ΡΠ½ΡΠΉ_ΠΠ #ΡΠ°Π·ΡΠ°Π±ΠΎΡΠΊΠ°_Π±ΠΎΡΠΎΠ² #ΠΊΠ΅ΠΉΡ
Python Tip: Walrus Operator :=
# Assign AND test in one line
if (n := len(data)) > 10:
print(f'Too long: {n}')
The walrus operator (:=) assigns a value and returns it. Perfect for avoiding redundant...
https://raccoonette.gumroad.com/l/Python-for-Beginners-From-Zero-to-Your-First-Projects
#Python #CodingTips #Programming
Python Tip: Ternary Expression
status = 'even' if x % 2 == 0 else 'odd'
result = value if value is not None else default
Python's ternary operator is readable and concise. Replaces simple if/else blocks.
https://raccoonette.gumroad.com/l/Python-for-Beginners-From-Zero-to-Your-First-Projects
#Python #CodingTips #Programming