On Tue, Mar 8, 2011 at 1:30 AM, Barry Warsaw <barry at python.org> wrote: > On Mar 04, 2011, at 12:00 PM, Toshio Kuratomi wrote: > >>Actually, my post was saying that these two can be decoupled. ie: It's >>possible to not have /usr/bin/python while still allowing users to type >>python at a shell prompt and get the interpreter. >> >>This is done by either redefining the PATH to include the directory that the >>interpreter named "python" is in or by creating an alias for python to the >>proper interpreter. > > I personally would prefer aliasing rather than $PATH manipulation. Toshio's suggestion wouldn't work anyway - the "/usr/bin/env python" idiom will pick up a "python" alias no matter where it lives on $PATH. Cheers, Nick. -- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
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