How to test a function in Python which creates a directory? Can you give an example make_directory_test() function?
make_directory_test()
def make_directory(directory): if not os.path.exists(directory): os.makedirs(directory)
Aucun commentaire:
Enregistrer un commentaire