[conspire] Running Python 3

Elise Scher elise.scher01 at gmail.com
Sat Jul 7 08:37:41 PDT 2018


Hi People,
     I can run my class Python 3 programs from the command line of a
terminal, when I change "python," to 'python3" on the first line of my
program:

Before:
#$!/use/bin/env python

After:
#$!/use/bin/env python3

Thanks,
Elise

On Sat, Jul 7, 2018, 08:19 Elise Scher <elise.scher01 at gmail.com> wrote:

> Hi Mignon
>     I do have Python 3 on my system. In googling around, I saw that there
> is some way to make Python 3.5 the system default, instead of Python 2. I
> would like to do that.
>      Thanks for the help.
>
> Elise Scher
>
> On Fri, Jul 6, 2018, 20:20 Mignon Belongie <mignon.belongie at gmail.com>
> wrote:
>
>> Are you sure you don't have it already? Did you try running python3 at
>> the command line?
>>
>> If not, the following should work:
>>
>> $ sudo apt-get install python3.5
>>
>> Mignon
>>
>>
>> On Fri, Jul 6, 2018 at 8:02 PM, Elise Scher <elise.scher01 at gmail.com>
>> wrote:
>>
>>> Hi people,
>>>       I need your help please.
>>>       I need to run Python 3 on my tiny HP laptop, running Xbuntu. This
>>> is for my Object-Oriented Python class at Foothill College. So far, I am
>>> able to run Python 2.7 on it two ways: in Ajunta and at the command line
>>> when I bring up a terminal.
>>>      So how do I get Python 3 on to my laptop and how do I run small
>>> programs using it?
>>>       My second assignment is due tomorrow/Saturday night.
>>>
>>> Thanks,
>>> Elise Scher
>>>
>>> _______________________________________________
>>> conspire mailing list
>>> conspire at linuxmafia.com
>>> http://linuxmafia.com/mailman/listinfo/conspire
>>>
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://linuxmafia.com/pipermail/conspire/attachments/20180707/b35de1dc/attachment.html>


More information about the conspire mailing list