Chilkat Python Quick Start Tutorial (for Python v2.5)
Step 1 - Download the Chilkat Python Module
DOWNLOAD
Create a new directory anywhere on your hard drive and unzip chilkatPython.zip into it.
Step 2 - Run an Example Program
Open a DOS prompt and cd to the directory where you unzipped the Chilkat Python Module. You will find a ZipExample1.py sample program. Run the program by typing:
python ZipExample1.py
(You may also run the Python program by double-clicking on the ZipExample1.py from Windows Explorer.) The ZipExample1 program zips a directory tree and creates the file "exampleData.zip". Thats All!
Note 1 - Loading the Chilkat Module
The Chilkat Python module is only available for Microsoft Windows computers. A Python program must load it using this code:
import chilkat
Note 2 - 30 Day Trial for Commercial Classes
Chilkat's commercially licensed Python objects are fully-functional for a 30-day trial period. The UnlockComponent method should be called once at the beginning of a program. The trial period automatically begins when a non-valid unlock code is used. Licensed customers receive a permanent unlock code that is valid for all future versions of the particular object(s) licensed.
Note: The Chilkat Python library contains both freeware and commercially-licensed classes. Freeware classes, such as the ones for XML
and digital certificates, do not have an UnlockComponent method
and do not need to be unlocked.
zip = chilkat.CkZip()
zip.UnlockComponent("anything for 30-day trial")
Note 3 - Chilkat Licenses Include all Programming Languages
Each license sold by Chilkat is valid for all programming languages. For example, if you purchase a "Chilkat Zip" license, you may use the
Chilkat Zip component/library in C++, .NET, VB6, ASP, Perl, Java, Delphi, Python, Ruby on Rails, etc.
Note 4 - Upgrades are Free
Your permanent unlock code will work with all future versions of the product. Your 1-year unlimited support may expire, but you don't have to pay for new versions. Support is renewable at reduced pricing.
|