Tu passe 2 arguments à une fonction qui n'en demande qu'un seul.
l'aide en ligne de python:
remove( path)
Remove the file path. If path is a directory, OSError is raised; see rmdir() below to remove a directory. This is identical to the unlink() function documented below. On Windows, attempting to remove a file that is in use causes an exception to be raised; on Unix, the directory entry is removed but the storage allocated to the file is not made available until the original file is no longer in use. Availability: Macintosh, Unix, Windows.
A mon avis tu as fait une erreur: remove supprime un fichier. Est-ce que tu veux faire?
[^] # Re: Le message d'erreur si tu veux qu'on t'aide!
Posté par totof2000 . En réponse au message Aide pour script. Évalué à 2.
os.remove ("z:2006円","c:2006円")
TypeError: remove() takes exactly 1 argument (2 given)
Tu passe 2 arguments à une fonction qui n'en demande qu'un seul.
l'aide en ligne de python:
remove( path)
Remove the file path. If path is a directory, OSError is raised; see rmdir() below to remove a directory. This is identical to the unlink() function documented below. On Windows, attempting to remove a file that is in use causes an exception to be raised; on Unix, the directory entry is removed but the storage allocated to the file is not made available until the original file is no longer in use. Availability: Macintosh, Unix, Windows.
A mon avis tu as fait une erreur: remove supprime un fichier. Est-ce que tu veux faire?