Hi,
Under Windows XP os.access has a strange behaviour:
I create a folder test under e:
then os.access('e:\\test', os.W_OK) returns True. Everything's ok.
Now I move My Documents to this e:\test folder
Then os.access('e:\\test', os.W_OK) returns False !!
but this works:
f = open('e:\\test\\te
Error:
> print "couldn't write test file, continuing..."
>
> On Dec 1, 2007 1:48 AM, Yann Leboulanger <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> Under Windows XP os.access has a strange behaviour:
>>
>> I create a folder test under e:
>
Martin v. Löwis a écrit :
>> I create a folder test under e:
>>
>> then os.access('e:\\test', os.W_OK) returns True. Everything's ok.
>>
>> Now I move My Documents to this e:\test folder
>>
>> Then os.access('e:\\test', os.W_OK) returns False !!
>
> This description is, unfortunately, too imprecis
Tim Golden a écrit :
>
> I'm happy to contribute a doc patch if I can imagine what
> exactly to write.
>
"Don't use it under windows, always consider it's True"?
Maybe it would be a good idea to remove support for windows for this
function, or make it always return True?
Current behaviour is w
Tim Golden a écrit :
> Well, that's not the case for files: if you set your
> file's readonly attribute to True, then os.access (W_OK)
> will return False and you won't be able to write to the
> file:
> The only issue (at least, the only one we're discussing here) is:
> If os.W_OK on a directory
Martin v. Löwis wrote:
> Just in case it's not clear what Tim is getting at:
>
> if a folder is marked read-only on Windows, it doesn't mean
> that you can only read from it. The read-only bit is a legacy
> thing, anyway, since you are supposed to use ACLs to mark
> a folder as read-only (by only
Are there any python dbus bindings under windows ?
--
http://mail.python.org/mailman/listinfo/python-list
Greg Johnston wrote:
> Hey all,
>
> I'm a relative newbie to Python (switched over from Scheme fairly
> recently) but I've been using PyGTK and Glade to create an interface,
> which is a combo I'm very impressed with.
>
> There is, however, one thing I've been wondering about. It doesn't
> seem p
Hi,
I use autoconf / automake to manage my python project, and I'l like make
/ make install to create / install .pyo files instead of .py files.
Is there something I should add to my Makefile.am files to do that? Or
should I do all that myself with py_compile module?
Are there some examples so
Yann Leboulanger wrote:
> Hi,
>
> I use autoconf / automake to manage my python project, and I'l like make
> / make install to create / install .pyo files instead of .py files.
>
> Is there something I should add to my Makefile.am files to do that? Or
> should
Diez B. Roggisch wrote:
> Yann Leboulanger schrieb:
>> Yann Leboulanger wrote:
>>> Hi,
>>>
>>> I use autoconf / automake to manage my python project, and I'l like
>>> make / make install to create / install .pyo files instead of .py files.
>>
Diez B. Roggisch wrote:
> Yann Leboulanger schrieb:
>> Diez B. Roggisch wrote:
>>> Yann Leboulanger schrieb:
>>>> Yann Leboulanger wrote:
>>>>> Hi,
>>>>>
>>>>> I use autoconf / automake to manage my python project, and I&
[EMAIL PROTECTED] wrote:
>
> Hello all,
>
> I have two thing I wish to accomplish, First, put an icon in a gtk.Entry as
> in many search boxes. Second put a gtk.Checkbox in a gtk.ComboboxEntry. On
> the later I thought I could get a handle to the Combobox tree and then add a
> column and then
Gabriel Rossetti wrote:
> Hello everyone,
>
> I am wanting to create an installer for my project. I first use py2exe
> to create win32 executables and then would like to have an easy to use
> (for the end user) installer. I would need the installer to launch a
> script (a python script also tur
Piet van Oostrum wrote:
>> Asterix (A) a écrit:
>
>> A> Hi,
>> A> Here is a small class I use in my GTK application, to do some job in a
>> A> thread.:
>
>> A> class ThreadInterface:
>> A>def __init__(self, func, func_args, callback, callback_args):
>> A> '''Call a function in a th
15 matches
Mail list logo