Skip to content
Baffled Architect

Baffled Architect

Tag: Coding

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

  • Is Claude making more mistakes?
  • rsync for the win
  • From Blind Spots to 20/20 Vision: Building a Robust Observability Stack
  • From code to container: Lean VPS deployment
  • VPS multi-docker application guide

Categories

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

Tags

Agile AI Anbernix Architecture AWS Books CD CDK CI Claude Coding Container Docker Emulation Fedora Howto Infrastructure Investing IONOS JIRA JSON Linux ML Observability Photo Plesk Polkemmet Programming Python React Rustlang Scotland Scrum Server Snippet SSL STA Tech Army The Horn Ubuntu Video Games Volunteer VPS West Lothian 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.