or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Sell Back Your Copy
For a $1.75 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Python Programming on WIN32: Help for Windows Programmers
 
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Python Programming on WIN32: Help for Windows Programmers [Paperback]

Mark Hammond (Author), Andy Robinson (Author)
4.1 out of 5 stars  See all reviews (11 customer reviews)

List Price: $59.99
Price: $48.70 & this item ships for FREE with Super Saver Shipping. Details
You Save: $11.29 (19%)
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, January 31? Choose One-Day Shipping at checkout. Details
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Book Description

January 2000

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% 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.

Topics include:

  • The Python language and the PythonWin extensions
  • Building a GUI with COM
  • Adding a Macro language
  • Distributing the application
  • Client-side COM for output and data access
  • Integration with mail and other internet protocols
  • Managing users and drives

This is a vital and unique book. Python Programming on Win32 is an excellent presentation of Windows application development and a solid illustration of how to use Python in the Windows environment.


Frequently Bought Together

Python Programming on WIN32: Help for Windows Programmers + Python Cookbook + Programming Python
Price For All Three: $118.54

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Python Cookbook $31.63

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

  • Programming Python $38.21

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



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.

About the Author

Mark Hammond is an independent Microsoft Windows consultant working out of Melbourne, Australia. He studied computer science at the South Australian Institute of Technology (now the University of South Australia), and then worked with several large financial institutions in Australia. He started his consulting operation in 1995. Mark has produced many of the Windows extensions for Python, including PythonWin, Active Scripting, and Active Debugging support, and coauthored the COM framework and extensions. He is also a leading authority on Active Scripting and related technologies and has spoken on this subject at Microsofts three most recent Professional Developers conferences. Apart from being a father to his teenage daughter, having an interest in live music, and providing way-too-many free Python extensions, Mark has no life!

Andy Robinson is a London-based consultant specializing in business analysis, object-oriented design, and Windows development. He studied physics and philosophy, then Japanese studies at Oxford. He spent a year in advertising in Tokyo, two more in investment banking, and a long spell as the finance director of a startup in the sports industry. Observing that in all these positions he always ended up having to rewrite software, he moved to full-time computer consulting four years ago. He is currently helping one of the world's largest fund managers to internationalize their systems to handle Asian languages, developing Python systems for financial analysis, and reporting. Back when Andy had spare time, his passions were track and field, and rock climbing. Right now his two sons, Tim and Harry, are taking up all of his time.


Product Details

  • Paperback: 672 pages
  • Publisher: O'Reilly Media; 1st edition (January 2000)
  • Language: English
  • ISBN-10: 1565926218
  • ISBN-13: 978-1565926219
  • Product Dimensions: 9.5 x 6.8 x 1.3 inches
  • Shipping Weight: 2.5 pounds (View shipping rates and policies)
  • Average Customer Review: 4.1 out of 5 stars  See all reviews (11 customer reviews)
  • Amazon Best Sellers Rank: #246,380 in Books (See Top 100 in Books)

More About the Author

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

 

Customer Reviews

11 Reviews
5 star:
 (3)
4 star:
 (6)
3 star:
 (2)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.1 out of 5 stars (11 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
This review is from: Python Programming on WIN32: Help for Windows Programmers (Paperback)
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?

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


20 of 25 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
This review is from: Python Programming on WIN32: Help for Windows Programmers (Paperback)
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.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


8 of 9 people found the following review helpful:
4.0 out of 5 stars Very good, misses a few spots, May 12, 2000
This review is from: Python Programming on WIN32: Help for Windows Programmers (Paperback)
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 !

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

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









Only search this product's reviews



Inside This Book (learn more)
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:

What Other Items Do Customers 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 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
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...



Look for Similar Items by Category


Look for Similar Items by Subject