Python Forum
Can I/Should I Install Python 2 AND 3? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: General (https://python-forum.io/forum-1.html)
+--- Forum: News and Discussions (https://python-forum.io/forum-31.html)
+--- Thread: Can I/Should I Install Python 2 AND 3? (/thread-11845.html)



Can I/Should I Install Python 2 AND 3? - abrogard - Jul-28-2018

I'm just starting. Installed 3. Now following an online tutorial where he says use 2 and he's pretty convincing about it.

Can I install 2 now alongside 3?

Or it won't work, or it's a hassle?

What should I do if I want to try 2 for the sake of this tute?


RE: Can I/Should I Install Python 2 AND 3? - Gribouillis - Jul-28-2018

Don't use python 2. It is an old language which won't be maintained past 2020. Would you buy a computer from twenty years ago? It is about the same thing. Technically speaking, it is possible to install python 2 alongside 3, but really, you'll be wasting your time. Try the tutorial with python 3 or find a newer tutorial.


RE: Can I/Should I Install Python 2 AND 3? - abrogard - Jul-28-2018

I've installed 2.7 so now I've got both. But from the command line I can only get 3.6 to run even though I've edited the path to put 2.7 in there.

But I can run 2.7 from the start menu icon alright.

I was trying to use this tutor: https://learnpythonthehardway.org/book/ex0.html

I don't know whether to use the IDLE or what for the best?


RE: Can I/Should I Install Python 2 AND 3? - Gribouillis - Jul-28-2018

If you really want to learn python the hard way, you can easily find 'learn python 3 the hard way' online. You can start with IDLE, it is a good beginner's tool, but do as your tutorial tells you.

You could also browse this forum's tutorial section.


RE: Can I/Should I Install Python 2 AND 3? - buran - Jul-28-2018

(Jul-28-2018, 08:32 AM)abrogard Wrote: I was trying to use this tutor: https://learnpythonthehardway.org/book/ex0.html

There are polarised opinions on LPtHW. It looks many/most of the people don't recommend it. If you google it there are plenty of discussions e.g. on reddit and you can read why.\

e.g. https://www.reddit.com/r/learnpython/comments/78qcre/learn_python_the_hard_way/


RE: Can I/Should I Install Python 2 AND 3? - abrogard - Aug-14-2018

Thanks for that. I've looked around. There's heaps of stuff I find more my style.

I find myself constantly referring to the python software foundation and getting what i want there for instance....


RE: Can I/Should I Install Python 2 AND 3? - Gribouillis - Aug-14-2018

(Aug-14-2018, 08:31 PM)abrogard Wrote: I find myself constantly referring to the python software foundation and getting what i want there for instance
A good part of learning a language is getting acquainted with the libraries shipped with that language. You will find yourself browsing the standard library's documentation very often. For every task, there is one or several tools in the library. Try to create a list of solved tasks in the tutorials and connect each of these tasks to a list of modules and functions used to solve them.