Python 2.7.3 or Python 3.2.3 ?

Abhishek Rawal

Abhishek Rawal

@abhishek-fg9tRh Oct 24, 2024
I am starting to learn Python, hottest scripting language right now !
Before I start just wanna make sure of my query :
- I have heard that there has been massive change from Python2 to Python3, sometimes script written in 2 needs to re-coded if to be assembled in 3. I have this book "Python for dummies" & "Python for beginners" , where Python 2 is used, so I am using Python 2.7.3 stable for "learning",once i get into it I want to use latest version, so I wanna know what major changes are there in Python 3.

If anyone knows please mention it here.
Thank you 😀

Edit : I think this post went unnoticed so tagging some CEans #-Link-Snipped-# , #-Link-Snipped-# , #-Link-Snipped-# , #-Link-Snipped-# , #-Link-Snipped-# , #-Link-Snipped-#, #-Link-Snipped-#

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • durga ch

    durga ch

    @durga-TpX3gO Dec 16, 2012

    I am learning python2.7.3 thats becasue when I decided to learn python this was considered stable version. I have not started using python3 yet.
    Currently most of the python learning kits are in 2.x , incase you are opting to learn py3.x , better have good resources to start off. python documentation is self sufficient but you need other exercises too to do what you read.

    I would still suggest you to learn the latest available stable version right now python has moved from 2.7.3 to 3.x and seems there are 3 3.x series.

    read here for further directions:<a href="https://wiki.python.org/moin/Python2orPython3" target="_blank" rel="nofollow noopener noreferrer">Python2orPython3 - Python Wiki</a>
  • Abhishek Rawal

    Abhishek Rawal

    @abhishek-fg9tRh Dec 16, 2012

    Thank you #-Link-Snipped-# for helping.

    One more question, is it possible to use Python 2.7.3 & Python 3.2.3 in same distro ? I am using Fedora Beefy miracle at this moment, in path /usr/lib I founded Python 2.7 & Python3 two folders but one single folder of Pymodules. and i am using IDLE & sometime Geany as IDE(I wonder how IDE will identify the python version to be used),so can i use py2 & py3 both in single distro ?

    Or,
    Should i use dual booted Ubuntu for Python 3.2.3 ? I wanna learn both together.

    Sorry for inconvenience ,durga.
    Just confused -_-
  • durga ch

    durga ch

    @durga-TpX3gO Dec 17, 2012

    I am using windows, so I cant comment otherwise :-|.
    But I think it should not be a problem running 2 versions of python on a given machine., as I have 2 versions (2.6 and 2.7) on my computer.

    Here as for unix/linux systems are considered, seems there is a way out.
    #-Link-Snipped-#
  • Anoop Kumar

    Anoop Kumar

    @anoop-kumar-GDGRCn Dec 17, 2012

    durga
    I am using windows, so I cant comment otherwise :-|.
    But I think it should not be a problem running 2 versions of python on a given machine., as I have 2 versions (2.6 and 2.7) on my computer.

    Here as for unix/linux systems are considered, seems there is a way out.
    #-Link-Snipped-#
    After posting my first comment in this thread I read the same link yesterday of stackexchange that you have embedded ... thank you though 😁
  • Anoop Kumar

    Anoop Kumar

    @anoop-kumar-GDGRCn Dec 17, 2012

    Thanks for tagging but I don't know a bit about Python.😖
    I am looking for android discussion if anyone want.
  • avii

    avii

    @avii-TGGs8o Dec 18, 2012

    Troll_So_Hard
    Thank you #-Link-Snipped-# for helping.

    One more question, is it possible to use Python 2.7.3 & Python 3.2.3 in same distro ? I am using Fedora Beefy miracle at this moment, in path /usr/lib I founded Python 2.7 & Python3 two folders but one single folder of Pymodules. and i am using IDLE & sometime Geany as IDE(I wonder how IDE will identify the python version to be used),so can i use py2 & py3 both in single distro ?

    Or,
    Should i use dual booted Ubuntu for Python 3.2.3 ? I wanna learn both together.

    Sorry for inconvenience ,durga.
    Just confused -_-
    Certainly you can. No need to dual boot. I use in shell python for python 2.7.3 & python3 for python 3.3.

    $python CE.py #for python 2.7.3
    $python3 CE.py #for python 3.3
    Same terminal for different interpreters. 😛😁
  • Abhishek Rawal

    Abhishek Rawal

    @abhishek-fg9tRh Dec 18, 2012

    avii
    Certainly you can. No need to dual boot. I use in shell python for python 2.7.3 & python3 for python 3.3.

    $python CE.py #for python 2.7.3
    $python3 CE.py #for python 3.3
    Same terminal for different interpreters. 😛😁
    Already Done, sir.
    Thanks for comment though 😀