Python @ Web Programming
 Programming Shed : Programmer Store & Resources
|  ASP.NET  |  HTML / DHTML  |  Java / JavaScript  |  Perl  |  PHP  |  Python  |  XML  |
Python Index - Python Book :

Python Book :
Python Programming on Win 32

Python Programming on Win 32
Check price @
Amazon.com
Amazon.ca
Amazon.co.uk


Python Programming on Win 32
by Mark Hammond, Andy Robinson

Paperback: 652 pages
Dimensions (in inches): 1.20 x 9.13 x 6.96
Publisher: O'Reilly & Associates
ISBN: 1565926218; 1st edition (January 2000)


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.

From Book News, Inc.: Demonstrates how to use the Python programming language (an object- oriented scripting language) as a development and administrations tool for Win32. Focused on tasks rather than programming (although a brief tutorial is provided) the authors cover how Python works on Windows; the key integration technologies supported by Python on Windows; and examples of what Python can do with databases, email, Internet protocols, NT services, communications, and other areas.

Book 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% 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
• Manging users and drives
• Managing processes and services

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.

Book Info: Demonstrates how to use Python as a serious Windows development and administration tool. Addresses all the basic technologies for common integration tasks on Windows, explaining both Windows issues and the Python code you need to glue things together.


Customer Reviews
Reviewer: Ilya Levinson from Moscow, Russian Federation
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 book you'll get some very general idea of what these all are about: this book covers them all, as well as many other things. But whenever it comes to tell you something really interesting, authors just say: "well, it's out of the scope of this book, so let's stop here..."

However, there are things this book does not cover. For instance, I thought scripting languages are a handy tool for text processing, but throughout this book I encountered only one mention of regular expressions - in the context of filtering file names, and you won't find regular expressions in the Index. From 10-page Chapter "Working with Email" you'll learn what SMTP and POP3 stand for, and from 15-page Appendix(!) "Threads" you'll learn that Python has something to do with threads, and fairly much about COM threading model.

Information in this 650-page book can fit a dozen-page article. Most of all this book looks like a slide show for marketing, trying to convince them that Python is the answer to all questions. And most of the time it sounds like: "It's easy, we won't tell you exactly what and how, but for smart guys like us who can read man pages, it's very easy."

Reviewer: A reader from Topeka, KS USA
This books is neither a Python tutorial book nor a Windows programming book. The title of this book greatly mis-represents the contents. If you are not a Windows COM programmer who's trying to learn Python or are trying develop Python applications on other platforms, please look for other Python books.

Reviewer: Nico Genimakis from Thessaloniki, Greece
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 !

Reviewer: Lars Lundstedt from Stockholm, Sweden
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.






Book Subjects
Learning Python
Python Reference Manual
Web Programming
© 2005-2006, Programming Shed