On Mon, 16 Aug 2004 20:33:14 +1000, Maurice Ling <[EMAIL PROTECTED]> wrote:
> My current way [of managing two Python installations] is to a > sys.path.append every time I use macpython so that my installed > packages are recognized. I am also using jython. Although this is a > complete different story, there is a registry file in jython that I > can enter extra paths so that I do not have to do sys.path.append > every time. Although this is the wrong place to ask this but is there > a similar mechanism in fink python and macpython? I will appreciate > any help. Because I think the simplest way out is to have a way so > that both pythons will search the same (somewhat duplicated as well) > set of libraries. In addition to what Martin mentioned, you can also set the PYTHONSTARTUP environment variable to point to a python script that will be executed when Python starts up. That script can check which Python is running (fink's or Apple's; look inside the sys module for more information) and take different actions depending on the result. I also highly recommend the usenet group comp.lang.python (or the equivalent mailing list) and the Python Mac SIG for Python and Mac Python related quesstions. See the first two links listed on <http://www.python.org/community/>. HTH, Dan -- Dan Sommers Atoms are not things. This sentence is false. --Werner Heisenberg <mailto:[EMAIL PROTECTED]> Intercourse the penguin. <http://www.tombstonezero.net/dan/> --Monty Python's Flying Circus ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
