def show_env():
 envs = ['PATH', 'ORACLE_HOME', 'TNS_ADMIN', 'NLS_LANG']
 result = {}
 for env in envs:
  if (env in os.environ):
   result[env] = os.environ[env]
 return result

def show_env ( ) : envs = [ 'PATH' , 'ORACLE_HOME' , 'TNS_ADMIN' , 'NLS_LANG' ] result = { } for env in envs : if ( env in os . environ ) : result [ env ] = os . environ [ env ] return result
show environment used by oracle client cli example: .