PKL Enregistrer plusieurs fichiers

# Using a list, tuple, or dict is by far the most common way to do this:

import pickle
PIK = "pickle.dat"

data = ["A", "b", "C", "d"]
with open(PIK, "wb") as f:
    pickle.dump(data, f)
    
with open(PIK, "rb") as f:
    print pickle.load(f)
Comfortable Cockroach