Py3k looks like a new language

    Hi folks, another long gap. I had been trying to work with Py3k, but in vain. I had not updated myself even to Python 2.6, when I read about the release of RC1 for python 3.0(Py3k), and its documentation I was totally stunned to know that everything right from the basic “print” statement to the use of strings has changed. When I weent through the “What’s new”, I just understod that my knowledge has been just repositioned to 0(Though I need to agree that it was always close to zero 🙁 ).

      Looking at all these, I am certain that all my previous code will shout hundreds of errors when I use the python3.0 interpreter with those code. Also, I had the habit of working with the python interpreter shell for quick needs. And now am getting errors very very frequesntly with that. Though I had been reading about the huge changes between the 2.x versions and the (then)impending 3.0 version for the past few months, I didn’t realise how grave it was until I started using the new version.

    Luckily, they have a converter that will convert code from the 2.6 version to the Py3k. And it seems they had made 2.6 with an hint of the appraoching storm. So, I think the best way to convert any old 2.x code of mine,  that I might want to use, to 3.0 is to convert the code to 2.6 first and then to 3.0 using the converter.

 

     Oh God, I think I have a new language to learn before I can say “I know something in Python”.

2 thoughts on “Py3k looks like a new language”

    1. Hi,
      Should say so. But, as long as we use 2.x interpreters, it is fine. But py3k really seems to take time to learn as we have to come out of some of our py 2.x concepts

Leave a Reply to Balachandran Cancel reply

Your email address will not be published. Required fields are marked *

Unable to load the Are You a Human PlayThru™. Please contact the site owner to report the problem.