From neilnln at hotmail.com Fri Feb 8 16:28:49 2008 From: neilnln at hotmail.com (nlneilson) Date: Fri, 8 Feb 2008 07:28:49 -0800 (PST) Subject: [Idle-dev] Idle with Python25 'AND' Python30 Message-ID: <15357220.post@talk.nabble.com> How can Idle be run with Python25 and also be able to run with Python30?? What command line parameters, or in a batch file, can be used to specify that Idle that came with 2.5 can be run with Python25 and the Idle that came with 3.0 can run with Python30? With PyScripter I was able to do this: C:\"Program Files"\PyScripterv1.9.9.1\PyScripter.exe --pythondllpath=C:\Python30 After several hours of tinkering I was unable to get Idle to run with Python25. I tried this and many others: C:\Python25\Lib\idlelib\idle.py pythondllpath=C:\Python25 The python path has been removed from the OS path. python25.dll and python30.dll are in system32 folder. python25.dll is in the Python25 folder python30.dll is in the Python30 folder I have many 2.5 programs and am now switching to 3.0. I would appreciate help to be able to use Idle with both. -- View this message in context: http://www.nabble.com/Idle-with-Python25-%27AND%27-Python30-tp15357220p15357220.html Sent from the Python - idle-dev mailing list archive at Nabble.com. From taleinat at gmail.com Sun Feb 10 18:34:26 2008 From: taleinat at gmail.com (Tal Einat) Date: Sun, 10 Feb 2008 19:34:26 +0200 Subject: [Idle-dev] Idle with Python25 'AND' Python30 In-Reply-To: <15357220.post@talk.nabble.com> References: <15357220.post@talk.nabble.com> Message-ID: <7afdee2f0802100934w51a79968h8b19aa5edb57460c@mail.gmail.com> nlneilson wrote: > > How can Idle be run with Python25 and also be able to run with Python30?? > [snip] > > After several hours of tinkering I was unable to get Idle to run with > Python25. > I tried this and many others: > C:\Python25\Lib\idlelib\idle.py pythondllpath=C:\Python25 > [snip] Try this: (works for any Python script) C:\Python25\python.exe C:\Python25\Lib\idlelib\idle.py Or the shorter and simpler: (works only with modules) C:\Python25\python.exe -m idlelib.idle - Tal From neilnln at hotmail.com Mon Feb 11 14:59:25 2008 From: neilnln at hotmail.com (nlneilson) Date: Mon, 11 Feb 2008 05:59:25 -0800 (PST) Subject: [Idle-dev] Idle with Python25 'AND' Python30 In-Reply-To: <7afdee2f0802100934w51a79968h8b19aa5edb57460c@mail.gmail.com> References: <15357220.post@talk.nabble.com> <7afdee2f0802100934w51a79968h8b19aa5edb57460c@mail.gmail.com> Message-ID: <15411985.post@talk.nabble.com> Thanks Tal, it works great. Tal Einat wrote: > > nlneilson wrote: >> >> How can Idle be run with Python25 and also be able to run with Python30?? >> > [snip] >> >> After several hours of tinkering I was unable to get Idle to run with >> Python25. >> I tried this and many others: >> C:\Python25\Lib\idlelib\idle.py pythondllpath=C:\Python25 >> > [snip] > > Try this: (works for any Python script) > C:\Python25\python.exe C:\Python25\Lib\idlelib\idle.py > > Or the shorter and simpler: (works only with modules) > C:\Python25\python.exe -m idlelib.idle > > > - Tal > _______________________________________________ > IDLE-dev mailing list > IDLE-dev at python.org > http://mail.python.org/mailman/listinfo/idle-dev > > -- View this message in context: http://www.nabble.com/Idle-with-Python25-%27AND%27-Python30-tp15357220p15411985.html Sent from the Python - idle-dev mailing list archive at Nabble.com.