Well what I have is a bunch of edges files that I managed to put in a list of graphs, but the problem is I want to process them as a single dynamic network but I don't have any clue on how to do it, I've been looking all around the documentation of networkx and dynetx with no response; So here's what I've done so far:
import networkx as nx
import matplotlib.pyplot as plt
from operator import itemgetter
import dynetx as dnx
#from glob import glob
import os
#path to the files
path = '../Ants'
#Create a list of graph from the files
G = [nx.read_weighted_edgelist(path+'/'+f, create_using=nx.Graph(), nodetype=int) for f in os.listdir(path) ]