Dive Into Python. Python from novice to pro. Mark Pilgrim
|
|
- Josephine Ramsey
- 9 years ago
- Views:
Transcription
1 Dive Into Python Python from novice to pro Mark Pilgrim
2 Dive Into Python: Python from novice to pro by Mark Pilgrim Published 20 May 2004 Copyright 2000, 2001, 2002, 2003, 2004 Mark Pilgrim This book lives at If you're reading it somewhere else, you may not have the latest version. Permission is granted to copy, distribute, and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in Appendix G, GNU Free Documentation License. The example programs in this book are free software; you can redistribute and/or modify them under the terms of the Python license as published by the Python Software Foundation. A copy of the license is included in Appendix H, Python license.
3 Table of Contents 1. Chapter Which Python is right for you?... 1 Python on Windows... 1 Python on Mac OS X... 3 Python on Mac OS Python on RedHat Linux... 5 Python on Debian GNU/Linux... 6 Python Installation from Source... 7 The Interactive Shell... 8 Summary Chapter Diving in Declaring Functions How Python's Datatypes Compare to Other Programming Languages Documenting Functions Everything Is an Object The Import Search Path What's an Object? Indenting Code Testing Modules Chapter Introducing Dictionaries Defining Dictionaries Modifying Dictionaries Deleting Items From Dictionaries Introducing Lists Defining Lists Adding Elements to Lists Searching Lists Deleting List Elements Using List Operators Introducing Tuples Declaring variables Referencing Variables Assigning Multiple Values at Once Formatting Strings Mapping Lists Joining Lists and Splitting Strings Historical Note on String Methods Summary Chapter Diving In Using Optional and Named Arguments Using type, str, dir, and Other Built-In Functions The type Function The str Function Built-In Functions Getting Object References With getattr getattr with Modules getattr As a Dispatcher Filtering Lists iii
4 Dive Into Python The Peculiar Nature of and and or Using the and-or Trick Using lambda Functions Real-World lambda Functions Putting It All Together Summary Chapter Diving In Importing Modules Using from module import Defining Classes Initializing and Coding Classes Knowing When to Use self and init Instantiating Classes Garbage Collection Exploring UserDict: A Wrapper Class Special Class Methods Getting and Setting Items Advanced Special Class Methods Introducing Class Attributes Private Functions Summary Chapter Handling Exceptions Using Exceptions For Other Purposes Working with File Objects Reading Files Closing Files Handling I/O Errors Writing to Files Iterating with for Loops Using sys.modules Working with Directories Putting It All Together Summary Chapter Diving In Case Study: Street Addresses Case Study: Roman Numerals Checking for Thousands Checking for Hundreds Using the {n,m} Syntax Checking for Tens and Ones Verbose Regular Expressions Case study: Parsing Phone Numbers Summary Chapter Diving in Introducing sgmllib.py Extracting data from HTML documents Introducing BaseHTMLProcessor.py locals and globals Dictionary-based string formatting Quoting attribute values Introducing dialect.py iv
5 Dive Into Python Putting it all together Summary Chapter Diving in Packages Parsing XML Unicode Searching for elements Accessing element attributes Segue Chapter Abstracting input sources Standard input, output, and error Caching node lookups Finding direct children of a node Creating separate handlers by node type Handling command-line arguments Putting it all together Summary Chapter Diving in How not to fetch data over HTTP Features of HTTP User-Agent Redirects Last-Modified/If-Modified-Since ETag/If-None-Match Compression Debugging HTTP web services Setting the User-Agent Handling Last-Modified and ETag Handling redirects Handling compressed data Putting it all together Summary Chapter Diving In Installing the SOAP Libraries Installing PyXML Installing fpconst Installing SOAPpy First Steps with SOAP Debugging SOAP Web Services Introducing WSDL Introspecting SOAP Web Services with WSDL Searching Google Troubleshooting SOAP Web Services Summary Chapter Introduction to Roman numerals Diving in Introducing romantest.py Testing for success Testing for failure v
6 Dive Into Python Testing for sanity Chapter roman.py, stage roman.py, stage roman.py, stage roman.py, stage roman.py, stage Chapter Handling bugs Handling changing requirements Refactoring Postscript Summary Chapter Diving in Finding the path Filtering lists revisited Mapping lists revisited Data-centric programming Dynamically importing modules Putting it all together Summary Chapter Diving in plural.py, stage plural.py, stage plural.py, stage plural.py, stage plural.py, stage plural.py, stage Summary Chapter Diving in Using the timeit Module Optimizing Regular Expressions Optimizing Dictionary Lookups Optimizing List Operations Optimizing String Manipulation Summary A. Further reading B. A 5-minute review C. Tips and tricks D. List of examples E. Revision history F. About the book G. GNU Free Documentation License Preamble Applicability and definitions Verbatim copying Copying in quantity Modifications Combining documents Collections of documents Aggregation with independent works vi
7 Dive Into Python 8. Translation Termination Future revisions of this license How to use this License for your documents H. Python license A. History of the software B. Terms and conditions for accessing or otherwise using Python B.. PSF license agreement B.. BeOpen Python open source license agreement version B.. CNRI open source GPL-compatible license agreement B.. CWI permissions statement and disclaimer vii
8 List of Examples 1.1. Two versions of Python Installing on RedHat Linux Installing on Debian GNU/Linux Installing from source First Steps in the Interactive Shell odbchelper.py Defining the buildconnectionstring Function's doc string Accessing the buildconnectionstring Function's doc string Import Search Path Indenting the buildconnectionstring Function if Statements Defining a Dictionary Modifying a Dictionary Dictionary Keys Are Case-Sensitive Mixing Datatypes in a Dictionary Deleting Items from a Dictionary Defining a List Negative List Indices Slicing a List Slicing Shorthand Adding Elements to a List The Difference between extend and append Searching a List Removing Elements from a List List Operators Defining a tuple Tuples Have No Methods Defining the myparams Variable Referencing an Unbound Variable Assigning multiple values at once Assigning Consecutive Values Introducing String Formatting String Formatting vs. Concatenating Formatting Numbers Introducing List Comprehensions The keys, values, and items Functions List Comprehensions in buildconnectionstring, Step by Step Output of odbchelper.py Splitting a String apihelper.py Sample Usage of apihelper.py Advanced Usage of apihelper.py Valid Calls of info Introducing type Introducing str Introducing dir Introducing callable Built-in Attributes and Functions Introducing getattr The getattr Function in apihelper.py Creating a Dispatcher with getattr viii
9 Dive Into Python getattr Default Values Introducing List Filtering Introducing and Introducing or Introducing the and-or Trick When the and-or Trick Fails Using the and-or Trick Safely Introducing lambda Functions split With No Arguments Getting a doc string Dynamically Why Use str on a doc string? Introducing ljust Printing a List fileinfo.py import module vs. from module import The Simplest Python Class Defining the FileInfo Class Initializing the FileInfo Class Coding the FileInfo Class Creating a FileInfo Instance Trying to Implement a Memory Leak Defining the UserDict Class UserDict Normal Methods Inheriting Directly from Built-In Datatype dict The getitem Special Method The setitem Special Method Overriding setitem in MP3FileInfo Setting an MP3FileInfo's name More Special Methods in UserDict Introducing Class Attributes Modifying Class Attributes Trying to Call a Private Method Opening a Non-Existent File Supporting Platform-Specific Functionality Opening a File Reading a File Closing a File File Objects in MP3FileInfo Writing to Files Introducing the for Loop Simple Counters Iterating Through a Dictionary for Loop in MP3FileInfo Introducing sys.modules Using sys.modules The module Class Attribute sys.modules in fileinfo.py Constructing Pathnames Splitting Pathnames Listing Directories Listing Directories in fileinfo.py Listing Directories with glob listdirectory Matching at the End of a String ix
10 Dive Into Python 7.2. Matching Whole Words Checking for Thousands Checking for Hundreds The Old Way: Every Character Optional The New Way: From n o m Checking for Tens Validating Roman Numerals with {n,m} Regular Expressions with Inline Comments Finding Numbers Finding the Extension Handling Different Separators Handling Numbers Without Separators Handling Leading Characters Phone Number, Wherever I May Find Ye Parsing Phone Numbers (Final Version) BaseHTMLProcessor.py dialect.py Output of dialect.py Sample test of sgmllib.py Introducing urllib Introducing urllister.py Using urllister.py Introducing BaseHTMLProcessor BaseHTMLProcessor output Introducing locals Introducing globals locals is read-only, globals is not Introducing dictionary-based string formatting Dictionary-based string formatting in BaseHTMLProcessor.py More dictionary-based string formatting Quoting attribute values Handling specific tags SGMLParser Overriding the handle_data method The translate function, part The translate function, part 2: curiouser and curiouser The translate function, part kgp.py toolbox.py Sample output of kgp.py Simpler output from kgp.py Loading an XML document (a sneak peek) File layout of a package Packages are modules, too Loading an XML document (for real this time) Getting child nodes toxml works on any node Child nodes can be text Drilling down all the way to text Introducing unicode Storing non-ascii characters sitecustomize.py Effects of setting the default encoding Specifying encoding in.py files x
11 Dive Into Python russiansample.xml Parsing russiansample.xml binary.xml Introducing getelementsbytagname Every element is searchable Searching is actually recursive Accessing element attributes Accessing individual attributes Parsing XML from a file Parsing XML from a URL Parsing XML from a string (the easy but inflexible way) Introducing StringIO Parsing XML from a string (the file-like object way) openanything Using openanything in kgp.py Introducing stdout and stderr Redirecting output Redirecting error information Printing to stderr Chaining commands Reading from standard input in kgp.py loadgrammar Using the ref element cache Finding direct child elements Class names of parsed XML objects parse, a generic XML node dispatcher Functions called by the parse dispatcher Introducing sys.argv The contents of sys.argv Introducing getopt Handling command-line arguments in kgp.py openanything.py Downloading a feed the quick-and-dirty way Debugging HTTP Introducing urllib Adding headers with the Request Testing Last-Modified Defining URL handlers Using custom URL handlers Supporting ETag/If-None-Match Accessing web services without a redirect handler Defining the redirect handler Using the redirect handler to detect permanent redirects Using the redirect handler to detect temporary redirects Telling the server you would like compressed data Decompressing the data Decompressing the data directly from the server The openanything function The fetch function Using openanything.py search.py Sample Usage of search.py Verifying PyXML Installation Verifying fpconst Installation xi
12 Dive Into Python Verifying SOAPpy Installation Getting the Current Temperature Debugging SOAP Web Services Discovering The Available Methods Discovering A Method's Arguments Discovering A Method's Return Values Calling A Web Service Through A WSDL Proxy Introspecting Google Web Services Searching Google Accessing Secondary Information From Google Calling a Method With an Incorrectly Configured Proxy Calling a Method With the Wrong Arguments Calling a Method and Expecting the Wrong Number of Return Values Calling a Method With An Application-Specific Error romantest.py testtoromanknownvalues Testing bad input to toroman Testing bad input to fromroman Testing toroman against fromroman Testing for case roman1.py Output of romantest1.py against roman1.py roman2.py How toroman works Output of romantest2.py against roman2.py roman3.py Watching toroman handle bad input Output of romantest3.py against roman3.py roman4.py How fromroman works Output of romantest4.py against roman4.py roman5.py Output of romantest5.py against roman5.py The bug Testing for the bug (romantest61.py) Output of romantest61.py against roman61.py Fixing the bug (roman62.py) Output of romantest62.py against roman62.py Modifying test cases for new requirements (romantest71.py) Output of romantest71.py against roman71.py Coding the new requirements (roman72.py) Output of romantest72.py against roman72.py Compiling regular expressions Compiled regular expressions in roman81.py Output of romantest81.py against roman81.py roman82.py Output of romantest82.py against roman82.py roman83.py Output of romantest83.py against roman83.py roman9.py Output of romantest9.py against roman9.py regression.py Sample output of regression.py fullpath.py xii
13 Dive Into Python Further explanation of os.path.abspath Sample output from fullpath.py Running scripts in the current directory Introducing filter filter in regression.py Filtering using list comprehensions instead Introducing map map with lists of mixed datatypes map in regression.py Importing multiple modules at once Importing modules dynamically Importing a list of modules dynamically The regressiontest function Step 1: Get all the files Step 2: Filter to find the files you care about Step 3: Map filenames to module names Step 4: Mapping module names to modules Step 5: Loading the modules into a test suite Step 6: Telling unittest to use your test suite plural1.py Introducing re.sub Back to plural1.py More on negation regular expressions More on re.sub plural2.py Unrolling the plural function plural3.py plural4.py plural4.py continued Unrolling the rules definition plural4.py, finishing up Another look at buildmatchandapplyfunctions Expanding tuples when calling functions rules.en plural5.py plural6.py Introducing generators Using generators instead of recursion Generators in for loops Generators that generate dynamic functions soundex/stage1/soundex1a.py Introducing timeit Best Result So Far: soundex/stage1/soundex1e.py Best Result So Far: soundex/stage2/soundex2c.py Best Result So Far: soundex/stage2/soundex2c.py xiii
14 Chapter 1. Installing Python Welcome to Python. Let's dive in. In this chapter, you'll install the version of Python that's right for you. Which Python is right for you? The first thing you need to do with Python is install it. Or do you? If you're using an account on a hosted server, your ISP may have already installed Python. Most popular Linux distributions come with Python in the default installation. Mac OS X 10.2 and later includes a command-line version of Python, although you'll probably want to install a version that includes a more Mac-like graphical interface. Windows does not come with any version of Python, but don't despair! There are several ways to pointand-click your way to Python on Windows. As you can see already, Python runs on a great many operating systems. The full list includes Windows, Mac OS, Mac OS X, and all varieties of free UNIX-compatible systems like Linux. There are also versions that run on Sun Solaris, AS/400, Amiga, OS/2, BeOS, and a plethora of other platforms you've probably never even heard of. What's more, Python programs written on one platform can, with a little care, run on any supported platform. For instance, I regularly develop Python programs on Windows and later deploy them on Linux. So back to the question that started this section, Which Python is right for you? The answer is whichever one runs on the computer you already have. Python on Windows On Windows, you have a couple choices for installing Python. ActiveState makes a Windows installer for Python called ActivePython, which includes a complete version of Python, an IDE with a Python-aware code editor, plus some Windows extensions for Python that allow complete access to Windows-specific services, APIs, and the Windows Registry. ActivePython is freely downloadable, although it is not open source. It is the IDE I used to learn Python, and I recommend you try it unless you have a specific reason not to. One such reason might be that ActiveState is generally several months behind in updating their ActivePython installer when new version of Python are released. If you absolutely need the latest version of Python and ActivePython is still a version behind as you read this, you'll want to use the second option for installing Python on Windows. The second option is the official Python installer, distributed by the people who develop Python itself. It is freely downloadable and open source, and it is always current with the latest version of Python. Procedure 1.1. Option 1: Installing ActivePython Here is the procedure for installing ActivePython: 1. Download ActivePython from 1
15 Chapter 1 2. If you are using Windows 95, Windows 98, or Windows ME, you will also need to download and install Windows Installer 2.0 [ W9XMe/EN-US/InstMsiA.exe] before installing ActivePython. 3. Double-click the installer, ActivePython win32-ix86.msi. 4. Step through the installer program. 5. If space is tight, you can do a custom installation and deselect the documentation, but I don't recommend this unless you absolutely can't spare the 14MB. 6. After the installation is complete, close the installer and choose Start->Programs->ActiveState ActivePython 2.2->PythonWin IDE. You'll see something like the following: PythonWin (#37, Nov , 10:24:37) [MSC 32 bit (Intel)] on win32. Portions Copyright Mark Hammond (mhammond@skippinet.com.au) - see 'Help/About PythonWin' for further copyright information. >>> Procedure 1.2. Option 2: Installing Python from Python.org [ ] 1. Download the latest Python Windows installer by going to and selecting the highest version number listed, then downloading the.exe installer. 2. Double-click the installer, Python-2.xxx.yyy.exe. The name will depend on the version of Python available when you read this. 3. Step through the installer program. 4. If disk space is tight, you can deselect the HTMLHelp file, the utility scripts (Tools/), and/or the test suite (Lib/test/). 5. If you do not have administrative rights on your machine, you can select Advanced Options, then choose Non-Admin Install. This just affects where Registry entries and Start menu shortcuts are created. 6. After the installation is complete, close the installer and select Start->Programs->Python 2.3->IDLE (Python GUI). You'll see something like the following: Python (#49, Oct , 20:02:00) [MSC v bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. **************************************************************** Personal firewall software may warn about the connection IDLE makes to its subprocess using this computer's internal loopback interface. This connection is not visible on any external interface and no data is sent to or received from the Internet. **************************************************************** IDLE 1.0 >>> 2
16 Chapter 1 Python on Mac OS X On Mac OS X, you have two choices for installing Python: install it, or don't install it. You probably want to install it. Mac OS X 10.2 and later comes with a command-line version of Python preinstalled. If you are comfortable with the command line, you can use this version for the first third of the book. However, the preinstalled version does not come with an XML parser, so when you get to the XML chapter, you'll need to install the full version. Rather than using the preinstalled version, you'll probably want to install the latest version, which also comes with a graphical interactive shell. Procedure 1.3. Running the Preinstalled Version of Python on Mac OS X To use the preinstalled version of Python, follow these steps: 1. Open the /Applications folder. 2. Open the Utilities folder. 3. Double-click Terminal to open a terminal window and get to a command line. 4. Type python at the command prompt. Try it out: Welcome to Darwin! [localhost:~] you% python Python 2.2 (#1, 07/14/02, 23:25:09) [GCC Apple cpp-precomp 6.14] on darwin Type "help", "copyright", "credits", or "license" for more information. >>> [press Ctrl+D to get back to the command prompt] [localhost:~] you% Procedure 1.4. Installing the Latest Version of Python on Mac OS X Follow these steps to download and install the latest version of Python: 1. Download the MacPython-OSX disk image from 2. If your browser has not already done so, double-click MacPython-OSX dmg to mount the disk image on your desktop. 3. Double-click the installer, MacPython-OSX.pkg. 4. The installer will prompt you for your administrative username and password. 5. Step through the installer program. 6. After installation is complete, close the installer and open the /Applications folder. 7. Open the MacPython-2.3 folder 3
17 Chapter 1 8. Double-click PythonIDE to launch Python. The MacPython IDE should display a splash screen, then take you to the interactive shell. If the interactive shell does not appear, select Window->Python Interactive (Cmd-0). The opening window will look something like this: Python 2.3 (#2, Jul , 11:45:28) [GCC (prerelease)] Type "copyright", "credits" or "license" for more information. MacPython IDE >>> Note that once you install the latest version, the pre-installed version is still present. If you are running scripts from the command line, you need to be aware which version of Python you are using. Example 1.1. Two versions of Python [localhost:~] you% python Python 2.2 (#1, 07/14/02, 23:25:09) [GCC Apple cpp-precomp 6.14] on darwin Type "help", "copyright", "credits", or "license" for more information. >>> [press Ctrl+D to get back to the command prompt] [localhost:~] you% /usr/local/bin/python Python 2.3 (#2, Jul , 11:45:28) [GCC (prerelease)] on darwin Type "help", "copyright", "credits", or "license" for more information. >>> [press Ctrl+D to get back to the command prompt] [localhost:~] you% Python on Mac OS 9 Mac OS 9 does not come with any version of Python, but installation is very simple, and there is only one choice. Follow these steps to install Python on Mac OS 9: 1. Download the MacPython23full.bin file from 2. If your browser does not decompress the file automatically, double-click MacPython23full.bin to decompress the file with Stuffit Expander. 3. Double-click the installer, MacPython23full. 4. Step through the installer program. 5. AFter installation is complete, close the installer and open the /Applications folder. 6. Open the MacPython-OS9 2.3 folder. 7. Double-click Python IDE to launch Python. 4
18 Chapter 1 The MacPython IDE should display a splash screen, and then take you to the interactive shell. If the interactive shell does not appear, select Window->Python Interactive (Cmd-0). You'll see a screen like this: Python 2.3 (#2, Jul , 11:45:28) [GCC (prerelease)] Type "copyright", "credits" or "license" for more information. MacPython IDE >>> Python on RedHat Linux Installing under UNIX-compatible operating systems such as Linux is easy if you're willing to install a binary package. Pre-built binary packages are available for most popular Linux distributions. Or you can always compile from source. Download the latest Python RPM by going to and selecting the highest version number listed, then selecting the rpms/ directory within that. Then download the RPM with the highest version number. You can install it with the rpm command, as shown here: 5
19 Chapter 1 Example 1.2. Installing on RedHat Linux 9 localhost:~$ su - Password: [enter your root password] [root@localhost root]# wget Resolving python.org... done. Connecting to python.org[ ]:80... connected. HTTP request sent, awaiting response OK Length: 7,495,111 [application/octet-stream]... [root@localhost root]# rpm -Uvh python pydotorg.i386.rpm Preparing... ########################################### [100%] 1:python2.3 ########################################### [100%] [root@localhost root]# python Python (#1, Feb , 19:13:11) [GCC (Red Hat Linux )] on linux2 Type "help", "copyright", "credits", or "license" for more information. >>> [press Ctrl+D to exit] [root@localhost root]# python2.3 Python 2.3 (#1, Sep , 10:53:56) [GCC (Red Hat Linux )] on linux2 Type "help", "copyright", "credits", or "license" for more information. >>> [press Ctrl+D to exit] [root@localhost root]# which python2.3 /usr/bin/python2.3 Whoops! Just typing python gives you the older version of Python -- the one that was installed by default. That's not the one you want. At the time of this writing, the newest version is called python2.3. You'll probably want to change the path on the first line of the sample scripts to point to the newer version. This is the complete path of the newer version of Python that you just installed. Use this on the #! line (the first line of each script) to ensure that scripts are running under the latest version of Python, and be sure to type python2.3 to get into the interactive shell. Python on Debian GNU/Linux If you are lucky enough to be running Debian GNU/Linux, you install Python through the apt command. 6
20 Chapter 1 Example 1.3. Installing on Debian GNU/Linux localhost:~$ su - Password: [enter your root password] localhost:~# apt-get install python Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: python2.3 Suggested packages: python-tk python2.3-doc The following NEW packages will be installed: python python2.3 0 upgraded, 2 newly installed, 0 to remove and 3 not upgraded. Need to get 0B/2880kB of archives. After unpacking 9351kB of additional disk space will be used. Do you want to continue? [Y/n] Y Selecting previously deselected package python2.3. (Reading database files and directories currently installed.) Unpacking python2.3 (from.../python2.3_ _i386.deb)... Selecting previously deselected package python. Unpacking python (from.../python_ _all.deb)... Setting up python ( )... Setting up python2.3 ( )... Compiling python modules in /usr/lib/python Compiling optimized python modules in /usr/lib/python localhost:~# exit logout localhost:~$ python Python (#2, Sep , 11:39:14) [GCC (Debian prerelease)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> [press Ctrl+D to exit] Python Installation from Source If you prefer to build from source, you can download the Python source code from ftp/python/. Select the highest version number listed, download the.tgz file), and then do the usual configure, make, make install dance. 7
Code::Blocks Student Manual
Code::Blocks Student Manual Lawrence Goetz, Network Administrator Yedidyah Langsam, Professor and Theodore Raphan, Distinguished Professor Dept. of Computer and Information Science Brooklyn College of
More informationHypercosm. Studio. www.hypercosm.com
Hypercosm Studio www.hypercosm.com Hypercosm Studio Guide 3 Revision: November 2005 Copyright 2005 Hypercosm LLC All rights reserved. Hypercosm, OMAR, Hypercosm 3D Player, and Hypercosm Studio are trademarks
More informationExercise 1: Python Language Basics
Exercise 1: Python Language Basics In this exercise we will cover the basic principles of the Python language. All languages have a standard set of functionality including the ability to comment code,
More informationTIBCO Hawk SNMP Adapter Installation
TIBCO Hawk SNMP Adapter Installation Software Release 4.9.0 November 2012 Two-Second Advantage Important Information SOME TIBCO SOFTWARE EMBEDS OR BUNDLES OTHER TIBCO SOFTWARE. USE OF SUCH EMBEDDED OR
More informationRational Rational ClearQuest
Rational Rational ClearQuest Version 7.0 Windows Using Project Tracker GI11-6377-00 Rational Rational ClearQuest Version 7.0 Windows Using Project Tracker GI11-6377-00 Before using this information, be
More informationIntroduction to Python
WEEK ONE Introduction to Python Python is such a simple language to learn that we can throw away the manual and start with an example. Traditionally, the first program to write in any programming language
More information1. Product Information
ORIXCLOUD BACKUP CLIENT USER MANUAL LINUX 1. Product Information Product: Orixcloud Backup Client for Linux Version: 4.1.7 1.1 System Requirements Linux (RedHat, SuSE, Debian and Debian based systems such
More informationAttix5 Pro Server Edition
Attix5 Pro Server Edition V7.0.3 User Manual for Linux and Unix operating systems Your guide to protecting data with Attix5 Pro Server Edition. Copyright notice and proprietary information All rights reserved.
More informationRecoveryVault Express Client User Manual
For Linux distributions Software version 4.1.7 Version 2.0 Disclaimer This document is compiled with the greatest possible care. However, errors might have been introduced caused by human mistakes or by
More informationSmooks Dev Tools Reference Guide. Version: 1.1.0.GA
Smooks Dev Tools Reference Guide Version: 1.1.0.GA Smooks Dev Tools Reference Guide 1. Introduction... 1 1.1. Key Features of Smooks Tools... 1 1.2. What is Smooks?... 1 1.3. What is Smooks Tools?... 2
More information1 Introduction FrontBase is a high performance, scalable, SQL 92 compliant relational database server created in the for universal deployment.
FrontBase 7 for ios and Mac OS X 1 Introduction FrontBase is a high performance, scalable, SQL 92 compliant relational database server created in the for universal deployment. On Mac OS X FrontBase can
More informationOnline Backup Client User Manual
For Linux distributions Software version 4.1.7 Version 2.0 Disclaimer This document is compiled with the greatest possible care. However, errors might have been introduced caused by human mistakes or by
More informationExercise 4 Learning Python language fundamentals
Exercise 4 Learning Python language fundamentals Work with numbers Python can be used as a powerful calculator. Practicing math calculations in Python will help you not only perform these tasks, but also
More informationDesktop, Web and Mobile Testing Tutorials
Desktop, Web and Mobile Testing Tutorials * Windows and the Windows logo are trademarks of the Microsoft group of companies. 2 About the Tutorial With TestComplete, you can test applications of three major
More informationOnline Backup Client User Manual Linux
Online Backup Client User Manual Linux 1. Product Information Product: Online Backup Client for Linux Version: 4.1.7 1.1 System Requirements Operating System Linux (RedHat, SuSE, Debian and Debian based
More informationOnline Backup Linux Client User Manual
Online Backup Linux Client User Manual Software version 4.0.x For Linux distributions August 2011 Version 1.0 Disclaimer This document is compiled with the greatest possible care. However, errors might
More informationIBM WebSphere Application Server Version 7.0
IBM WebSphere Application Server Version 7.0 Centralized Installation Manager for IBM WebSphere Application Server Network Deployment Version 7.0 Note: Before using this information, be sure to read the
More informationXcode User Default Reference. (Legacy)
Xcode User Default Reference (Legacy) Contents Introduction 5 Organization of This Document 5 Software Version 5 See Also 5 Xcode User Defaults 7 Xcode User Default Overview 7 General User Defaults 8 NSDragAndDropTextDelay
More informationDiskPulse DISK CHANGE MONITOR
DiskPulse DISK CHANGE MONITOR User Manual Version 7.9 Oct 2015 www.diskpulse.com info@flexense.com 1 1 DiskPulse Overview...3 2 DiskPulse Product Versions...5 3 Using Desktop Product Version...6 3.1 Product
More informationNASA Workflow Tool. User Guide. September 29, 2010
NASA Workflow Tool User Guide September 29, 2010 NASA Workflow Tool User Guide 1. Overview 2. Getting Started Preparing the Environment 3. Using the NED Client Common Terminology Workflow Configuration
More informationUniversity of Toronto
1 University of Toronto APS 105 Computer Fundamentals A Tutorial about UNIX Basics Fall 2011 I. INTRODUCTION This document serves as your introduction to the computers we will be using in this course.
More informationAES Crypt User Guide
AES Crypt User Guide Publication Date: 2013-12-26 Original Author: Gary C. Kessler (gck@garykessler.net) Revision History Date Contributor Changes 2012-01-17 Gary C. Kessler First version 2013-03-03 Doug
More informationHow to Create and Send a Froogle Data Feed
How to Create and Send a Froogle Data Feed Welcome to Froogle! The quickest way to get your products on Froogle is to send a data feed. A data feed is a file that contains a listing of your products. Froogle
More informationWindows PowerShell Cookbook
Windows PowerShell Cookbook Lee Holmes O'REILLY' Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo Table of Contents Foreword Preface xvii xxi Part I. Tour A Guided Tour of Windows PowerShell
More informationOnline Backup Client User Manual
Online Backup Client User Manual Software version 3.21 For Linux distributions January 2011 Version 2.0 Disclaimer This document is compiled with the greatest possible care. However, errors might have
More informationGP REPORTS VIEWER USER GUIDE
GP Reports Viewer Dynamics GP Reporting Made Easy GP REPORTS VIEWER USER GUIDE For Dynamics GP Version 2015 (Build 5) Dynamics GP Version 2013 (Build 14) Dynamics GP Version 2010 (Build 65) Last updated
More informationEventia Log Parsing Editor 1.0 Administration Guide
Eventia Log Parsing Editor 1.0 Administration Guide Revised: November 28, 2007 In This Document Overview page 2 Installation and Supported Platforms page 4 Menus and Main Window page 5 Creating Parsing
More informationIceWarp to IceWarp Server Migration
IceWarp to IceWarp Server Migration Registered Trademarks iphone, ipad, Mac, OS X are trademarks of Apple Inc., registered in the U.S. and other countries. Microsoft, Windows, Outlook and Windows Phone
More informationHands-On UNIX Exercise:
Hands-On UNIX Exercise: This exercise takes you around some of the features of the shell. Even if you don't need to use them all straight away, it's very useful to be aware of them and to know how to deal
More informationWitango Application Server 6. Installation Guide for OS X
Witango Application Server 6 Installation Guide for OS X January 2011 Tronics Software LLC 503 Mountain Ave. Gillette, NJ 07933 USA Telephone: (570) 647 4370 Email: support@witango.com Web: www.witango.com
More informationCode Estimation Tools Directions for a Services Engagement
Code Estimation Tools Directions for a Services Engagement Summary Black Duck software provides two tools to calculate size, number, and category of files in a code base. This information is necessary
More informationJava Language Tools COPYRIGHTED MATERIAL. Part 1. In this part...
Part 1 Java Language Tools This beginning, ground-level part presents reference information for setting up the Java development environment and for compiling and running Java programs. This includes downloading
More informationLOCKSS on LINUX. CentOS6 Installation Manual 08/22/2013
LOCKSS on LINUX CentOS6 Installation Manual 08/22/2013 1 Table of Contents Overview... 3 LOCKSS Hardware... 5 Installation Checklist... 6 BIOS Settings... 9 Installation... 10 Firewall Configuration...
More informationQNX Software Development Platform 6.6. Installation Guide
QNX Software Development Platform 6.6 QNX Software Development Platform 6.6 Installation Guide Table of Contents Table of Contents Preface: About This Guide...iv Typographical conventions...v Before you
More informationTIBCO Fulfillment Provisioning Session Layer for FTP Installation
TIBCO Fulfillment Provisioning Session Layer for FTP Installation Software Release 3.8.1 August 2015 Important Information SOME TIBCO SOFTWARE EMBEDS OR BUNDLES OTHER TIBCO SOFTWARE. USE OF SUCH EMBEDDED
More informationXcode Project Management Guide. (Legacy)
Xcode Project Management Guide (Legacy) Contents Introduction 10 Organization of This Document 10 See Also 11 Part I: Project Organization 12 Overview of an Xcode Project 13 Components of an Xcode Project
More informationUniversity of Hull Department of Computer Science. Wrestling with Python Week 01 Playing with Python
Introduction Welcome to our Python sessions. University of Hull Department of Computer Science Wrestling with Python Week 01 Playing with Python Vsn. 1.0 Rob Miles 2013 Please follow the instructions carefully.
More informationLab 2 : Basic File Server. Introduction
Lab 2 : Basic File Server Introduction In this lab, you will start your file system implementation by getting the following FUSE operations to work: CREATE/MKNOD, LOOKUP, and READDIR SETATTR, WRITE and
More informationData Tool Platform SQL Development Tools
Data Tool Platform SQL Development Tools ekapner Contents Setting SQL Development Preferences...5 Execution Plan View Options Preferences...5 General Preferences...5 Label Decorations Preferences...6
More informationBuilding and Using Web Services With JDeveloper 11g
Building and Using Web Services With JDeveloper 11g Purpose In this tutorial, you create a series of simple web service scenarios in JDeveloper. This is intended as a light introduction to some of the
More informationCS 1133, LAB 2: FUNCTIONS AND TESTING http://www.cs.cornell.edu/courses/cs1133/2015fa/labs/lab02.pdf
CS 1133, LAB 2: FUNCTIONS AND TESTING http://www.cs.cornell.edu/courses/cs1133/2015fa/labs/lab02.pdf First Name: Last Name: NetID: The purpose of this lab is to help you to better understand functions:
More informationWS_FTP Professional 12
WS_FTP Professional 12 Tools Guide Contents CHAPTER 1 Introduction Ways to Automate Regular File Transfers...5 Check Transfer Status and Logs...6 Building a List of Files for Transfer...6 Transfer Files
More informationNotepad++ The COMPSCI 101 Text Editor for Windows. What is a text editor? Install Python 3
Notepad++ The COMPSCI 101 Text Editor for Windows The text editor that we will be using in the Computer Science labs for creating our Python programs is called Notepad++ and http://notepad-plus-plus.org
More informationAuthoring for System Center 2012 Operations Manager
Authoring for System Center 2012 Operations Manager Microsoft Corporation Published: November 1, 2013 Authors Byron Ricks Applies To System Center 2012 Operations Manager System Center 2012 Service Pack
More informationFileMaker 11. ODBC and JDBC Guide
FileMaker 11 ODBC and JDBC Guide 2004 2010 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker is a trademark of FileMaker, Inc. registered
More informationMIGS Payment Client Installation Guide. EGate User Manual
MIGS Payment Client Installation Guide EGate User Manual April 2004 Copyright The information contained in this manual is proprietary and confidential to MasterCard International Incorporated (MasterCard)
More informationServer & Workstation Installation of Client Profiles for Windows
C ase Manag e m e n t by C l i e n t P rofiles Server & Workstation Installation of Client Profiles for Windows T E C H N O L O G Y F O R T H E B U S I N E S S O F L A W General Notes to Prepare for Installing
More informationVERITAS NetBackup Microsoft Windows User s Guide
VERITAS NetBackup Microsoft Windows User s Guide Release 3.2 Windows NT/95/98 May, 1999 P/N 100-001004 1994-1999 VERITAS Software Corporation. All rights reserved. Portions of this software are derived
More informationB&K Precision 1785B, 1786B, 1787B, 1788 Power supply Python Library
B&K Precision 1785B, 1786B, 1787B, 1788 Power supply Python Library Table of Contents Introduction 2 Prerequisites 2 Why a Library is Useful 3 Using the Library from Python 6 Conventions 6 Return values
More informationPHP Debugging. Draft: March 19, 2013 2013 Christopher Vickery
PHP Debugging Draft: March 19, 2013 2013 Christopher Vickery Introduction Debugging is the art of locating errors in your code. There are three types of errors to deal with: 1. Syntax errors: When code
More informationMoving from CS 61A Scheme to CS 61B Java
Moving from CS 61A Scheme to CS 61B Java Introduction Java is an object-oriented language. This document describes some of the differences between object-oriented programming in Scheme (which we hope you
More informationWe will learn the Python programming language. Why? Because it is easy to learn and many people write programs in Python so we can share.
LING115 Lecture Note Session #4 Python (1) 1. Introduction As we have seen in previous sessions, we can use Linux shell commands to do simple text processing. We now know, for example, how to count words.
More informationInstalling (1.8.7) 9/2/2009. 1 Installing jgrasp
1 Installing jgrasp Among all of the jgrasp Tutorials, this one is expected to be the least read. Most users will download the jgrasp self-install file for their system, doubleclick the file, follow the
More informationLocal Caching Servers (LCS): User Manual
Local Caching Servers (LCS): User Manual Table of Contents Local Caching Servers... 1 Supported Browsers... 1 Getting Help... 1 System Requirements... 2 Macintosh... 2 Windows... 2 Linux... 2 Downloading
More informationOnline Backup Client User Manual
For Mac OS X Software version 4.1.7 Version 2.2 Disclaimer This document is compiled with the greatest possible care. However, errors might have been introduced caused by human mistakes or by other means.
More informationMS Outlook to Unix Mailbox Conversion mini HOWTO
Table of Contents MS Outlook to Unix Mailbox Conversion mini HOWTO...1 Greg Lindahl, lindahl@pbm.com...1 1. Introduction...1 2. Converting using Mozilla Mail...1 3. Converting using IMAP...1 1. Introduction...1
More informationUsing Google Docs in the classroom: Simple as ABC
What is Google Docs? Google Docs is a free, Web-based word processing, presentations and spreadsheets program. Unlike desktop software, Google Docs lets people create web-based documents, presentations
More informationDirect Storage Access Using NetApp SnapDrive. Installation & Administration Guide
Direct Storage Access Using NetApp SnapDrive Installation & Administration Guide SnapDrive overview... 3 What SnapDrive does... 3 What SnapDrive does not do... 3 Recommendations for using SnapDrive...
More informationWakanda Studio Features
Wakanda Studio Features Discover the many features in Wakanda Studio. The main features each have their own chapters and other features are documented elsewhere: Wakanda Server Administration Data Browser
More informationOutlook Today. Microsoft Outlook a different way to look at E-MailE. By Microsoft.com
Outlook Today Microsoft Outlook a different way to look at E-MailE By Microsoft.com What to do, What to do How many times have you received a message from your system administrator telling you that you're
More informationIUCLID 5 Guidance and support. Installation Guide Distributed Version. Linux - Apache Tomcat - PostgreSQL
IUCLID 5 Guidance and support Installation Guide Distributed Version Linux - Apache Tomcat - PostgreSQL June 2009 Legal Notice Neither the European Chemicals Agency nor any person acting on behalf of the
More informationLog Analyzer Reference
IceWarp Unified Communications Log Analyzer Reference Version 10.4 Printed on 27 February, 2012 Contents Log Analyzer 1 Quick Start... 2 Required Steps... 2 Optional Steps... 3 Advanced Configuration...
More informationFmPro Migrator - FileMaker to SQL Server
FmPro Migrator - FileMaker to SQL Server FmPro Migrator - FileMaker to SQL Server 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.10 1.11 1.12 1.13 1.14 1.15 FmPro Migrator - FileMaker to SQL Server Migration
More informationHandle Tool. User Manual
User Manual Corporation for National Research Initiatives Version 2 November 2015 Table of Contents 1. Start the Handle Tool... 3 2. Default Window... 3 3. Console... 5 4. Authentication... 6 5. Lookup...
More informationPython for Series 60 Platform
F O R U M N O K I A Getting Started with Python for Series 60 Platform Version 1.2; September 28, 2005 Python for Series 60 Platform Copyright 2005 Nokia Corporation. All rights reserved. Nokia and Nokia
More informationOracle Service Bus Examples and Tutorials
March 2011 Contents 1 Oracle Service Bus Examples... 2 2 Introduction to the Oracle Service Bus Tutorials... 5 3 Getting Started with the Oracle Service Bus Tutorials... 12 4 Tutorial 1. Routing a Loan
More informationDownload and Installation Instructions. Android SDK and Android Development Tools (ADT)
Download and Installation Instructions for Android SDK and Android Development Tools (ADT) on Mac OS X Updated October, 2012 This document will describe how to download and install the Android SDK and
More informationIntroduction to CloudScript
Introduction to CloudScript A NephoScale Whitepaper Authors: Nick Peterson, Alan Meadows Date: 2012-07-06 CloudScript is a build language for the cloud. It is a simple Domain Specific Language (DSL) that
More informationJetBrains ReSharper 2.0 Overview Introduction ReSharper is undoubtedly the most intelligent add-in to Visual Studio.NET 2003 and 2005. It greatly increases the productivity of C# and ASP.NET developers,
More informationGo to CGTech Help Library. Installing CGTech Products
Go to CGTech Help Library Installing CGTech Products VERICUT Installation Introduction to Installing VERICUT Installing and configuring VERICUT is simple, typically requiring only a few minutes for most
More informationYocto Project Eclipse plug-in and Developer Tools Hands-on Lab
Yocto Project Eclipse plug-in and Developer Tools Hands-on Lab Yocto Project Developer Day San Francisco, 2013 Jessica Zhang Introduction Welcome to the Yocto Project Eclipse plug-in
More informationGladinet Cloud Backup V3.0 User Guide
Gladinet Cloud Backup V3.0 User Guide Foreword The Gladinet User Guide gives step-by-step instructions for end users. Revision History Gladinet User Guide Date Description Version 8/20/2010 Draft Gladinet
More informationGetting Started using the SQuirreL SQL Client
Getting Started using the SQuirreL SQL Client The SQuirreL SQL Client is a graphical program written in the Java programming language that will allow you to view the structure of a JDBC-compliant database,
More informationCatDV Pro Workgroup Serve r
Architectural Overview CatDV Pro Workgroup Server Square Box Systems Ltd May 2003 The CatDV Pro client application is a standalone desktop application, providing video logging and media cataloging capability
More informationIntroduction to Operating Systems
Introduction to Operating Systems It is important that you familiarize yourself with Windows and Linux in preparation for this course. The exercises in this book assume a basic knowledge of both of these
More informationInstalling Java 5.0 and Eclipse on Mac OS X
Installing Java 5.0 and Eclipse on Mac OS X This page tells you how to download Java 5.0 and Eclipse for Mac OS X. If you need help, Blitz cs5help@cs.dartmouth.edu. You must be running Mac OS 10.4 or later
More informationFileMaker Server 15. Getting Started Guide
FileMaker Server 15 Getting Started Guide 2007 2016 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker and FileMaker Go are trademarks
More informationUnix Guide. Logo Reproduction. School of Computing & Information Systems. Colours red and black on white backgroun
Logo Reproduction Colours red and black on white backgroun School of Computing & Information Systems Unix Guide Mono positive black on white background 2013 Mono negative white only out of any colou 2
More informationAthena Knowledge Base
Athena Knowledge Base The Athena Visual Studio Knowledge Base contains a number of tips, suggestions and how to s that have been recommended by the users of the software. We will continue to enhance this
More informationThe Power Loader GUI
The Power Loader GUI (212) 405.1010 info@1010data.com Follow: @1010data www.1010data.com The Power Loader GUI Contents 2 Contents Pre-Load To-Do List... 3 Login to Power Loader... 4 Upload Data Files to
More informationHow to use PDFlib products with PHP
How to use PDFlib products with PHP Last change: July 13, 2011 Latest PDFlib version covered in this document: 8.0.3 Latest version of this document available at: www.pdflib.com/developer/technical-documentation
More informationtools that make every developer a quality expert
tools that make every developer a quality expert Google: www.google.com Copyright 2006-2010, Google,Inc.. All rights are reserved. Google is a registered trademark of Google, Inc. and CodePro AnalytiX
More informationSite Maintenance Using Dreamweaver
Site Maintenance Using Dreamweaver As you know, it is possible to transfer the files that make up your web site from your local computer to the remote server using FTP (file transfer protocol) or some
More informationCode::Block manual. for CS101x course. Department of Computer Science and Engineering Indian Institute of Technology - Bombay Mumbai - 400076.
Code::Block manual for CS101x course Department of Computer Science and Engineering Indian Institute of Technology - Bombay Mumbai - 400076. April 9, 2014 Contents 1 Introduction 1 1.1 Code::Blocks...........................................
More informationFileMaker Server 11. FileMaker Server Help
FileMaker Server 11 FileMaker Server Help 2010 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker is a trademark of FileMaker, Inc. registered
More informationMAS 500 Intelligence Tips and Tricks Booklet Vol. 1
MAS 500 Intelligence Tips and Tricks Booklet Vol. 1 1 Contents Accessing the Sage MAS Intelligence Reports... 3 Copying, Pasting and Renaming Reports... 4 To create a new report from an existing report...
More informationFileMaker Server 10 Help
FileMaker Server 10 Help 2007-2009 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker, the file folder logo, Bento and the Bento logo
More informationXtreeme Search Engine Studio Help. 2007 Xtreeme
Xtreeme Search Engine Studio Help 2007 Xtreeme I Search Engine Studio Help Table of Contents Part I Introduction 2 Part II Requirements 4 Part III Features 7 Part IV Quick Start Tutorials 9 1 Steps to
More informationTips and Tricks SAGE ACCPAC INTELLIGENCE
Tips and Tricks SAGE ACCPAC INTELLIGENCE 1 Table of Contents Auto e-mailing reports... 4 Automatically Running Macros... 7 Creating new Macros from Excel... 8 Compact Metadata Functionality... 9 Copying,
More informationVMware Software Manager - Download Service User's Guide
VMware Software Manager - Download Service User's Guide VMware Software Manager 1.1 This document supports the version of each product listed and supports all subsequent versions until the document is
More informationE-mail Settings 1 September 2015
Training Notes 1 September 2015 PrintBoss can be configured to e-mail the documents it processes as PDF attachments. There are limitations to embedding documents in standard e-mails. PrintBoss solves these
More informationWeb Services for Management Perl Library VMware ESX Server 3.5, VMware ESX Server 3i version 3.5, and VMware VirtualCenter 2.5
Technical Note Web Services for Management Perl Library VMware ESX Server 3.5, VMware ESX Server 3i version 3.5, and VMware VirtualCenter 2.5 In the VMware Infrastructure (VI) Perl Toolkit 1.5, VMware
More informationProgramming in Access VBA
PART I Programming in Access VBA In this part, you will learn all about how Visual Basic for Applications (VBA) works for Access 2010. A number of new VBA features have been incorporated into the 2010
More informationSametime Gateway Version 9. Deploying DMZ Secure Proxy Server
Sametime Gateway Version 9 Deploying DMZ Secure Proxy Server November 2013 Edition Notice Note: Before using this information and the product it supports, read the information in "Notices." This edition
More informationUnderstand for FORTRAN
Understand Your Software... Understand for FORTRAN User Guide and Reference Manual Version 1.4 Scientific Toolworks, Inc. Scientific Toolworks, Inc. 1579 Broad Brook Road South Royalton, VT 05068 Copyright
More informationBitrix Site Manager ASP.NET. Installation Guide
Bitrix Site Manager ASP.NET Installation Guide Contents Introduction... 4 Chapter 1. Checking for IIS Installation... 5 Chapter 2. Using An Archive File to Install Bitrix Site Manager ASP.NET... 7 Preliminary
More informationInstalling Oracle 12c Enterprise on Windows 7 64-Bit
JTHOMAS ENTERPRISES LLC Installing Oracle 12c Enterprise on Windows 7 64-Bit DOLOR SET AMET Overview This guide will step you through the process on installing a desktop-class Oracle Database Enterprises
More informationSonatype CLM Enforcement Points - Continuous Integration (CI) Sonatype CLM Enforcement Points - Continuous Integration (CI)
Sonatype CLM Enforcement Points - Continuous Integration (CI) i Sonatype CLM Enforcement Points - Continuous Integration (CI) Sonatype CLM Enforcement Points - Continuous Integration (CI) ii Contents 1
More informationGreenstone Documentation
Greenstone Documentation Web library and Remote Collection Building with GLI Client Web Library. This enables any computer with an existing webserver to serve pre-built Greenstone collections. As with
More informationCharter Business Desktop Security Administrator's Guide
Charter Business Desktop Security Administrator's Guide Table of Contents Chapter 1: Introduction... 4 Chapter 2: Getting Started... 5 Creating a new user... 6 Recovering and changing your password...
More information