Python Forum

Full Version: New to Python
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I want to learn Python to analyze large sets of xml files (Xpath queries). Which version of Python I should use?

Thanks
Sairam
The newest one.
Can you please write a version name?

A reason I asked a couple of years ago though version 3.0 was available someone asked me to use 2.7.

I am especially looking for Xpath query.

Thanks
The version doesnt really matter, although i would use at least python3.x
http://www.diveintopython3.net/xml.html
3.6.3 came out just yesterday, and is totally fine.

3.0 introduced some breaking changes in the name of progress, so if they suggested something 2.x when 3.0 was still brand new, that was likely because a lot of 3rd party libs hadn't transitioned yet.  These days, though, everything new is written for 3.x, and almost everything important works with both.  You'd need a very good reason to go back to 2.x, as it's currently in bug-fix only mode, and that will cease in 2020 (at which point all development will only be for 3.x).