Desejo excluir o arquivo filename
se existir. É correto dizer
if os.path.exists(filename): os.remove(filename)
Existe uma maneira melhor? Um caminho de uma linha?
Desejo excluir o arquivo filename
se existir. É correto dizer
if os.path.exists(filename): os.remove(filename)
Existe uma maneira melhor? Um caminho de uma linha?
Latest questions