So i'm trying to create path using the code mentioned below:
path = os.path.join(os.path.dirname(__file__),'folder_abc','file.abc')
But it keeps giving the wrong path. i.e for the above statement, value of path variable is set to :
C:/User/abc\folder_abc\file.abc
see, before abc '/' is used and after it '\' . Why is this happening ?