Sep-23-2019, 08:39 PM
Hi!
As part of my ongoing quest for a colourful world:
https://python-forum.io/Thread-colouring-strings
it seemed that my problems were due to work on Windows, so I decided to give it a try at Ubuntu, although I always thought that Linux, Ubuntu and the like were for those who already knew how to program.
Well, I managed to install Ubuntu for Windows, and as I'm a completely newbie to Ubuntu, I'm not sure if that means that Ubuntu has all the capabilities, or just the ones provided by Windows and then I'll have the same problems as before ...
I tried to use Python on bash, but while on Windows cmd prompt, python appears like this:
![[Image: Python-and-Windows.png]](https://i.postimg.cc/9QcqjPCL/Python-and-Windows.png)
where it says that my version is Python 3.7.4.
On bash, on the contrary:
![[Image: ubuntu-and-python.png]](https://i.postimg.cc/tTQSXmTK/ubuntu-and-python.png)
if I type python, it says 'Command 'python' not found', but that I have 'python3 installed', so I typed python3 and then it said that my version is Python 3.6.7, not Python 3.7.4. So now I have a few questions:
1) Why is that?
2) Shouldn't be the same Python I'm using with Windows?
3) Is it a version pre-installed in Ubuntu?
4) How can I use my Python 3.7.4 and all the little programs that I've made on Windows, now on Ubuntu?
Sorry for bothering you again.
All the best,
As part of my ongoing quest for a colourful world:
https://python-forum.io/Thread-colouring-strings
it seemed that my problems were due to work on Windows, so I decided to give it a try at Ubuntu, although I always thought that Linux, Ubuntu and the like were for those who already knew how to program.
Well, I managed to install Ubuntu for Windows, and as I'm a completely newbie to Ubuntu, I'm not sure if that means that Ubuntu has all the capabilities, or just the ones provided by Windows and then I'll have the same problems as before ...
I tried to use Python on bash, but while on Windows cmd prompt, python appears like this:
![[Image: Python-and-Windows.png]](https://i.postimg.cc/9QcqjPCL/Python-and-Windows.png)
where it says that my version is Python 3.7.4.
On bash, on the contrary:
![[Image: ubuntu-and-python.png]](https://i.postimg.cc/tTQSXmTK/ubuntu-and-python.png)
if I type python, it says 'Command 'python' not found', but that I have 'python3 installed', so I typed python3 and then it said that my version is Python 3.6.7, not Python 3.7.4. So now I have a few questions:
1) Why is that?
2) Shouldn't be the same Python I'm using with Windows?
3) Is it a version pre-installed in Ubuntu?
4) How can I use my Python 3.7.4 and all the little programs that I've made on Windows, now on Ubuntu?
Sorry for bothering you again.
All the best,