Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #6258

Re: First Program with Python!

From Richard Heathfield <rjh@cpax.org.uk>
Newsgroups comp.programming
Subject Re: First Program with Python!
Date 2016-02-09 14:30 +0000
Organization A noiseless patient Spider
Message-ID <n9ct09$phe$1@dont-email.me> (permalink)
References <56ee81f0-8542-49e5-a177-c7794f2d48d7@googlegroups.com>

Show all headers | View raw


On 09/02/16 14:11, anitagoyal571@gmail.com wrote:
> Python is a very powerful high-level, object-oriented programming
 > language.Python has a very easy-to-use and simple syntax, making
 > it the perfect language for someone trying to learn computer
 > programming for the first time. Python is an interpreted language.
 > Interpreter is a program that converts the high-level program we
 > write into low-level program that the computer understands.

That sounds more like a compiler to me. An interpreter is a program that 
interprets instructions written in a high-level language and carries 
them out straight away. It's rather like the difference between an 
interpreter who whispers a constant stream of translated information 
into a delegate's ear, and a translator who takes a batch of original 
Pliny or Tacitus and turns it into deathless English prose. If we take 
BASIC, for example:

10 PRINT "HELLO"
20 END

the interpreter's job is to convince the computer to print HELLO
on the screen RIGHT NOW, whereas the compiler's job is to create a 
program in some other language that expresses the same intent as the 
BASIC program, a program that can be executed at some later time 
/without/ a further need for using the interpreter. These are very 
distinct tasks, and your claim about a "low-level program that the 
computer understands" sounds very much more like a poorly-expressed 
misunderstanding of a compiler than it sounds like an interpreter.

 > Click here to find the difference between interpreter and compiler.

Are you sure you know?

> This tutorial is based on Python 3 and all the examples in this
 > tutorial have been tested and verified in Python.
>
> Start learning Python from basics to advance levels here...

Why should we trust a programming tutorial by someone who takes such 
little care over their grammar? (I'm not saying we shouldn't. I'm just 
asking the question.) What makes your tutorial worth reading?

-- 
Richard Heathfield
Email: rjh at cpax dot org dot uk
"Usenet is a strange place" - dmr 29 July 1999
Sig line 4 vacant - apply within

Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

First Program with Python! anitagoyal571@gmail.com - 2016-02-09 06:11 -0800
  Re: First Program with Python! Richard Heathfield <rjh@cpax.org.uk> - 2016-02-09 14:30 +0000
    Re: First Program with Python! Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-02-09 14:35 +0000
      Re: First Program with Python! Richard Heathfield <rjh@cpax.org.uk> - 2016-02-09 19:06 +0000
        Re: First Program with Python! Öö Tiib <ootiib@hot.ee> - 2016-02-09 16:55 -0800
          Re: First Program with Python! Richard Heathfield <rjh@cpax.org.uk> - 2016-02-10 09:20 +0000
          Re: First Program with Python! Kaz Kylheku <330-706-9395@kylheku.com> - 2016-02-15 16:49 +0000
    Re: First Program with Python! Öö Tiib <ootiib@hot.ee> - 2016-02-09 16:32 -0800
      Re: First Program with Python! BartC <bc@freeuk.com> - 2016-02-10 14:07 +0000
        Re: First Program with Python! David Brown <david.brown@hesbynett.no> - 2016-02-10 16:24 +0100
          Re: First Program with Python! BartC <bc@freeuk.com> - 2016-02-10 16:55 +0000
            Re: First Program with Python! David Brown <david.brown@hesbynett.no> - 2016-02-11 00:18 +0100
              Re: First Program with Python! BartC <bc@freeuk.com> - 2016-02-11 00:07 +0000
          Re: First Program with Python! Kaz Kylheku <330-706-9395@kylheku.com> - 2016-02-15 16:58 +0000
        Re: First Program with Python! Richard Heathfield <rjh@cpax.org.uk> - 2016-02-10 21:51 +0000
          Re: First Program with Python! BartC <bc@freeuk.com> - 2016-02-11 00:15 +0000
  Re: First Program with Python! Kaz Kylheku <330-706-9395@kylheku.com> - 2016-02-15 16:46 +0000
    Re: First Program with Python! BartC <bc@freeuk.com> - 2016-02-15 17:31 +0000
      Re: First Program with Python! Richard Heathfield <rjh@cpax.org.uk> - 2016-02-15 20:16 +0000
        Re: First Program with Python! BartC <bc@freeuk.com> - 2016-02-15 22:45 +0000
          Re: First Program with Python! Kaz Kylheku <330-706-9395@kylheku.com> - 2016-02-16 03:40 +0000

csiph-web