def show(): import importlib import epsgref importlib.reload(epsgref) from epsgref import prj for k, v in prj.items(): print('{}:\n{}\n'.format(k, v))
def remove(self, epsg): """removes an epsg entry from epsgref.py""" from epsgref import prj self.reset(verbose=False) if epsg in prj.keys(): del prj[epsg] for epsg, prj in prj.items(): self.add(epsg, prj)
def show(): try: from importlib import reload except: from imp import reload import epsgref from epsgref import prj reload(epsgref) for k, v in prj.items(): print('{}:\n{}\n'.format(k, v))
def show(): try: from importlib import reload except ImportError: from imp import reload import epsgref from epsgref import prj reload(epsgref) for k, v in prj.items(): print('{}:\n{}\n'.format(k, v))