[Roger Upole]
| [... snipped ugly code ...]
Thanks; I'll have to find the time to experiment
with that a bit.
TJG
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more inform
Warning: Ugly code ahead
import win32con, winioctlcon, winnt
import win32file, win32api
import os, struct
temp_dir=win32api.GetTempPath()
temp1=win32api.GetTempFileName(temp_dir,'rpp')[0]
win32file.DeleteFile(temp1)
os.mkdir(temp1)
temp2=win32api.GetTempFileName(temp_dir,'rpp')[0]
win32file.Delet
[Roger Upole]
| You can use win32file.DeviceIoControl to link directories.
| I can post some code to do so if anyone's interested.
I'd certainly be interested...
Thanks
TJG
This e-mail has been scanned for all viruses by S
You can use win32file.DeviceIoControl to link directories.
I can post some code to do so if anyone's interested.
Roger
"Brian Quinlan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Recently, I became responsible for maintaining some Python code, which was
> organized as f
Brian Quinlan wrote:
> Anyway, the problem is that Windows does not have a symlink facility to
> accommodate this (AFAIK) and the Python import mechanism does not
> resolve shortcuts.
Windows does have the equivalent of symlinks provided you are running on
NTFS with Windows 2000 or later (Goog
Brian Quinlan wrote:
> Recently, I became responsible for maintaining some Python code, which
> was organized as follows:
>
> user/pylib
> ui
> ...
> project2/pylib
> ui
> ...
> project3/pylib
> ui
> ...
> python-packages/user => /user/pylib
>
Recently, I became responsible for maintaining some Python code, which
was organized as follows:
user/pylib
ui
...
project2/pylib
ui
...
project3/pylib
ui
...
python-packages/user => /user/pylib
project2 => /project2/pylib