Changeset 991 in lmdz_wrf


Ignore:
Timestamp:
Aug 9, 2016, 5:23:27 PM (8 years ago)
Author:
lfita
Message:

Adding `printing_dictionary': Function to print the content of a dictionary

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/generic_tools.py

    r990 r991  
    81098109#print pyHOME
    81108110
     8111def printing_dictionary(dictv):
     8112    """ Function to print a dictionary
     8113      dictv= dictionary to print
     8114    """
     8115    fname = 'printing_dictionary'
     8116
     8117    for key in dictv.keys():
     8118        print '#  ' + key + ': ', dictv[key]
     8119
     8120    return
    81118121#quit()
    81128122
Note: See TracChangeset for help on using the changeset viewer.