Code Snippets

This is a collection of short useful snippets of code that I’ve discovered and will probably use over and over again. They will be for either python or TCL. I’m not claiming to have figured these things out myself. Most of these will be things I’ve read somewhere else on the internet, maybe I’ve altered them a little for my needs. I’ll try to link to the source where I can.

Other useful places to find code snippets can be found here: