![]() |
|
[Question] V2/V3, what's the difference? - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Coding (https://sinister.ly/Forum-Coding) +--- Forum: Python (https://sinister.ly/Forum-Python) +--- Thread: [Question] V2/V3, what's the difference? (/Thread-Question-V2-V3-what-s-the-difference) |
[Question] V2/V3, what's the difference? - Inori - 03-31-2015 I'm a total noob to python and on the download site, there's a V2.[whatever] and V3.[whatever]. What's the difference between the two? RE: [Question] V2/V3, what's the difference? - Eclipse - 03-31-2015 You should go for V2. It's more widespread and supported by more shit. In v2, print is a statement, and raw_input() is used instead of input(). In v3, print() is a function. Those are the two biggest differences, but there's some others that you should familiarise yourself with. You can find them here. RE: [Question] V2/V3, what's the difference? - Psycho_Coder - 04-10-2015 I would say go with Python 3 since its the future and everal things specially encoding stuffs has been fixed. See the following https://wiki.python.org/moin/Python2orPython3 [Read the Section Which Version Should I Choose ?] http://sebastianraschka.com/Articles/2014_deep_python.html#python_differences http://nbviewer.ipython.org/github/rasbt/python_reference/blob/master/tutorials/key_differences_between_python_2_and_3.ipynb [IMP] Regarding the library support of Python 3 then thats not a problem since most of the useful and mostly used libraries are compatible with both Python 2 and 3 so thats not a problem at all
RE: [Question] V2/V3, what's the difference? - Inori - 04-10-2015 (04-10-2015, 08:36 AM)Psycho_Coder Wrote: I would say go with Python 3 since its the future and everal things specially encoding stuffs has been fixed. Thanks man. (And woah, haven't seen you around here in a while. wb.) RE: [Question] V2/V3, what's the difference? - Psycho_Coder - 04-10-2015 (04-10-2015, 11:36 AM)Touka Wrote: Thanks man. (And woah, haven't seen you around here in a while. wb.) Well yes I am mostly active on rC/HS. But I do visit SL every day t least once but don't post much since there's nothing much more me to post. MOst of the threads are not technical based. |