Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python and Ubuntu
#1
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]
where it says that my version is Python 3.7.4.

On bash, on the contrary:
[Image: 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,
newbieAuggie2019

"That's been one of my mantras - focus and simplicity. Simple can be harder than complex: You have to work hard to get your thinking clean to make it simple. But it's worth it in the end because once you get there, you can move mountains."
Steve Jobs
Reply


Messages In This Thread
Python and Ubuntu - by newbieAuggie2019 - Sep-23-2019, 08:39 PM
RE: Python and Ubuntu - by metulburr - Sep-23-2019, 09:02 PM
RE: Python and Ubuntu - by newbieAuggie2019 - Sep-23-2019, 09:57 PM
RE: Python and Ubuntu - by metulburr - Sep-23-2019, 10:32 PM
RE: Python and Ubuntu - by newbieAuggie2019 - Sep-24-2019, 10:16 AM
RE: Python and Ubuntu - by snippsat - Sep-24-2019, 04:47 AM
RE: Python and Ubuntu - by wavic - Sep-24-2019, 07:28 AM
RE: Python and Ubuntu - by metulburr - Sep-24-2019, 12:22 PM
RE: Python and Ubuntu - by perfringo - Sep-24-2019, 02:37 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Python in Singularity Container on Ubuntu erdemath 0 926 Aug-31-2022, 02:17 PM
Last Post: erdemath
  Python icons in Ubuntu KatManDEW 4 80,691 Aug-12-2022, 08:33 AM
Last Post: rob101
  Python 3.8 on Ubuntu 20.04 erdemath 1 1,395 Mar-07-2022, 09:31 PM
Last Post: Larz60+
  Python script in Ubuntu core Nithin_Kumar 1 3,399 May-11-2021, 01:14 AM
Last Post: Skaperen
  Python Program running a lot slower after change to Ubuntu hubenhau 1 2,931 Mar-02-2021, 05:01 PM
Last Post: Serafim
  Can't install pip for Python 3.7.4 in Ubuntu virtual OS netbids 9 6,333 Dec-31-2019, 04:42 AM
Last Post: netbids
  Python to .so library in Ubuntu for web server danowitz 0 2,103 Dec-20-2019, 06:42 AM
Last Post: danowitz
  (python-)rtmidi/Ubuntu Spiekes 1 2,411 Oct-09-2019, 10:27 PM
Last Post: metulburr
  Python 2.7 and Ubuntu 19.04? ProDigit 2 4,638 May-25-2019, 12:03 PM
Last Post: snippsat
  Changing Python Versions in Ubuntu 16.04 ErnestTBass 2 3,167 Jan-10-2019, 05:45 PM
Last Post: metulburr

Forum Jump:

User Panel Messages

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