HELP How do I start Python?

Colin Law clanlaw at gmail.com
Sun Aug 31 07:01:59 UTC 2014


On 31 August 2014 07:03, GaryTaig <taig at melbpc.org.au> wrote:
> On 31/08/14 05:31, Johnny Rosenberg wrote:
>
>> If you just want to run some Python commands you can just run Python from
>> a
>> terminal. Just type:
>> python3
>
>
>
> I did that, Johnny.  It was instinctive; the first thing that came to mind.
> Problem was it gave me no joy because the results were:
>
> ....desktop:~$ python
> Python 2.6.5 (r265:79063, Sep 26 2013, 18:51:09)
> [GCC 4.4.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>>
>
> ....desktop:~$ python3.2
> Python 3.2.4 (default, Apr 28 2013, 17:30:25)
> [GCC 4.4.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>>
>
> And all that was as clear as mud. Complete gobbledygook. It just added to
> the overall obscurity.

You asked how to run python and that is what you have done with that
command.  At this point it is waiting for you to enter some python
commands and it will then execute them.  Generally this is not a
particularly useful way of using python, but it is what you asked for.
The problem is that I don't think the question you asked was what you
thought it was.

Colin




More information about the ubuntu-users mailing list