Re: [Tutor] Problem with os.access function. [semantic error, if check does not work]

2005-12-26 Thread Panagiotis Atmatzidis
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

Re: [Tutor] Problem with os.access function. [semantic error, if check does not work]

2005-12-25 Thread Alan Gauld
Take a look at my draft OS topic(click the url below). It will point you at several other functions that will be of use... Alan G Author of the learn to program web tutor http://www.freenetpages.co.uk/hp/alan.gauld/tutos.htm - Original Message - From: "Panagiotis Atmatzidis" <[EMAIL PR

Re: [Tutor] Problem with os.access function. [semantic error, if check does not work]

2005-12-24 Thread bob
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