Results 1 to 2 of 2
  1. #1

    Member Since
    Mar 20, 2012
    Where to save text files on macosx
    I am doing natural language processing-related stuff and I have .txt files I need to parse. I just switched over from Windows 7 to mac and I'm still getting acquainted with the file structure. I'm working with Python. In Windows I would just save all my text files to the sitepackages folder and play around with them in IDLE from there. On my mac, I saved the text file under lib/python2.7 and tried doing a simple open('file.txt', 'r') in IDLE and it didn't recognize the file. My question is where should I save text files so that IDLE or .py modules can find them?


  2. #2

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    2012 13" MBP (2.5 i5, 8GB)
    Use the full path to the file - you shouldn't be saving anything in your site-packages folder. Put them somewhere in your user folder.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Save/Copy text from a Verbose startup?
    By Mikentosh in forum OS X - Operating System
    Replies: 2
    Last Post: 04-29-2015, 02:33 PM
  2. HELP! Word won't save my formatted text--opens unformatted every time.
    By MelyndianaJones in forum OS X - Apps and Games
    Replies: 6
    Last Post: 06-01-2011, 03:36 PM
  3. Mac OS X can not save files larger than 4GB (Torrent Save)!!
    By black knight in forum OS X - Operating System
    Replies: 5
    Last Post: 08-13-2010, 07:58 AM
  4. Running ".exe" files under MacOsX
    By ianfrankmartin in forum OS X - Apps and Games
    Replies: 6
    Last Post: 10-14-2007, 01:54 PM
  5. Spanning Rar or Zip files on MacOSX
    By integra97 in forum OS X - Apps and Games
    Replies: 3
    Last Post: 02-15-2006, 05:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts