Python

  1. A programming language with strong similarities to PERL, but with powerful typing and object oriented features.
    Python
  2. Commonly used for producing HTML content on websites. Great for text files. Useful built-in types (lists, dictionaries). Clean syntax, powerful extensions.
    Python
  3. Familiar syntax with other game engine languages. Productivity and readable code. "Life's better without braces" -Bruce Eckel
    Python
  4. Natural Language ToolKit. Ease of use; interpreter. Extensively used for scientific programming.
    Python
  5. _______'s built-in datatypes for strings, lists, and more. Java or C++ require the use of special classes for this.
    Python
  6. ________ has strong numeric processing capabilities: matrix operations, etc. Suitable for probability and machine learning code.
    Python
  7. Meaningful in Python: especially indentation and placement of newlines.
    Whitespace
  8. Use a newline to end a line of code.Use when must go to next line prematurely. No braces { } to mark blocks of code in Python... Use consistent indentation instead. The first line with a new indentation is considered outside of the block. Often a colon appears at the start of a new block.
    Whitespace
  9. Start comments with # – the rest of line is ignored. Can include a "documentation string" as the first line of any new function or class that you define. The development environment, debugger, and other tools use it: it"s good style to include one.
    Comment (Python)
  10. Python determines the data types in a program automatically.
    Dynamic Typing
  11. Python's not casual about types, it enforces data types after it figures them out.
    Strong Typing
  12. (T/F) In Python, names are case sensitive and cannot start with a number. They can contain letters, numbers, and underscores.
  13. Great for learning the language. Great for experimenting with the library. Great for testing your own modules. Two variations: IDLE (GUI), python (command line)
    Interactive Shell
  14. Python knows a number of compound data types, used to group together other values. The most versatile is the ____, which can be written as a list of comma-separated values (items) between square brackets.
    list
Author
FelipeJung
ID
322338
Card Set
Python
Description
1st Semester
Updated