Re: os.path.islink documentation error?

2007-12-03 Thread Gabriel Genellina
En Tue, 27 Nov 2007 14:46:24 -0300, Diez B. Roggisch <[EMAIL PROTECTED]> escribió: > Giampaolo Rodola' schrieb: >> os.path.islink documentation says: >> >> "Return True if path refers to a directory entry that is a symbolic >> link. Always False if sy

Re: os.path.islink documentation error?

2007-11-29 Thread Giampaolo Rodola'
:) You're right... My skimpy English cheated me. -- http://mail.python.org/mailman/listinfo/python-list

Re: os.path.islink documentation error?

2007-11-27 Thread Diez B. Roggisch
Giampaolo Rodola' schrieb: > os.path.islink documentation says: > > "Return True if path refers to a directory entry that is a symbolic > link. Always False if symbolic links are not supported." > > It's not clear to me why it is mentioned the DIRECTORY te

os.path.islink documentation error?

2007-11-27 Thread Giampaolo Rodola'
os.path.islink documentation says: "Return True if path refers to a directory entry that is a symbolic link. Always False if symbolic links are not supported." It's not clear to me why it is mentioned the DIRECTORY term. Shouldn't os.path.islink be used to just check if

Re: os.path.islink()

2005-01-01 Thread Denis S. Otkidach
On Wed, 08 Dec 2004 20:42:09 +1000 "Egor Bolonev" <[EMAIL PROTECTED]> wrote: > i want to detect "'s" Junctions are just mount points, not symbolic links. Dunno how to detect them in Windows. http://support.microsoft.com/default.aspx?scid=kb;en-us;205524 -- Denis S. Otkidach http://www.python.r

Re: os.path.islink()

2004-12-09 Thread JanC
Peter Maas schreef: > Thanks for the update and my apologies to Egor. I was using Win2k for > two years and never saw a link, neither at system nor at application > locations. How nasty of Microsoft to add this feature so silently :) IIRC this is something they had to add for the US government (p

Re: os.path.islink()

2004-12-09 Thread Peter Maas
JanC schrieb: There are no ntfs links. You're wrong, NTFS supports symlinks for directories and hard links for files: Thanks for the update and my apologies to Egor. I was using Win2k for

Re: os.path.islink()

2004-12-08 Thread JanC
Peter Maas schreef: > Egor Bolonev schrieb: > >> how to detect ntfs links? > > There are no ntfs links. You're wrong, NTFS supports symlinks for directories and hard links for files:

Re: os.path.islink()

2004-12-08 Thread Tim G
You may well be able to do it with the win32file module functions: GetFileAttributesEx or GetFileInformationByHandle It's not my area of expertise, but usually a bit of poking around in msdn.microsoft.com yields some results, as does Googling around for other people (often VB or Delphi-based) who h

Re: os.path.islink()

2004-12-08 Thread Erik Max Francis
Egor Bolonev wrote: gui folder link is a .lnk file What he's telling you is that Windows doesn't implement symbolic links. os.path.islink does not detect what you think it does. -- Erik Max Francis && [EMAIL PROTECTED] && http://www.alcyone.com/max/ San Jose, CA, USA

Re: os.path.islink()

2004-12-08 Thread Egor Bolonev
On Wed, 08 Dec 2004 20:29:27 +1000, Egor Bolonev <[EMAIL PROTECTED]> wrote: gui folder link is a .lnk file i want to detect "'s" C:\Documents and Settings\Егор\My Documents>dir Том в устройстве C не имеет метки. Серийный номер тома: 386D-F630 Содержим

Re: os.path.islink()

2004-12-08 Thread Egor Bolonev
is nothing but a plain file with special content, so that os.path.islink() tells the truth. Windows "links" are a special Windows feature (shortcuts) and must be detected via Win32 api calls or by searching for content characteristics of shortcuts. gui folder link is a .lnk file -- http

Re: os.path.islink()

2004-12-08 Thread Peter Maas
Egor Bolonev schrieb: far file manager said 'C:\Documents and Settings\ÐÐÐÑ\My Documents\Scripts\Antiloop\' is link how to detect ntfs links? There are no ntfs links. What appears as a link on GUI level is nothing but a plain file with special content, so that os.path.islink() tells

os.path.islink()

2004-12-08 Thread Egor Bolonev
hi all i want my program to ignore ntfs links, but os.path.islink() isnt work as i expect print os.path.islink('''C:\Documents and Settings\Егор\My Documents\Scripts\Antiloop\'''') outputs False far file manager said 'C:\Documents and Settings\Егор\M