Problem with os module

Aline Dumay Aline.Dumay at mc2.fr
Wed Jun 28 09:36:23 EDT 2000


Hi!
I'm new on the list, and I'm french, so excuse my english, please.

I'm using python with IntraSpect, and I've got a problem.
When I use the following instructions:

from os import *
if os.path.isfile("c:\test"):
   # whatever_you_were_going_to_do
   pass
 else:
   print "Error" # file not found

I've always the following message :  class 'org.python.modules.os' has
no attribute 'path' .
I've got the class in my classpath. I don't understand where is the
problem.
Can anyone help me?

Regards,
Aline.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Aline.Dumay.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: Carte pour Aline Dumay
URL: <http://mail.python.org/pipermail/python-list/attachments/20000628/e5bfac34/attachment.vcf>


More information about the Python-list mailing list