On Wed, Aug 31, 2011 at 8:38 AM, Steffen Frömer
wrote:
> Hello,
>
> i try to check, if a file on network-share is read only. I tried different
> ways.
Not the prettiest, but if you want to know if the SHARE is read only,
you can do a functional test.
import os, tempfile
def check_write(filename
-Original Message-
This might help...?
http://timgolden.me.uk/python/winshell.html
-
The os.environ['appdata'] bit worked fine for me, thanks for suggesting it.
That winshell package looks quite nice--I will check it out.
--Kevin
___
On 01/09/2011 15:04, Werner F. Bruhin wrote:
On 09/01/2011 02:49 PM, Tim Golden wrote:
On 01/09/2011 13:39, Kevin Walzer wrote:
Hi,
I’m getting feedback from a Windows user that says my Tkinter app won’t
write data to an app temporary directory. Here’s my code:
sys.stderr=open(os.path.join(os.p
On 09/01/2011 02:49 PM, Tim Golden wrote:
On 01/09/2011 13:39, Kevin Walzer wrote:
Hi,
I’m getting feedback from a Windows user that says my Tkinter app won’t
write data to an app temporary directory. Here’s my code:
sys.stderr=open(os.path.join(os.path.expanduser('~'), 'Application
Data', 'Quic
On Thu, Sep 1, 2011 at 8:49 AM, Tim Golden wrote:
> On 01/09/2011 13:39, Kevin Walzer wrote:
>>
>> Hi,
>> I’m getting feedback from a Windows user that says my Tkinter app won’t
>> write data to an app temporary directory. Here’s my code:
>> sys.stderr=open(os.path.join(os.path.expanduser('~'), 'A
On 01/09/2011 13:39, Kevin Walzer wrote:
Hi,
I’m getting feedback from a Windows user that says my Tkinter app won’t
write data to an app temporary directory. Here’s my code:
sys.stderr=open(os.path.join(os.path.expanduser('~'), 'Application
Data', 'QuickWho', 'QuickWho_errors.txt'), 'w')
This
Hi,
I’m getting feedback from a Windows user that says my Tkinter app won’t write
data to an app temporary directory. Here’s my code:
sys.stderr=open(os.path.join(os.path.expanduser('~'), 'Application Data',
'QuickWho', 'QuickWho_errors.txt'), 'w')
And here’s the error message:
Traceback (mos