[pywin32-bugs] [ pywin32-Bugs-2489735 ] AttributeError: win32file.CreateSymbolicLink on Vista
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2009-01-06 10:20:49
|
Bugs item #2489735, was opened at 2009-01-06 19:56 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2489735&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: win32 Group: None >Status: Closed >Resolution: Out of Date Priority: 5 Private: No Submitted By: Jens Diemer (pylucid) Assigned to: Nobody/Anonymous (nobody) Summary: AttributeError: win32file.CreateSymbolicLink on Vista Initial Comment: example: ------------------------------------------------------ import sys import platform import win32file print "sys version:", sys.version print "platform...:", platform.platform() print "\n***\n" win32file.CreateHardLink # ok win32file.CreateSymbolicLink # AttributeError: 'module' object has no attribute 'CreateSymbolicLink' ------------------------------------------------------ Output: ------------------------------------------------------ sys version: 2.5.2 (r252:60911, Mar 27 2008, 17:57:18) [MSC v.1310 32 bit (Intel)] platform...: Windows-Vista-6.0.6001-SP1 *** Traceback (most recent call last): File "test.py", line 14, in <module> win32file.CreateSymbolicLink # AttributeError: 'module' object has no attribute 'CreateSymbolicLink' AttributeError: 'module' object has no attribute 'CreateSymbolicLink' ------------------------------------------------------ ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2009-01-06 21:20 Message: it should work with the most recent pywin32 build on any Python version on vista. ---------------------------------------------------------------------- Comment By: Jens Diemer (pylucid) Date: 2009-01-06 20:59 Message: Works with Python 2.6.1! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2489735&group_id=78018 |