- Joined
- Mar 20, 2012
- Messages
- 1
- Reaction score
- 0
- Points
- 1
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?
thnx
thnx