or
Sign in to turn on 1-Click ordering.
 
 
Express Checkout with PayPhrase
What's this? | Create PayPhrase
More Buying Choices
31 used & new from $11.45

Have one to sell? Sell yours here
 
   
Python Programming on WIN32
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get your Kindle here.
 
  

Python Programming on WIN32 (Paperback)

~ (Author), Andy Robinson (Author)
4.0 out of 5 stars  See all reviews (8 customer reviews)

List Price: $34.95
Price: $29.90 & this item ships for FREE with Super Saver Shipping. Details
You Save: $5.05 (14%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Tuesday, November 17? Choose One-Day Shipping at checkout. Details
9 new from $25.42 22 used from $11.45
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Frequently Bought Together

Customers buy this book with Python Cookbook by David Ascher

Python Programming on WIN32 + Python Cookbook
  • This item: Python Programming on WIN32 by Mark Hammond

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Python Cookbook by David Ascher

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought

Python Essential Reference (4th Edition)

Python Essential Reference (4th Edition)

by David M. Beazley
5.0 out of 5 stars (5)  $29.69
Programming Python

Programming Python

by Mark Lutz
4.1 out of 5 stars (9)  $37.79
wxPython in Action

wxPython in Action

by Noel Rappin
Foundations of Python Network Programming

Foundations of Python Network Programming

by John Goerzen
4.7 out of 5 stars (16)  $40.49
Python Pocket Reference (Python in Your Pocket)

Python Pocket Reference (Python in Your Pocket)

by Mark Lutz
3.9 out of 5 stars (16)  $10.19
Explore similar items

Editorial Reviews

Amazon.com Review

Python Programming on Win32 zeroes in on the strengths of the Python programming language for the Windows platform. If you would like to use Python on Windows with Office 2000, this book is a perfect choice for getting started. While it's not an introduction to Python programming itself, the book does present some basic Python examples. (The authors do provide an impressive list of real-world projects that have used Python successfully, including an application at NASA and a major Web search engine.)

In lieu of a general language tour, this book centers on practical tips and examples for using Python on Windows, beginning with downloading and installing the free Python package. The most useful examples here present a Python library for general accounting objects. You'll learn how to write COM servers in Python and then how to script them in Visual Basic (used here to build user interfaces) and how to control Word and Excel with OLE Automation in Python. One standout example looks at building and printing accounting reports in Office 2000 using Python as the script language.

Later sections look at other possibilities, including how to use Python's support for MFC to build user interfaces. A notable section here looks at Windows NT system administration in Python. Because of its built-in support for dictionaries, Python is a natural fit for working with users, groups, permissions, and the like.

While Python's initial habitat may be Unix, Python Programming on Win32 shows that this powerful and increasingly popular object-oriented language may find its next home on Windows. Provided you have some previous exposure to the language, this book is an excellent resource for using Python in a Windows setting. --Richard Dragan

Topics covered: Python programming quick-start, Windows Python basics, Python support for COM/DCOM, the Pythonwin editor, Office 2000 scripting, Windows NT administration and system programming, Python MFC programming, and Active Scripting.



Product Description

Python is growing in popularity; based on download statistics, there are now over 450,000 people using Python, and more than 150,000 people using Python on Windows. Use of the language has been growing at about 40 percent per year since 1995, and there is every reason to believe that growth will continue. Despite Python's increasing popularity on Windows, Python Programming on Win32 is the first book to demonstrate how to use it as a serious Windows development and administration tool. Unlike scripting on UNIX, Windows scripting involves integrating a number of components, such as COM or the various mail and database APIs, with the Win32 programming interface. While experienced Windows C++ programmers can find their way through the various objects, most people need some guidance, and this book is it. It addresses all the basic technologies for common integration tasks on Windows, explaining both the Windows issues and the Python code you need to glue things together.

Product Details

  • Paperback: 669 pages
  • Publisher: O'Reilly Media; 1st edition (January 2000)
  • Language: English
  • ISBN-10: 1565926218
  • ISBN-13: 978-1565926219
  • Product Dimensions: 9.1 x 7 x 1.2 inches
  • Shipping Weight: 2.5 pounds (View shipping rates and policies)
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (8 customer reviews)
  • Amazon.com Sales Rank: #340,427 in Books (See Bestsellers in Books)

    Popular in these categories: (What's this?)

    #4 in  Books > Computers & Internet > Programming > APIs & Operating Environments > Win32 API
    #51 in  Books > Computers & Internet > Programming > Languages & Tools > Python

More About the Author

Mark Hammond
Discover books, learn about writers, read author blogs, and more.

Visit Amazon's Mark Hammond Page

Look Inside This Book

What Do Customers Ultimately Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

8 Reviews
5 star:
 (2)
4 star:
 (4)
3 star:
 (2)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.0 out of 5 stars (8 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
23 of 23 people found the following review helpful:
5.0 out of 5 stars Well written, and a key reference, March 9, 2000
By doctorwes (Los Angeles, CA USA) - See all my reviews
Within a few hours of acquiring this book, it had enabled me to finish a project and save myself a lot of embarrassment at work.

The authors give is a detailed introduction to Python for Win32 developers - covering both system administration and back-end and front-end application development. It also provides an excellent introduction to COM (the Python/COM interface is the key component of the Win32 extensions). There is a nice progression from introductory material to quite advanced topics such as implementing NT services, or COM threading.

The range of topics covered is surprisingly broad. Also, the case studies are nice, and far from trivial: e.g. an accounting system that scripts Word and Excel, an invoicing system that produces PDF output.

The design of the Python Win32 extensions is admirable, so implementing COM clients in Python (e.g. scripting Excel) is simple - the online documentation is more than adequate. However, implementing COM servers (e.g. Excel-callable functions) is more subtle, and it would be unwise to attempt this without the information in this book. Hopefully a future edition will have more information on DCOM.

The section on GUI development is very helpful. I'm glad the authors covered wxPython as well as Tkinter - though less portable, wxPython is a much better framework on the Win32 platform.

There are some typos, but I haven't been confused by any so far.

The main difficulty with this book is that some of the information will become dated - the pace of development on both the Windows and Python sides seems to be rapid. Expect a second edition within a couple of years?

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
19 of 24 people found the following review helpful:
4.0 out of 5 stars Not a bad book, May 7, 2000
By Lars Lundstedt (Stockholm, Sweden) - See all my reviews
As I say in the title this is not a bad book. It's just not what I expected. The title is a bit of a misnomer, perhaps it should have been called "COM programming with Python". I had hoped to find some useful stuff on how to write GUI applications for Win32 but that topic was just slightly more than 40 pages in a book with over 600 pages. Still, I'd recommend it to anyone running Python on a Win32 platform.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
8 of 9 people found the following review helpful:
4.0 out of 5 stars Very good, misses a few spots, May 12, 2000
By Nico Genimakis (Columbia, Missouri USA) - See all my reviews
Python is the best choice for people who want to implement COM in the software they develop - mostly due to its clear structure and object - oriented nature. This is where this book mostly comes.

This book is well-written, practical-oriented and ideal for the newbie programmer who has already some idea over Python (O'Reilly's 'Learning Python' is the best place to start).

However, even experienced programmers need it because it provides a set of useful examples for rapid prototyping and reuse components.

It misses a few spots - First, you can't find much help on working on GUIs - and second (and most important) SWIG does not get the attention it deserves - it is just mentioned.

Finally, if you use Python in Win32 - or if you cannot decide what kind of COM solution you wish to develop - DO NOT CONSIDER TAKING A STEP WITHOUT THIS BOOK !

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

4.0 out of 5 stars COM basics for Python
Who is interested in using Python to script within COM, thus fully merging Python into a win32 environment, will surely find this book useful.
Published on March 21, 2007 by The Bird

3.0 out of 5 stars Python and Win32 for Pinheads
If you know nothing about Python, Visual Basic, scripting languages, Win32 API, MFC, COM, active scripting, Windows Networking and NT administration, then after you've read this... Read more
Published on November 13, 2000 by Ilya Levinson

3.0 out of 5 stars Not for learning Python or programmin on Win32
This books is neither a Python tutorial book nor a Windows programming book. The title of this book greatly mis-represents the contents. Read more
Published on July 13, 2000

4.0 out of 5 stars Very good, misses a few spots
Python is the best choice for people who want to implement COM in the software they develop - mostly due to its clear structure and object - oriented nature. Read more
Published on May 12, 2000 by Nico Genimakis

5.0 out of 5 stars Essential Python + Windows Book
this book covers it all: com, dcom, database, etc. Whatever question you may have had about Python's capabilities & how to get the most from it on the Windows platform are... Read more
Published on February 11, 2000

Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Discussion Replies Latest Post
DirectX 11 for Vista 0 19 days ago
Search Customer Discussions
Search all Amazon discussions
   



So You'd Like to...


Create a guide

Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.