0 Replies - 402 Views - Last Post: 10 May 2013 - 08:27 AM Rate Topic: -----

#1 Migs   User is offline

  • New D.I.C Head

Reputation: 3
  • View blog
  • Posts: 11
  • Joined: 09-February 08

Prompt with OS X open window for file read

Posted 10 May 2013 - 08:27 AM


I am new to Python, and using coderunner on os x since I'm scared of trashing my os by using the terminal, and because using the terminal implies Unix, which I'm not too familiar with.

Im looking for the following sample code:

I want to read in and write out a text file using OS X's open and save dialog boxes to locate the file and later to decide where to write it.

I want the Mac OS X file open dialog box to present itself to the user so he can find the text file to read and then read it in.

Similarly when I'm done working with the file, I would like to present the user the Mac OS X file save dialog box so the user can choose where to write the file.

Thanks in advance amigos!


Is This A Good Question/Topic? 0
  • +

Page 1 of 1