Re: black console window of executing os.chmod() and os.access()

2010-07-05 Thread 朱重八
Sorry, I mean "1.1.1.1\\sharedfolder" Seems os.chmod(), os.access() and os.makedirs() all have this problem when the path is a remote path. 2010/7/5 Thomas Jollans > On 07/05/2010 04:19 PM, 朱重八 wrote: > > Hi all, > > I want to use os.chmod or os.access to check the permission of a > > f

Re: black console window of executing os.chmod() and os.access()

2010-07-05 Thread Thomas Jollans
On 07/05/2010 04:19 PM, 朱重八 wrote: > Hi all, > I want to use os.chmod or os.access to check the permission of a > folder on remote Windows computer: > os.chmod("\\1.1.1.1\sharedfolder", stat.S_IWRITE) > or > os.access("\\1.1.1.1\sharedfolder", os.W_OK) That won't work: >>> print("\\1.1.1.1\sh