-Original Message-
From: Tutor [mailto:tutor-bounces+a.bull=pubdmgroup@python.org] On Behalf
Of Chris “Kwpolska” Warrick
Sent: Friday, August 29, 2014 11:40 AM
To: Richard Dillon
Cc: tutor@python.org
Subject: Re: [Tutor] Python 3.4.1 question for Mac users
Sorry for the errorneous
Sorry for the errorneous quote-only response, gmail managed to send it
without me typing a thing.
On Fri, Aug 29, 2014 at 5:01 PM, Richard Dillon wrote:
> infile = open(r'\OS\Users\richarddillon\Desktop\my_file','r')
On the Mac, you don’t need to specify a drive there; the main drive is just
On Fri, Aug 29, 2014 at 5:01 PM, Richard Dillon wrote:
> I’m teaching myself Python 3.4.1 on a Mac and the book I’m using is written
> for Windows users.
>
> I’m trying to open a file on the desktop and I created a path using the
> example in the book.
>
>
>
> Any Mac users out there with a soluti
I’m teaching myself Python 3.4.1 on a Mac and the book I’m using is written for
Windows users.
I’m trying to open a file on the desktop and I created a path using the
example in the book.
Any Mac users out there with a solution? My main drive is named “OS”.
Here’s my code:
def main()