My scrapbook about almost anything I stumble upon in my tech world. If you find anything useful don't forget to give thumbs-up :)

Breaking

Python Training


An Overview of Python

    • What is Python?
    • Interpreted languages
    • Advantages and disadvantages
    • Downloading and installing
    • Which version of Python
    • Where to find documentation

Running Python Scripts

    • Structure of a Python script
    • Using the interpreter interactively
    • Running standalone scripts under Unix and Windows

Getting Started

    • Using variables
    • String types: normal, raw and Unicode
    • String operators and expressions
    • Math operators and expressions
    • Writing to the screen
    • Command line parameters
    • Reading from the keyboard

Flow Control

    • About flow control
    • Indenting is significant
    • The if and elif statements
    • while loops
    • Using lists
    • Using the for statement
    • The range() function

Sequence Data

    • list operations
    • list methods
    • Strings are special kinds of lists
    • tuples
    • sets
    • Dictionaries

Defining Functions

    • Syntax of function definition
    • Formal parameters
    • Global versus local variables
    • Passing parameters and returning values

Working with Files

    • Text file I/O overview
    • Opening a text file
    • Reading text files
    • Raw (binary) data
    • Using the pickle module
    • Writing to a text file

Dictionaries and Sets

    • Dictionary overview
    • Creating dictionaries
    • Dictionary functions
    • Fetching keys or values
    • Testing for existence of elements
    • Deleting elements

Errors and Exception Handling

    • Dealing with syntax errors
    • Exceptions
    • Handling exceptions with try/except
    • Cleaning up with finally

Using Modules

    • What is a module?
    • The import statement
    • Function aliases
    • Packages

Regular Expressions

    • RE Objects
    • Pattern matching
    • Parsing data
    • Subexpressions
    • Complex substitutions
    • RE tips and tricks

An Introduction to Python Classes

    • About o-o programming
    • Defining classes
    • Constructors
    • Instance methods
    • Instance data
    • Class methods and data
    • Destructors

No comments:

Post a Comment

Disclaimer

The postings on this site are my own and don't necessarily represent IBM's or other companies positions, strategies or opinions. All content provided on this blog is for informational purposes and knowledge sharing only.
The owner of this blog makes no representations as to the accuracy or completeness of any information on this site or found by following any link on this site. The owner will not be liable for any errors or omissions in this information nor for the availability of this information. The owner will not be liable for any losses, injuries, or damages from the display or use of his information.