Python Forum
Can I/Should I Install Python 2 AND 3?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can I/Should I Install Python 2 AND 3?
#1
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?
Reply
#2
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.
Reply
#3
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?
Reply
#4
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.
Reply
#5
(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/com..._hard_way/
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#6
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....
Reply
#7
(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.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020