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.
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.
This book was written in 2000. There's not a problem working with the examples if you're using python 2.7.x. Read morePublished 11 months ago by Karl
The book is an Orielly book and therefore technical. I have other books to learn from and this one just is used as one of my tech. reference books.Published 16 months ago by T. Cook
For me the most valuable part of the book was Chapter 5 where it explains how to create COM objects using Python scripts. Read morePublished on October 17, 2011 by michaelDubs
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