code: def ecs_idsKEGG(organism):
      
      kegg_ec=urlopen("http://rest.kegg.jp/link/"+organism+"/enzyme").read()
      kegg_ec=kegg_ec.split("\n")
      final=[]
      for k in kegg_ec:
          final.append(k.split("\t"))
      df=pd.DataFrame(final[0:len(final)-1])[[0,1]]
      df.columns=['ec','KEGGid']
      return df
docs: Uses KEGG to retrieve all ids and respective ecs for a given KEGG organism
  
      :param organism: an organisms as listed in organismsKEGG()
  
      :returns: a Pandas dataframe of with 'ec' and 'KEGGid'.