I'm trying to get the current directory using the OS module, like that:
directory=os.getcwd()
However, when I do this, the directory comes with \, like 'C:\Users\...'
, and I need to use directory with \\ or /.
Is that anyway to get the directory with \\
or /
?