from python1.5.2 to pytghon2.2.2

  • Thread starter Alberto Mantovani
  • Start date
A

Alberto Mantovani

Hi,
I have a lot of scripts written in python1.5.2 that I have to bring in
python2.2.2 , someone could give me some informations about the sintax
differences between the two versions?.
Are there some tools that can do this automatically?

thanks

Alberto
 
P

Peter Hansen

Alberto said:
I have a lot of scripts written in python1.5.2 that I have to bring in
python2.2.2 , someone could give me some informations about the sintax
differences between the two versions?.
Are there some tools that can do this automatically?

It's probably adequate to read in detail each of the What's New? pages
at http://www.amk.ca/python/ .

-Peter
 
T

Terry Reedy

Alberto Mantovani said:
Hi,
I have a lot of scripts written in python1.5.2 that I have to bring in
python2.2.2 , someone could give me some informations about the sintax
differences between the two versions?.

Most of the changes have been *additions* that do not change the
behavior of older scripts. It it quite possible that your 1.5.2
scripts will run fine in current interpreters. One way to find out it
to run them with whatever test setups you have.

TJR
 
D

Derrick 'dman' Hudson

Alberto Mantovani said:
Hi,
I have a lot of scripts written in python1.5.2 that I have to bring in
python2.2.2 , someone could give me some informations about the sintax
differences between the two versions?.

The syntax is the same, except for a new keyword (maybe two). The
_semantics_ have changed somewhat and lots of new features (library
stuff) is included.

See AMK's "What's New" write-ups on python.org for the details.

-D

--
If you want to know what God thinks about money,
just look at the people He gives it to.
-- Old Irish Saying

www: http://dman13.dyndns.org/~dman/ jabber: (e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,169
Messages
2,570,920
Members
47,462
Latest member
ChanaLipsc

Latest Threads

Top