I get the path
dire=os.path.abspath(".")
and
for fileName in filter(os.path.isfile, os.listdir(path=direc))
but dire
has C:\\
and sends me the next error:
TypeError: listdir() takes no keyword arguments
when I print dire
to see the content print next:
C:\\user\\documents....
what can I do to get \
and not \\
in os.path.abspath(".")
?