enumerate() is a useful function to make an iterator when used with a for loop. Here we explain different ways of usingenumerate() using a python list. enumerate() acts as an iterator yielding a tuple (index,element)when applied on a list.

get() method is useful when accessing key-value pair from a dictionary. It returns a pre-defined value (-1 in the example below) if key is not present in dictionary, else it returns the value associated with key.

With a command-line interface to the server, it is often hard to quickly scan through the contents on a server. This can be circumvented using jupyter-lab (or jupyter notebook) running on the server and accessing it using a client machine. I presume you have already installed jupyter-lab (or jupyter-notebook) on server. Jupyter-lab is a better option as it comes with a file-navigator, spread-sheet viewer (faster than excell, reminds me of sublime text) and an image-viewer. Check out this video for the latest feature updates in jupyter-lab.