os.path.realpath(path) bug on win7 ?

I

iMath

os.path.realpath(path)  bug on win7 ?




Temp.link is a Symbolic link
Its target location is C:\test\test1
But 
>>> os.path.realpath(r'C:\Users\SAMSUNG\Temp.link\test2')
'C:\\Users\\SAMSUNG\\Temp.link\\test2'

I thought the return value should be ' C:\\test\\test1\\test2'

Is it a bug ? anyone can clear it to me ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top