[Pythonmac-SIG] setting path env stuff for terminal & MacPython

kevin kevin at macosx.com
Sun Sep 21 20:48:32 EDT 2003


Hi.

I am still recovering from a hard disk crash and trying to very quickly 
get my python set up back up. I sometimes use python in the 
shell/terminal.app and sometimes fire up Jack's MacPython and work in 
that interpreter as well. But i need for both pythons to see my 
~/scripts and ~/python directories and whatever. How do i add these to 
my path & env so that 1> MacPython sees them, and 2> 
/usr/local/bin/python does too.

for the apple built in python i though that i would have to just add 
some crap to the /Users/kevin/Library/init/tcsh/path file (this takes 
the place of the old ~/.cshrc & ~/.tcshrc stuff) no?

but then i also remember some crapola that apple added that made you 
have to go in and make a
~/.MacOSX/Environment.plist file or some such poorly documented secret 
Apple non-sense?

Anyway... I had this all set up and was happily hacking python and i'd 
like to get to that state again. Is there (or should there be?) a "now 
that you downloaded python what the hell do you do" page that explains 
all this env and path biz? so that you can make folders and execute 
scripts from them easily?

BTW, Package manager rocks! Much improved and so sweet for getting set 
up quickly! We love Jack! Jack for president!

cheers,

kevin parks
the university of virginia

P.S. what are folks using for GUI point click syntax coloring included 
text editing? BBedit was what i used but it is getting kinda steep 
price wise. I am not too keen on the IDE as i have never gotten that 
thing to do syntax coloring and i am a baby and need it and find it 
immensely helpful. Plus i can never figure out what the IDE is doing 
when i run scripts from it.

P.P.S BACKUP!!! IT CAN HAPPEN TO YOU (lost lost of work.... boo hoo)





More information about the Pythonmac-SIG mailing list