Preview

Python Notes

Powerful Essays
Open Document
Open Document
10999 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Python Notes
Programming with Python
Chapter One
Introducing Python * Powerful yet easy to use programming language * Developed by Guido van Rossum * First released in 1991 * Named after comedy troupe Monty Python * An alarming number of references to spam, eggs, and the number 42 in documentation

Why Python? It’s Easy to Use

* High-level language: Distinct from the low-level processor operations; closer to human language than machine language * "Programming at the speed of thought" * Increases productivity * Python programs three to five times shorter than Java * Python programs five to ten times shorter than C++ * Normally, “Programming is like making fine furniture with an axe and a nail file.” * Python makes it more like working with a table saw & a lathe * You still have to learn how to use them, but they’re the right tools for the job

Python Is Easy to Use

* Python Program print "Game Over!" * C++ Program
#include <iostream> int main()
{
std::cout << "Game Over!" << std::endl; return 0;
}

Python Is Powerful

* Used by large organizations * NASA * Google * Microsoft * Used in published games * Battlefield 2 * Civilization IV * Disney’s Toontown Online * Used throughout academia and the scientific community

Python Is Object-Oriented

* Object-oriented programming (OOP): Methodology that defines problems in terms of objects that send messages to each other * In a game, a Missile object could send a Ship object a message to Explode * OOP not required, unlike Java and C#

Python Is a “Glue” Language

* Can be integrated with other languages * C/C++ * Java * Use existing code * Leverage strengths of other languages * Extra speed that C or C++ offers

Python Runs Everywhere

* Platform independent: Independent of the specific computer

You May Also Find These Documents Helpful

  • Powerful Essays

    Mat 540 Week 4 Paper

    • 1775 Words
    • 8 Pages

    Although the details can be quite complex, these details are the basic principles of object-oriented programming.…

    • 1775 Words
    • 8 Pages
    Powerful Essays
  • Good Essays

    Psy300 Week 8

    • 760 Words
    • 4 Pages

    Understanding object-oriented methodologies is often difficult. You already understand that object-oriented analysis and design emulates the way human beings tend to think and conceptualize problems in the everyday world. With a little practice, object-oriented programming will become second nature to you.…

    • 760 Words
    • 4 Pages
    Good Essays
  • Good Essays

    pt1420 exam review

    • 738 Words
    • 3 Pages

    The words that make up a high level programming language are known as what? Keywords…

    • 738 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    EAS230Syllabus

    • 1748 Words
    • 8 Pages

    C++ programming: editing, compiling, user I/O, variables (ints, doubles, char, strings, booleans), loops, decisions, functions, pointers, arrays, tables, databases, sorting.…

    • 1748 Words
    • 8 Pages
    Powerful Essays
  • Good Essays

    Compter Science

    • 819 Words
    • 4 Pages

    Programming statements in a low-level language will be close to natural language and will use standard mathematical notation.…

    • 819 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    The main objective of this course/subject is to provide students with knowledge and applications of Object-Oriented Programming through the use of the Java programming language.…

    • 414 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Notes

    • 298 Words
    • 2 Pages

    This list is not exhaustive; any additional research gathered needs to be included to enhance your answer.…

    • 298 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Notes

    • 1190 Words
    • 5 Pages

    I. Describe the role of the following hormones in the formation of urine, specifically explain the stimulus for their release, actions (decrease/increase GFR) and whether or not dilute/concentrated urine results):…

    • 1190 Words
    • 5 Pages
    Powerful Essays
  • Good Essays

    an error check was needed to check the validity of the hours entered. An error check…

    • 510 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Machine language consists of a sequence or pattern of bits that are all zeros & ones. Each combination or sequence is an instruction to the computer and is the only language a computer understands. However, this is a very difficult language for humans to read or write (Venit &…

    • 1318 Words
    • 6 Pages
    Powerful Essays
  • Powerful Essays

    Waam Tech

    • 5742 Words
    • 23 Pages

    but it is also a superior instrument for the acquisition of knowledge and for storing…

    • 5742 Words
    • 23 Pages
    Powerful Essays
  • Good Essays

    is that it is entirely self-contained. Not only does it provide raw and annotated ver-…

    • 815 Words
    • 4 Pages
    Good Essays
  • Good Essays

    notes

    • 491 Words
    • 2 Pages

    directors, which is headed by Karl Hansen, the son of the founder of the company.…

    • 491 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Inheritance and Polymorphism Prepared by: Prof. Irysh Paulo R. Tipay, MSCS Quote for the Day  “That's the thing about people who think they hate computers. What they really hate is lousy programmers.” ― Larry Niven Recap!…

    • 1037 Words
    • 18 Pages
    Good Essays
  • Satisfactory Essays

    Notes

    • 386 Words
    • 2 Pages

    In this debate "testing" should be defined as all testing on animals including, medical research, cosmetics, toxicology testing, and psychological research involving animal subjects. Most existing bans on animal research, when they have been implemented, have involved some form of disciplinary action by a professional body and the possibility of criminal prosecution.…

    • 386 Words
    • 2 Pages
    Satisfactory Essays

Related Topics