The way that is recommended is to use the tool 2to3 which is found in the python tools directory I think here is the page on it. http://docs.python.org/library/2to3.html Ken -----Original Message----- From: programmingblind-bounce@xxxxxxxxxxxxx [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Homme, James Sent: Friday, June 19, 2009 9:35 AM To: programmingblind@xxxxxxxxxxxxx Subject: RE: Python 2.5 Hi Ken, If I have a 2.5 module that I want to use with 3.0, what do I need to do? Thanks. Jim ---------- Jim Homme, Usability Engineering. 412-544-1810. Note: I will reply to email and voice mail within four hours. "Nothing in this world can take the place of persistence. "Talent will not; nothing is more common than unsuccessful people with talent. "Genius will not; unrewarded genius is almost a proverb. "Education will not; the world is full of educated derelicts. "Persistence and determination alone are omnipotent." - Calvin Coolidge (1872-1933) -----Original Message----- From: programmingblind-bounce@xxxxxxxxxxxxx [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Ken Perry Sent: Thursday, June 18, 2009 8:17 PM To: programmingblind@xxxxxxxxxxxxx Subject: RE: Python 2.5 This is not true. I agree that 2.5 is the most used right now but I totally disagree that there are no real new features. The multiprocessing is a big one and the with statement is another big one. What I do so that it don't interfere with other programs is install it with 2.5 they will run side by side all you do is install it and relink the python application with python2.5 Then when you want to run a python application in 2.6 you either put #!/usr/bin/python2.6 in the top or you use python2.6 bla.py. Those are not the only two big changes either they are just the two biggest that are making a difference in some of the things I am writing. I will also point out that I have found it runs a small bit faster on a bubble sort running 100,000 random numbers through the loop. They are the same run of numbers for each test and it consistently comes out a small bit faster than 2.5. It comes out even faster if you use some of the advanced looping features. Also the garbage collector is a bit smarter which makes for a much better time for all. Ken -----Original Message----- From: programmingblind-bounce@xxxxxxxxxxxxx [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Jamal Mazrui Sent: Thursday, June 18, 2009 6:18 AM To: ProgrammingBlind@xxxxxxxxxxxxx Subject: Python 2.5 To any beginning Python programmers, this is the version I recommend using rather than 2.6 or 3.x. If you know what you are doing and have a specific need to use the later versions, then go for it. Otherwise, you will probably encounter compatibility problems with popular 3rd party Python libraries, including py2exe -- the one that lets you create independent executables on Windows. In my opinion, there is almost no functionality that one loses by using 2.5 at this time. 2.6 and 3.x are mainly a matter of syntax changes and re-organization of built-in modules so far. This is not a disapproval of the direction the Python language is going -- just a reality check on what is working well at present, so beginners can minimize headaches. Jamal __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind This e-mail and any attachments to it are confidential and are intended solely for use of the individual or entity to whom they are addressed. If you have received this e-mail in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this e-mail without the author's prior permission. The views expressed in this e-mail message do not necessarily represent the views of Highmark Inc., its subsidiaries, or affiliates. V'�����l�w�f���ڝ�!jxʋ���m�x,j�m���� �祊�l��?�+-��肶��)�nX� __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind