[Python-Dev] Tool for converting %-formatting to .format()ing ? (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Sat May 10 01🔞23 CEST 2008
- Previous message: [Python-Dev] Tool for converting %-formatting to .format()ing ?
- Next message: [Python-Dev] Tool for converting %-formatting to .format()ing ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Is there a tool available that can convert 2.x code automagically to the .format() method syntax ?
Just did a quick grep of our code base and it has some 2000 lines of code that would need to be changed.
Why do you think this code needs to change?
I'd leave all the code as-is, and might not start using .format before Python 3.2, unless some coding convention says I have to.
Regards, Martin
- Previous message: [Python-Dev] Tool for converting %-formatting to .format()ing ?
- Next message: [Python-Dev] Tool for converting %-formatting to .format()ing ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]