Python Forum
New to Python - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: New to Python (/thread-5450.html)



New to Python - sairam132033 - Oct-04-2017

Hello,

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

Thanks
Sairam


RE: New to Python - nilamo - Oct-04-2017

The newest one.


RE: New to Python - sairam132033 - Oct-04-2017

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


RE: New to Python - metulburr - Oct-04-2017

The version doesnt really matter, although i would use at least python3.x
http://www.diveintopython3.net/xml.html


RE: New to Python - nilamo - Oct-04-2017

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).