Skip to content
Baffled Architect

Baffled Architect

Tag: Coding

Working together

Python List Comprehension

Posted on 13 June 2022 by Dougie

I’ve been spending time with Python recently and am beginning to really like some of the language’s features. List comprehension creates a list by evaluating an expression on each item…

Posted in CodingTagged Coding, Python

Using Threading rather than Thread

Posted on 12 June 2022 by Dougie

In an earlier post, I used Threads but the thread module in Python when I should be using threading. The documentation for threading says it builds upon the thread module (renamed _thread):…

Posted in CodingTagged Coding, Python

Python’s with statement

Posted on 9 June 2022 by Dougie

Managing resources usually involves three steps – allocating, using, and releasing. You’re familiar with the try… finally pattern but Python also provides context managers.

Posted in CodingTagged Coding, Python, Snippet
← Previous 1 2

Recent Posts

  • Headphones that switch themselves off
  • Configure an antigravity-cli statusline
  • From ancient Greece to servers: the origin of daemon
  • Custom Fonts on the XTEink v3
  • Flashing XTEink v3 with esptool on Fedora

Categories

  • Architecture
  • Books
  • Coding
  • Linux
  • Misc
  • Python
  • Sights
  • Volunteer
  • WordPress

Tags

Agile AI Anbernix Anthropic Antigravity API Architecture AWS CD CDK CI Claude Coding Container Docker Emulation Fedora Google History Howto Infrastructure Investing IONOS JIRA JSON Linux Observability Plesk Programming Python Retro Scrum Server Snippet SSL STA Tech Army The Horn Ubuntu Video Games Volunteer VPS West Lothian Xteink zsh

© 2026 Baffled Architect - Every day is a school day.

Theme: Baffled Architect

This site uses essential cookies to ensure it functions properly. No tracking or advertising cookies are used.