Sundeep ๐ŸŒž (@learn_byexample) header
Sundeep ๐ŸŒž (@learn_byexample) profile picture

I tweet about Regex, Python, Linux CLI one-liners, Vim and interesting tech nuggets. โœ Author of several programming ebooks and devourer of fantasy books ๐Ÿง™

Joined April 2015
Photo by Sundeep ๐ŸŒž (@learn_byexample)Photo by Sundeep ๐ŸŒž (@learn_byexample)Photo by Sundeep ๐ŸŒž (@learn_byexample)Photo by Sundeep ๐ŸŒž (@learn_byexample)Photo by Sundeep ๐ŸŒž (@learn_byexample)Photo by Sundeep ๐ŸŒž (@learn_byexample)Photo by Sundeep ๐ŸŒž (@learn_byexample)Photo by Sundeep ๐ŸŒž (@learn_byexample)Photo by Sundeep ๐ŸŒž (@learn_byexample)Photo by Sundeep ๐ŸŒž (@learn_byexample)
๐Ÿง Want to get good at Linux CLI tools and Shell Scripting? Check out my "๐—Ÿ๐—ถ๐—ป๐˜‚๐˜… ๐—–๐—ผ๐—บ๐—บ๐—ฎ๐—ป๐—ฑ ๐—Ÿ๐—ถ๐—ป๐—ฒ ๐—–๐—ผ๐—บ๐—ฝ๐˜‚๐˜๐—ถ๐—ป๐—ด" ebook. ๐Ÿ’ป 500+ examples and 200+ exercises. ๐Ÿ”ฅ Free to read online! learnbyexample.github.io/cliโ€ฆ
1
3
203
I don't know why, but based on the past few years, I had expected my sales to drop to near zero this year. However, the past few months has seen decent income. Thanks to all the readers who continue to invest in books in this age of agents.
3
232
๐Ÿ Struggling with Python regular expressions? ๐Ÿ”ฅ I wrote an interactive TUI app with 100+ exercises, covering both `re` and `regex` modules! github.com/learnbyexample/TUโ€ฆ
5
15
1,240
๐ŸงWant to test your Linux CLI text processing skills? ๐Ÿ”ฅCheck out my interactive TUI app with 70+ exercises! github.com/learnbyexample/TUโ€ฆ
1
4
14
1,752
๐Ÿ“ง "learnbyexample weekly" issue #207 is out. Python testing, Linux Pipes, Vim galore, Size of Space and more! ๐Ÿ๐Ÿง๐Ÿ“ Free newsletter about programming, delivered every Friday: learnbyexample.gumroad.com/lโ€ฆ ๐Ÿ‘‰ You'll also get access to previous issues.
1
1
366
๐Ÿ“ง "learnbyexample weekly" issue #206 is out. Simpler code, Context manager, CLI oneliners, smolBSD and more! ๐Ÿ๐Ÿง๐Ÿ“ Free newsletter about programming, delivered every Friday: learnbyexample.gumroad.com/lโ€ฆ ๐Ÿ‘‰ You'll also get access to previous issues.
1
1
158
Creating a context manager in Python ๐Ÿ‘‰ an object that can be used in a `with` block to sandwich some code between an entrance action and an exit action pythonmorsels.com/creating-aโ€ฆ
1
11
๐Ÿ“ง "learnbyexample weekly" issue #204 is out. Compiler Optimizations, Python exercises, awk idioms, Procedural Island Generation and more! ๐Ÿ๐Ÿง๐Ÿ“ Free newsletter about programming, delivered every Friday: learnbyexample.gumroad.com/lโ€ฆ ๐Ÿ‘‰ You'll also get access to previous issues.
1
1
3
470
Practice exercises in Python ๐Ÿ‘‰ learn and practice Python by completing exercises that explore different concepts and ideas exercism.org/tracks/python/eโ€ฆ
1
11
๐Ÿ“ง "learnbyexample weekly" issue #202 is out. Driving Compilers, Programming Ideas, Secure Programming, LLM Visualization and more! ๐Ÿ๐Ÿง๐Ÿ“ Free newsletter about programming, delivered every Friday: learnbyexample.gumroad.com/lโ€ฆ ๐Ÿ‘‰ You'll also get access to previous issues.
1
1
431
Programming Ideas for Beginners ๐Ÿ‘‰ short, can be done in any language, and don't require additional software library installation, sample Python implementation inventwithpython.com/blog/prโ€ฆ
1
1
10
๐Ÿ“ง "learnbyexample weekly" issue #201 is out. Unix Spell, FFmpeg guide, Devops exercises, Software Design and more! ๐Ÿ๐Ÿง๐Ÿ“ Free newsletter about programming, delivered every Friday: learnbyexample.gumroad.com/lโ€ฆ ๐Ÿ‘‰ You'll also get access to previous issues.
1
1
1
426
๐Ÿ“ง "learnbyexample weekly" issue #200 is out. State machines, Python metaclasses, Rust Performance Tricks, Pydon'ts and more! ๐Ÿ๐Ÿง๐Ÿ“ Free newsletter about programming, delivered every Friday: learnbyexample.gumroad.com/lโ€ฆ ๐Ÿ‘‰ You'll also get access to previous issues.
1
1
1
491
What are metaclasses in Python? ๐Ÿ‘‰ the main use case for a metaclass is creating an API stackoverflow.com/questions/โ€ฆ
1
9
๐Ÿ“ง "learnbyexample weekly" issue #199 is out. Python deque, wget cookbook, C structs, Algorithms and more! ๐Ÿ๐Ÿง๐Ÿ“ Free newsletter about programming, delivered every Friday: learnbyexample.gumroad.com/lโ€ฆ ๐Ÿ‘‰ You'll also get access to previous issues.
2
1
4
580
๐Ÿ“ง "learnbyexample weekly" issue #198 is out. Binary search variants, Python data classes, Awk tutorial, nyxt and more! ๐Ÿ๐Ÿง๐Ÿ“ Free newsletter about programming, delivered every Friday: learnbyexample.gumroad.com/lโ€ฆ ๐Ÿ‘‰ You'll also get access to previous issues.
2
1
2
427
Here's a fun TUI game I wrote. Connect Four with a twist: form a line or square or both! github.com/learnbyexample/TUโ€ฆ
1
3
8
1,615
๐Ÿ“ง "learnbyexample weekly" issue #197 is out. Reading error messages, Shell Tab-Completions, Node.js Patterns and more! ๐Ÿ๐Ÿง๐Ÿ“ Free newsletter about programming, delivered every Friday: learnbyexample.gumroad.com/lโ€ฆ ๐Ÿ‘‰ You'll also get access to previous issues.
1
1
1
462
Making a Snake Game in Python ๐Ÿ‘‰ classic snake game, has features such as screen wrapping, progressive difficulty (speeds up as you score) & with clean, modular code structure gameidea.org/2025/01/19/makiโ€ฆ
1
16
๐Ÿ“ง "learnbyexample weekly" issue #196 is out. Virtual Threads, Modern terminal setup, Zig Cookbook, Crossword solver and more! ๐Ÿ๐Ÿง๐Ÿ“ Free newsletter about programming, delivered every Friday: learnbyexample.gumroad.com/lโ€ฆ ๐Ÿ‘‰ You'll also get access to previous issues.
1
2
7
626
From Async/Await to Virtual Threads in Python ๐Ÿ‘‰ rethink if we maybe have a better path in front of us by fully embracing threads lucumr.pocoo.org/2025/7/26/vโ€ฆ
1
36
๐Ÿ“ง "learnbyexample weekly" issue #195 is out. Queueing strategies, --with uv, copyparty, Basic Electronics and more! ๐Ÿ๐Ÿง๐Ÿ“ Free newsletter about programming, delivered every Friday: learnbyexample.gumroad.com/lโ€ฆ ๐Ÿ‘‰ You'll also get access to previous issues.
1
1
1
472
Things you can do --with uv ๐Ÿ‘‰ how it works and practical examples zaloog.github.io/2025/07/07/โ€ฆ
1
9
๐Ÿ“ง "learnbyexample weekly" issue #194 is out. f-strings quiz, GNU Readline, SVG introduction, Proficient Python and more! ๐Ÿ๐Ÿง๐Ÿ“ Free newsletter about programming, delivered every Friday: learnbyexample.gumroad.com/lโ€ฆ ๐Ÿ‘‰ You'll also get access to previous issues.
1
1
1
523
f-strings quiz ๐Ÿ‘‰ How good is your knowledge of Python f-strings? fstrings.wtf/
1
9