Rate this item
(5 votes)

Python is a dynamic, interpreted (bytecode-compiled) language.

An excellent way to see how Python code works is to run the Python interpreter and type code right into it.

If you ever have a question like, "What happens if I add an int to a list?" Just typing it into the Python interpreter is a fast and likely the best way to see what happens.


An Informal Introduction to Python

A. Using Python as Operations
  • How to install python
  • Numbers
  • Strings
  • Lists
B. Steps Towards Programming More Control Flow Tools  
  • if Statements
  • if –elsif
  • Nested if
2. Programming Loops
  • for Statements
  • The range() Function
  • break and continue Statements, and else Clauses on Loops
  • pass Statements
3. Defining Functions 4. Overloading Functions 5. Default Argument Values 6. Keyword Arguments
7. Arbitrary Argument Lists 8. Unpacking Argument Lists 9. Documentation Strings 10. Function Annotations
C. Modules
  • Executing modules as scripts
  • Standard Modules
  • The dir() Function
  • Packages
D. Errors and Exceptions
  • Syntax Errors
  • Exceptions
  • Handling Exceptions
  • Raising Exceptions
  • User-defined Exceptions

More in this category: « Matlab Research »