<html>
<body>
At 06:13 PM 8/1/2005, Nathan Pinno wrote:<br>
<blockquote type=cite class=cite cite="">Hi all,<br>
&nbsp;<br>
I had a co-worker say to me at work that Python was related to or based
upon BASIC. Is this true, and if not, how can I tell my friend why they
are similar?</blockquote><br>
There are many versions of BASIC (Beginners All-Purpose Symbolic
Instruction Code) (or something like that). What most have in common with
Python (and a lot of other programming languages) is:<br>
variables of various data types<br>
statements<br>
expressions with numeric, string, relational and boolean operations<br>
sequential execution<br>
control structures for conditionals and loops<br>
subroutines<br>
input/output<br>
arrays<br><br>
some BASIC versions also add<br>
exception handling<br>
an attempt at OO<br><br>
Python differs in<br>
the use of indentation to convey control structure<br>
dictionaries<br>
object-oriented to the max<br>
builtin object methods<br>
all items are objects<br>
all objects may be dynamically altered<br>
object properties may be added anytime<br>
modules<br>
big library of modules<br>
and many more<br>
<x-sigsep><p></x-sigsep>
<font size=2>Bob Gailer<br>
phone 510 978 4454 </font></body>
</html>