I'm new to Ubuntu and I'm learning Python.
I have installed Pyhton 2.7.12 on my pc and would like to know how I can upgrade to version 3.
I'm doing a course where I need to make use of a lib.
import urllib.request
But the following error appears:
import urllib.request
ImportError: No module named request
Looking at the internet I saw some comments saying that for this to work I needed to run the file with python 3 installed.
I would like to know how to install python 3 to fix this error.