Hello,
Thank you both for the tip's and the interesting links. I resolved my
problem easily using another function, os.path.isdir(x) which was more
specific.
Best Regards.
On 12/24/05, bob <[EMAIL PROTECTED]> wrote:
> At 05:20 AM 12/24/2005, Panagiotis Atmatzidis wrote:
> >Hello,
> >
> >I am wri
t; <[EMAIL PROTECTED]>
To: "Python Tutor"
Sent: Saturday, December 24, 2005 1:20 PM
Subject: [Tutor] Problem with os.access function. [semantic error,if check
does not work]
Hello,
I am writing a function in order to check if a directory exists. If
exists the functions must do not
At 05:20 AM 12/24/2005, Panagiotis Atmatzidis wrote:
>Hello,
>
>I am writing a function in order to check if a directory exists. If
>exists the functions must do nothing, otherwise must check the users
>permissions and if it's possible create the dir. Looking at pydoc's
>httpd I found the module "o
Hello,
I am writing a function in order to check if a directory exists. If
exists the functions must do nothing, otherwise must check the users
permissions and if it's possible create the dir. Looking at pydoc's
httpd I found the module "os" and the function "access". From the
http-doc:
access(..