triqs.gf.tools.
write_gf_to_txt
Write a GfReFreq or GfImFreq to in the format (w/iw, Re(G), Im(G)) for a single block.