You are here:About>Computing & Technology>Python> Beginning Python> Python Programming - Before Programming Python - Summary
About.comPython
Newsletters & RSSEmail to a friendSubmit to Digg

How a Computer Reads a Program

From Al Lukaszewski,
Your Guide to Python.
FREE Newsletter. Sign Up Now!

Summary

In summary, you should keep the following points in mind when you write your programs:
  • A computer does only what you tell it to do.
  • A computer program consists of data and code.
  • There are three kinds of statements: assignment, control, and operation.
  • The computer is the subject of every command in a program.
  • It reads your program looking for coherent statements made up of reserved words and arguments.
  • It then does what you tell it to do with the data.
  1. Clueless Computers
  2. Reserved Words Are Key
  3. Picking an Argument - Part 1
  4. Picking an Argument - Part 2
  5. Picking an Argument - Part 3
  6. Three Statements - Part 1
  7. Three Statements - Part 2
  8. Summary

<< Previous | Next

 All Topics | Email Article | | |
Advertising Info | News & Events | Work at About | SiteMap | Reprints | HelpOur Story | Be a Guide
User Agreement | Ethics Policy | Patent Info. | Privacy Policy©2008 About, Inc., A part of The New York Times Company. All rights reserved.