[Tutor] Directories and Macintosh

Barth, Dylan D.BARTH at tcu.edu
Fri May 29 19:10:33 CEST 2015


Hi there, I've never used this before and I'm very new to programming, but I have an interesting and unique problem. I want to change my working directory in python (permanently if at all possible) and nothing I can find online works, even when I've copy/pasted it into python. I downloaded the anaconda package and the directory right now goes into that folder instead of a different place. No matter what I do, when I put in a path for it to look at like "/Users/name/anaconda/lib/python2.7/Directory/datacopy?" It either gives back an error that it "User" is undefined or that the files that are within that directory don't exist (when I copy the path straight from the Terminal window). Can anyone help?


Ps: Running Python 2.7 on a Macintosh



-dylan


More information about the Tutor mailing list