The problem is much more involved to describe than the solution. I run windows XP, and I keep python scripts all over my drive. Rather than adding all sorts of subdirectory's to my path, i create hardlinks to the scripts that I need to use from the command line in a single \bin directory. The problem is that when I edit a file with PythonWin, the code to save the file first renames the current version of the file to a backup version, and then saves new file with same name. This is a problem, because the hardlink now connects the backup copy to the copy living in my bin directory, so when I try to run it, the backup runs instead of the current version.
The solution seems to be change pythonwin\pywin\framework\editor\document.py line 70 from: os.rename(fileName, bakFileName) to: something like shutil.copy(fileName, bakFileName) and adding "import shutil" at the top This seems to work for me. That said, I do not have CVS, and I am unwilling to invest the time and effort to install it to make this change. If this email is worthless, since I am too lazy to install cvs and make the change myself, then please feel free to ignore me. Have a good one everybody, Gerard _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32