Re: Run python script with ./

2013-04-06 Thread LubanWorks
, 2013 at 1:04 AM, LubanWorks wrote: >> >> >> >> My question is: >> >> Why when I use #!/home/luban/Linux/Python/2.7.3/bin/python at the >> beginning of myscript.py, *./*myscript.py can work, >> >> but if I use the wrapper #!/home/luban/bin/python

Run python script with ./

2013-04-05 Thread LubanWorks
Hi all, I installed two python 2.7.3 into my home directory one is for Linux: /home/luban/*Linux*/Python/2.7.3 another is for Solaris: /home/luban/*SunOS*/Python/2.7.3 then I create a wrapper named "python" in /home/luban/bin to call the different python when I am wo