pythoncode: code to display a basis of image patches from a file in text format