code: def display_map(fname):
      
      print("viewing ", fname)
      
      app = view_tk(None)
      app.show_grid_from_file(fname)
      app.title('Map View')
      #app.after(2000,vais_main_loop(app))
      
          # bind mouse and keyboard for interactivity
    #  frame = Frame(app, width=100, height=100)
     # frame.bind("<Button-1>", callback)
      app.canvas.bind("<Button-1>", callback)
      app.bind("<Key>", key)
  
      
      app.mainloop()
docs: view a text file (map) in high resolution