25 Books to Read Before You Die
 
 

Recently Viewed clear list


Original Essays | Yesterday, 11:30am

Julie Schumacher: IMG Dear Professor Fitger



Saint Paul, August 2014 Dear Professor Fitger, I've been asked to say a few words about you for Powells.com. Having dreamed you up with a ball-point... Continue »
  1. $16.07 Sale Hardcover add to wish list

    Dear Committee Members

    Julie Schumacher 9780385538138

spacer
Qualifying orders ship free.
$23.25
New Trade Paper
Ships in 1 to 3 days
Add to Wishlist
available for shipping or prepaid pickup only
Qty Store Section
2 Local Warehouse Computer Languages- Python

More copies of this ISBN

Python Phrasebook

by

Python Phrasebook Cover

 

Synopses & Reviews

Publisher Comments:

Python Phrasebook

 

Brad Dayley

 

Essential Code and Commands

 

Python Phrasebook gives you the code phrases you need to quickly and effectively complete your programming projects in Python.

 

Concise and Accessible

Easy to carry and easy to use–lets you ditch all those bulky books for one portable guide

 

Flexible and Functional

Packed with more than 100 customizable code snippets–so you can readily code functional Python in just about any situation

 

Brad Dayley is a software engineer at Novell, Inc. He has been a system administrator and software developer on the Unix, Windows, Linux, and NetWare platforms for the past 14 years. Brad co-developed an advanced debugging course used to train engineers and customers and is the co-author of several Novell Press books.

 

Programming / Python

  

Book News Annotation:

Despite being one of the smallest books he's written at 4.5x7", this software engineer at Novell says that it's one of the handiest. Rather than a reference manual or guide to this object-oriented programming language, Dayley considers it a quick reference to interesting phrases for real-world tasks in Python 2.4. Code examples are downloadable upon book registration.
Annotation 2007 Book News, Inc., Portland, OR (booknews.com)

Book News Annotation:

Despite being one of the smallest books he's written at 4.5x7", this software engineer at Novell says that it's one of the handiest. Rather than a reference manual or guide to this object-oriented programming language, Dayley considers it a quick reference to interesting phrases for real-world tasks in Python 2.4. Code examples are downloadable upon book registration. Annotation ©2007 Book News, Inc., Portland, OR (booknews.com)

About the Author

Brad Dayley is a senior software engineer in Novell’s Nterprise Development Group. He has 14 years of experience installing, troubleshooting, and developing Novell’s products for NetWare and Linux. He is the co-author of Novell’s Guide to Resolving Critical Server Issues, as well as seven other Novell Press titles on the ZENworks suite.

When he is not writing books or software, he can be found biking, hiking, and/or Jeeping somewhere in the remote regions of the Pacific Northwest with his wife, DaNae, and four sons.

Table of Contents

Chapter 1 Understanding Python 3

Why Use Python?

Invoking the Interpreter

Built-In Types

Understanding Python Syntax

Python Objects, Modules, Classes, and Functions

Error Handling

Using System Tools

Chapter 2 Manipulating Strings

Comparing Strings

Joining Strings

Splitting Strings

Searching Strings for Substrings

Search and Replace in Strings

Searching Strings for Specific Endings/Beginnings

Trimming Strings

Aligning/Formatting Strings

Executing Code Inside Strings

Interpolating Variables Inside Strings

Converting Unicode to Local Strings

Chapter 3 Managing Data Types

Defining a List

Accessing a List

Slicing a List

Adding and Removing Items in a List

Sorting a List

Using Tuples

Constructing a Dictionary

Adding a Value to a Dictionary

Retrieving a Value from a Dictionary

Slicing a Dictionary

Swapping Keys for Values in a Dictionary

Chapter 4 Managing Files

Opening and Closing Files

Reading an Entire File

Reading a Single Line from a File

Accessing Each Word in a File

Writing a File

Determining the Number of Lines in a File

Walking the Directory Tree

Renaming Files

Recursively Deleting Files and Subdirectories

Searching for Files Based on Extension

Creating a TAR File

Extracting a File from a TAR File

Adding Files to a ZIP File

Retrieving Files from a ZIP File

Chapter 5 Managing Threads

Starting a New Thread

Creating and Exiting Threads

Synchronizing Threads

Implementing a Multithreaded Priority Queue

Initiating a Timer-Interrupted Thread

Chapter 6 Managing Databases

Adding Entries to a DBM File

Retrieving Entries from a DBM File

Updating Entries in a DBM File

Pickling Objects to a File

Unpickling Objects from a File

Storing Objects in a Shelve File

Retrieving Objects from a Shelve File

Changing Objects in a Shelve File

Connecting to a MySQL Database Server

Creating a MySQL Database

Adding Entries to a MySQL Database

Retrieving Entries from a MySQL Database

Chapter 7 Implementing Internet Communication

Opening a Server-Side Socket for Receiving Data

Opening a Client-Side Socket for Sending Data

Receiving Streaming Data Using the ServerSocket Module

Sending Streaming Data

Sending Email Using SMTP

Retrieving Email from a POP3 Server

Using Python to Fetch Files from an FTP Server

Chapter 8 Processing HTML

Parsing URLs

Opening HTML Documents

Retrieving Links from HTML Documents

Retrieving Images from HTML Documents

Retrieving Text from HTML Documents

Retrieving Cookies in HTML Documents

Adding Quotes to Attribute Values in HTML Documents

Chapter 9 Processing XML

Loading an XML Document

Checking for Well-Formed XML Documents

Accessing Child Nodes

Accessing Element Attributes

Adding a Node to a DOM Tree

Removing a Node from a DOM Tree

Searching XML Documents

Extracting Text from XML Documents

Parsing XML Tags

Chapter 10 Programming Web Services

Adding HTML to Web Pages Using CGI Scripts

Processing Parameters Passed to CGI Scripts

Creating Self-Posting CGI Scripts

Allowing Users to Upload Files via CGI Scripts

Creating an HTTP Server to Handle GET Requests

Creating an HTTP Server to Handle POST Requests

Creating an HTTP Server to Process CGI Scripts

Sending an HTTP GET Request from a Python Script

Sending an HTTP POST Request from a Python Script

Creating an XML-RPC Server

Creating an XML-RPC Client

Using SOAPpy to Access SOAP Web Services Through a WSDL File

 

TOC    0672329107   10/11/2006

 

Product Details

ISBN:
9780672329104
Author:
Dayley, Brad
Publisher:
Sams
Subject:
Programming Languages - General
Subject:
Python (Computer program language)
Subject:
Programming Languages - Python
Subject:
Computer Languages - Python
Copyright:
Edition Description:
Trade paper
Series:
Developer's Library
Publication Date:
November 2006
Binding:
TRADE PAPER
Grade Level:
General/trade
Language:
English
Illustrations:
Y
Pages:
288
Dimensions:
7 x 4.5 x 0.66 in 234 gr

Related Subjects

» Computers and Internet » Computer Languages » Python
» Computers and Internet » Software Engineering » Object Oriented Programming
» Sports and Outdoors » Sports and Fitness » Golf » General

Python Phrasebook New Trade Paper
0 stars - 0 reviews
$23.25 In Stock
Product details 288 pages Sams - English 9780672329104 Reviews:
spacer
spacer
  • back to top
Follow us on...




Powell's City of Books is an independent bookstore in Portland, Oregon, that fills a whole city block with more than a million new, used, and out of print books. Shop those shelves — plus literally millions more books, DVDs, and gifts — here at Powells.com.