A Python screenshot that shows that str.split() breaks a string and groups multiple spaces into a single break, while str.split(" ") breaks at every single space, creating additional empty elements in the split list.
Python tip: the str.split() method does something completely different when called without arguments vs. passing a separator character. I spent more time than I'm willing to admit today debugging a string parser, and this was the main issue!
01.08.2025 19:25 β π 3 π 1 π¬ 1 π 0
This means a lot coming from you @daniel.feldroy.com, thanks!
27.07.2025 09:38 β π 4 π 0 π¬ 0 π 0
Certainly! github.com/miguelgrinbe...
21.07.2025 14:11 β π 1 π 0 π¬ 0 π 0
And here is the list of Microdot features, both for the core part (just 765 lines of code!) and the optional features. I am really proud of having been able to pack so much stuff in so few lines of code!
21.07.2025 11:19 β π 2 π 0 π¬ 1 π 0
This is the slide of my #EuroPython presentation about my Microdot web framework for Python and MicroPython in which I compare its size against well known frameworks.
21.07.2025 11:19 β π 7 π 2 π¬ 1 π 0
However, Generative AI as a topic crept pretty much into every hallway conversation at #EuroPython. Even though I'm tired of hearing about GenAI and being asked what I think of it, I was surprised to find much more people than I expected aligned with my views and sharing my concerns.
21.07.2025 09:11 β π 1 π 0 π¬ 0 π 0
I'm back from #EuroPython. I have to congratulate the organizers for including a well balanced selection of topics in the program, with a lot of options for those of us who are tired of hearing about Generative AI.
21.07.2025 09:11 β π 7 π 0 π¬ 1 π 0
Miguel Grinberg and me
The man, the myth π¦π· @miguelgrinberg.com
18.07.2025 23:49 β π 8 π 1 π¬ 1 π 0
And I'm off to #EuroPython. I hope to meet some of you in Prague this week!
15.07.2025 05:37 β π 2 π 0 π¬ 0 π 0
So you let Claude loose on the code, let it try and fail a few times (we don't know how many/for how long) and led it to find you which flag can be used here. Still impressive that it found you a solution, but it would be useful to see the entire context for this session and not just the last bit.
07.06.2025 15:07 β π 0 π 0 π¬ 0 π 0
I feel you are underselling yourself here. A person of your experience doesn't just "copy paste". You must have realized that adding an option with such a vague name as "--all-features" could be trouble, correct? Even before seeing the build still failing you must have known this option had to go.
07.06.2025 15:04 β π 0 π 0 π¬ 2 π 0
The bug that was addressed by Claude in this example was introduced in a previous commit in that same PR, when the --all-features flag was added to the wasm build. Was this flag added by you, or by Claude in a previous attempt? In other words, is Claude here fixing your mistake or its own?
07.06.2025 13:28 β π 1 π 0 π¬ 1 π 0
Deciphering Glyph ::
I Think Iβm Done Thinking About genAI For Now
Deciphering Glyph, the blog of Glyph Lefkowitz.
I kinda hated writing this but I needed to do it.
Maybe now, finally, I can stop writing it in little fragments here and there, and just let it go and do something else.
https://blog.glyph.im/2025/06/i-think-im-done-thinking-about-genai-for-now.html
05.06.2025 05:25 β π 21 π 63 π¬ 9 π 5
Miguel Grinberg
Join Miguel Grinberg @miguelgrinberg.com at EuroPython for "Microdot, the impossibly small web framework for Python and MicroPython.". Talk: ep2025.europython.eu/SVTXGC
03.06.2025 12:03 β π 3 π 1 π¬ 0 π 0
Spring Best Sellers Sale Week 4
The Pragmatic Polyglot
40% Off β This Week Only!
Code: 2025POLYGLOT at checkout
Titles on sale this week include -
- The New and Improved Flask Mega-Tutorial by @miguelgrinberg.com
pragprog.com/titles/...
02.05.2025 20:17 β π 0 π 1 π¬ 0 π 0
In case you haven't heard, The Pragmatic Bookshelf is offering my Flask Mega-Tutorial ebook on sale at 40% off between today and May 7th. Use promo code "2025POLYGLOT" at checkout to receive the discount! pragprog.com/titles/d-mgf...
30.04.2025 14:21 β π 4 π 0 π¬ 0 π 0
Just received confirmation that my talk on Microdot has been accepted at #EuroPython2025 in Prague. I look forward to seeing some of you in July and sharing an update on this project!
30.03.2025 10:37 β π 3 π 0 π¬ 0 π 0
The code featured in my Flask Mega-Tutorial is released under the MIT license, so you can use it. The text of the tutorial, however, is not, and I prefer for it to not be used in derivative works.
21.03.2025 13:29 β π 3 π 0 π¬ 0 π 0
Thanks! The link is now updated.
16.03.2025 23:06 β π 0 π 0 π¬ 0 π 0
I'm working on a blog article about implementing font ligatures in code. Keep an eye out for it in a day or two if you are interested in sprucing up your code editor!
11.03.2025 20:33 β π 3 π 0 π¬ 0 π 0
Sometimes, we find outstanding self-published titles we 'd truly feel proud to distribute. It's wonderful when our audience agrees.
Right now, 3 of those distribution titles are on our bestsellers list!
pragprog.com/best_se...
@miguelgrinberg.com
Minh Quang Tran
@staffannoteberg.bsky.social
21.02.2025 14:00 β π 5 π 3 π¬ 0 π 0
New at PragProg: Python / Flask Framework
Journey through a realistic web development project using Python and the Flask framework, taking incremental steps from start to finish.
New and improved 2024 edition
pragprog.com/titles/d-mgf...
@miguelgrinberg.com
#Python #FlaskFramework #Flask
07.02.2025 01:18 β π 5 π 2 π¬ 0 π 0
The New and Improved Flask Mega-Tutorial
Overarching tutorial for Python beginner and intermediate developers that teaches web development with the Flask framework.
My Flask Mega-Tutorial ebook is now also available from The Pragmatic Bookshelf store, without DRM!
I'm super excited to offer this additional channel for those who do not want to be locked in to Kindle.
pragprog.com/titles/d-mgf...
05.02.2025 16:42 β π 5 π 2 π¬ 0 π 0
New blog post: Dynamic Forms with Flask blog.miguelgrinberg.com/post/dynamic...
29.01.2025 15:07 β π 6 π 1 π¬ 0 π 0
I'm currently working on a Flask tutorial for my blog about forms that have dynamically growing lists of items. It is surprisingly tricky, but a lot of fun!
27.01.2025 12:42 β π 2 π 1 π¬ 0 π 0
PyCon UK is a volunteer-run community conference for users and developers of the Python programming language, staged by UKPA Trading Ltd on behalf of The UK Python Association.
http://pyconuk.org
British, But In Las Vegas and NYC
ezitron.76 Sig
Newsletter - wheresyoured.at
https://linktr.ee/betteroffline - podcast w/ iheartradio
Chosen by god, perfected by science
CEO at EZPR.com - Award-Winning Tech PR
Python Core Developer π Principal Software Engineer @ Arm
MSc in Computer Science. Posts are my own. He/him/his. π¬π§
information science professor (tech ethics + internet stuff)
kind of a content creator (elsewhere also @professorcasey)
though not influencing anyone to do anything except maybe learn things
she/her
more: casey.prof
OSS nerd. JavaScript Stockholm syndrome survivor. Music collector. Leftist.
Big fan of what BlueSky is doing, but microblogging is decidedly not great for my brain, so do not expect much from me here.
SFF writer and Swordplay instructor || Founder of Ottawa Swordplay || Lapsed TTRPG writer || AuDHD
Currently seeking representation for my third novel and working on my fourth.
I write about the strange side of AI at aiweirdness.com
Also a laser scientist.
She/her. Colorado, USA
The developers of the PyPy project: a fast, compliant, open source Python interpreter.
https://pypy.org/
https://github.com/pypy/pypy
I'll help you take your Python skills to the next level!
Get a daily drop of Python knowledge ππ§ -> https://mathspp.com/drops
Pydon'ts β free Python book π https://mathspp.com/books/pydonts
Author
"SQLite Internals: How The World's Most Used Database Works" 1st free and open book.
Posts 'hand-drawn' graphs.
π«π·π¬π§πΈπ¦
flaskcon / pymug / python / opensource
Reproducible bugs are candies ππ¬
Developer Advocate @ Auth0
Twitter: @neri78
Tech lead and Principal Software Engineer at Elastic. Open source contributor. TEDx speaker and author. Adj. Professor at University of Turin and University of Roma Tre in Italy.
π π π Engineer Β· Sensitive Wallflower Β· A Bit Ticklish
Author of Fluent Python. Co-founder of Garoa Hacker Clube. H0 train operator.
Write code. Mostly Python.
Free-range computer scientist living in Evanston, Illinois. I wrote some Python books. If you want to talk code, take a CS course https://www.dabeaz.com/courses.html. I'm mainly here for dogs, bikes, trombones, and other random stuff.
Python enthusiast and entrepreneur. Host of @talkpython.fm and @pythonbytes.fm podcasts, founder of Talk Python Training (https://talkpython.fm/courses). Python Software Foundation Fellow. Writing at https://mkennedy.codes Based in Portland, OR, USA.