@mark I'm hedging with "parsed and interpreted in a way" because I don't know offhand what the actual tokenizer does in that situation (but it shouldn't be hard to find out if you have a #Python interpreter handy, I believe the tokenizer is available as an stdlib module)
@mark Yup 👍
A triple quote *can* be parsed and interpreted in a way that makes it act like a single token, but only at the beginning of a string, or when the parser state is already inside a triple-quoted string and is looking for a matching set of triple quotes to end it.
Getting DeepSeek-OCR working on an NVIDIA Spark via brute force using Claude Code - DeepSeek released a new model yesterday: DeepSeek-OCR, a 6.6GB model fine-tuned spec... - https://simonwillison.net/2025/Oct/20/deepseek-ocr-claude-code/#atom-everything #ai-assisted-programming #generative-ai #coding-agents #vision-llms #llm-release #claude-code #ai-in-china #anthropic #deepseek #pytorch #python #claude #nvidia #llms #ocr #ai
Honeybadger's "just enough" APM dashboards include everything you really need, without the complexity (and cost!) that you don't.
Monitor performance, infrastructure, and more with easy automatic dashboards—from Ruby to Python and beyond.
Try it for free!
https://www.honeybadger.io/tour/dashboards/?utm_source=mastodon&utm_medium=social
#RubyOnRails #ElixirLang #Laravel #Django #Python #Ruby #Monitoring #Observability

TIL: If you do "Hello, world!""" in Python, that is not a syntax error; it appears the parser interprets it as "Hello, world!" "" which is a (single double-quote delimited) string followed by another (single double-quote delimited) string, and two strings in order are the implicit string concatenation operation.
I always assumed """ was its own token but I guess it's not!
Need to get the size of a string in #Python? Use the `sys` module!

Check out this post by @diegor about the latest CPython sprint! We send a special thanks to Arm for hosting the event and investing in the future of #Python 💛🐍💙
https://pyfound.blogspot.com/2025/10/cpython-core-dev-sprint-2025-at-arm.html
@BastilleBSD 🧑💻 I am building QR codes that can be put on a electronic invoice using #Python, and #LaTeX
S1 EP5 T5 - Machine Learning in Python How to select Data Frame Columns as Features #datascience #dataengineering #visualstudio #learntocode #sql #jupyternotebook #python #mathematics #linq #softwareengineer #vscode #artificialintelligence #jupyterlabs #codingbasics #statistics #coding #computerscience #algorithims #softwaredeveloper #machinelearning
Very beginning of learning #Ollama with #Python and #R

Having that problem where I'm starting to respond to style comments from my peer reviewers with "Oh my God I don't care," then having to brain-edit that initial response into something corporate and productive and prosocial.
Problem is, I really don't. I'm sorry. I can't find my way towards being deeply fussed about whether we express optionals as None | Foo or Foo | None, especially when it's already inconsistent in the codebase.
AITA or should I push back harder with "You say it should be this. The next reviewer I talk to will say it should be the other thing. I refuse to be the abused child in a fight between mommy and daddy?"
itertools для тех, кто думал, что знает itertools
Привет, Хабр! Модуль itertools мне известен многим вдоль и поперёк. Ну действительно, что там сложного? Пара функций вроде chain да product , и кажется, что ничего нового для себя уже не найти. Однако стоит копнуть глубже, и выясняется, что у itertools есть немало нюансов и даже новых возможностей, появившихся в свежих версиях. В этой статье рассмотрим многие функции itertools : от базовых до самых интересных. Понять силу итераторов
https://habr.com/ru/companies/otus/articles/958068/
#python #программирование #itertools #итераторы