[Tutor] (no subject)
alan.gauld@bt.com
alan.gauld@bt.com
Mon, 17 Dec 2001 16:34:14 -0000
> a) when I type in python - os.access('c:\...')
Erm, this isn't meant to be cheeky but you're not
literally typing in the three dots are you?
ie You need to provide a valid file specification:
os.access('c:/autoexec.bat')
(NB forward slash works on DOS too.)
If you are typing the three dots that's the problem,
the os won't recognise it.
Alan g.
Author of the 'Learning to Program' web site
http://www.freenetpages.co.uk/hp/alan.gauld