Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   os.path.realpath(path) bug on win7 ? (http://www.velocityreviews.com/forums/t956192-os-path-realpath-path-bug-on-win7.html)

iMath 01-06-2013 06:55 AM

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




os.path.realpath(path)  bug on&nbsp ;win7 ?




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

I thought the return value&nbs p;should be ' C:\\test\\test1\\test 2'

Is it a bug ? anyone&nbsp ;can clear it to me ?







All times are GMT. The time now is 01:26 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.