Python Snippets for plotting and saving, reading user input from keyboard, reading DICOM images, reading XML files.