Just random python scraps & examples that I play around with to test things.
File |
Descrption |
ex |
basic example of try catch exception handling |
File |
Descrption |
function_lib_object |
An interesting way to have a large library of functions where the toolchain can be specified per instance - without needing to modify the source code. Minimal duplication. |
File |
Descrption |
echoserver |
server that prints Hello, World! to the landing page |
webserver |
basic webserver that prints Hello, World! to the landing page |
taskListServer |
Prints a title and a list to a landing page |
File |
Descrption |
popup |
popup window with an image for a few seconds |
loop |
loop through a directory of images and display to two plots |
subplots |
sequentially plots an image to two subplots |
concat |
image concatenation for side by side viewing |
stacked |
image concatenation and vertical for viewing images as a stack |
File |
Descrption |
loopy |
loops through a list in chunks |
File |
Descrption |
cv2_rgb_mask |
Testing out numpy masking arrays etc. |
File |
Descrption |
os_shutil_stuff |
Creating and deleting files via python shutil |
File |
Descrption |
regexes |
Basic example of string replacement with regexes |