Kenneth Richards
Copyright © 2008 Kenneth Richards - All Rights Reserved
Learn how to use the python programming language to create powerful applications.
Know how to write and use the following literals.
Literal Values
Boolean
Integers
Floats
Strings
Characters
Dates
Times
Datetimes
Decimal
Complex
Expressions
Mathematics (+, -, *, /, modulus)
Trig Functions (Sin, Cosine, Tangent)
Spanning multiple lines
Arrays & Hashtables
Creating arrays
Calculating the size of an array
Resizing an array
Removing elements from an array
Enumerating an array (for each)
Merging arrays
Sorting arrays
Creating hashtables
Retrieving hashtable keys
Enumerating a hashtable (for each)
String Manipulation
Concatenation
Extracting a character
Manipulating characters
Extracting a substring
Replacing a substring
Trim whitespace
Regular Expressions
Pattern syntax
Pattern modifiers
Regular expression matching
Regular expression replacement
Subexpression matching
Back references
Classes and Objects
Defining classes
Instantiating objects
Inheritance
Method & operator overloading
Destroying objects
Exception Handling
Handling exceptions that are thrown
Creating custom exceptions
Raising exceptions
Try-Finally blocks (trapping errors)
Using a Database
Using a database for persistant storage
Open a connection to a database
Execute a select statement and retrieve the results
Perform an insert, update or delete operation
Enumerating the tables in the database
Enumerating the columns in a table
Enumerating the stored procedures
Enumerating the functions
Enumerating the views
Enumerating the triggers
Enumerating the constraints
Environment Variables
How to access server environment variables
List all of the environment variables
Filesystem Operations
Opening a file
Reading & writing a file
Closing a file
Enumerating a directory
Checking if a file exists
Deleting a file
Email
Configuring for e-mail
How to send an e-mail
File Upload
How to upload a file
How to control the types of files that are uploaded
How to limit the size of file that is uploaded
Setting the permissions on the upload folder
How to move the file to a new folder
-
-
Create a blank
XML document
Traverse the nodes in the document
Find nodes matching an element name (or attribute name)
Extract data from an element or attribute
How to communicate to another server using
RPC
Commenting
Comment syntax