> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Nathan Cain
> Sent: Monday, December 04, 2006 9:52 AM
> To: tutor@python.org
> Subject: [Tutor] Why is startfile unavailable on my mac?
> 
> When I type the following in macpython IDLE,:
> 
> >>> import os
> >>> os.startfile()
> 
> I get the following error:
> 
> Traceback (most recent call last):
>   File "<pyshell#10>", line 1, in <module>
>     os.startfile()
> AttributeError: 'module' object has no attribute 'startfile'
> 
> 
> Why is this unavailable to me?
> 
> 
> I am trying to open a url in a browser window.
> 
> 
> If startfile is just not available on the mac, can someone 
> please give me some simple example code that will open 
> http://www.python.org in a safari window?
> 
> 
> Thank you.
> 
> *******************************************
> Nathan Cain

I just read the docs. I'm assuming that "Availability: Windows" means
that it's Windows only.

Mike 
-------------

  NOTICE:  This e-mail transmission and any documents or files attached to
  it contain information for the sole use of the above-identified individual or 
entity.

  Its contents may be privileged, confidential, and exempt from disclosure 
under the law.
  Any dissemination, distribution, or copying of this communication is strictly 
prohibited.

  Please notify the sender immediately if you are not the intended recipient.

FGNS
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to