Prints edges along with the information attached to the edges
#Package needed for this to work #import sys #This will display a list of edges along with edge attributes nx.write_weighted_edgelist(G,sys.stdout)