Another option to set environment variable on OS X is a preference pane utility available at: http://www.rubicode.com/Software/RCEnvironment/ --Larry Meyn On Oct 29, 2003, at 11:46 AM, Louis M. Pecora wrote: >> Hi Louis- >> >> I saw your MacPy post and thought I'd point out this URL. I have a >> similar problem and just came across this via the Dr. Dobb's >> Python-URL >> for this week: >> >> http://www.astro.washington.edu/owen/AquaEnvVar.html >> >> Hope it helps. If you are just using Python in a terminal window, >> the usual unix approach of defining PYTHONPATH in your .cshrc works. >> But for Python launched from the Finder, you have to play other games. > > Thanks, Tom. Much appreciated. I am using the IDE launched from the > Finder so I had to (1) Create the directory .MacOSX, (2) Create the > file Environment.plist, (3) Edit that file with the plist editor from > the Apple development tools and add the PYTHONPATH variable with > multiple paths defined and separated by colons. Careful if you do it > this way since 'option' characters are not treated well, i.e. > apparently not recognized in the actual file path. There's probably a > work-around for the latter. Now that I have the Environment.plist I > can actually use BBEdit to change it by choosing Open Hidden in the > File menu. Creating the file from scratch would be tough since it's > an XML file -- about which I know nuthin'. But easy to change once > you see the layout. Jack Jensen has been looking for suggestions for > a better way to do this. I thought about writing a Python script to > do it, but time may not let me get to that right away. > >> Thanks for the pointer to Bob's packaging of Piddle. I've been >> looking for simple plotting with Python on OS X for the last few >> days; Bob must have added this since I last checked his site. > > Yeah, Piddle is a neat little package. Easy to build up your own > plotting functions from some simple Piddle calls. I'm very happy > someone is keeping it current. > > -- > > Cheers, > > Lou Pecora > > > _______________________________________________ > Pythonmac-SIG maillist - Pythonmac-SIG at python.org > http://mail.python.org/mailman/listinfo/pythonmac-sig > >
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4