Diego Vélez Torres wrote: > > I just purchased M. Hammond's "Python Programming on Win32" book. > Though a bit old the (1999) still is of great help. I have been able > to make simple COM servers so far. However, I have a question > regarding the code examples found in his http://starship.python.net/ > web site. Are they written in Python 1.x... or Python 2.x? I wonder > if there are code examples written for Python 3.x?
They are almost certainly Python 2. Python 1 was quickly replaced by Python 2 in the 1990s. The differences between 2 and 3 are small enough that the samples are still useful. The most significant annoying difference is the print function, and you can fix that with a text editor. Occasionally, I'll have an issue with the change in string type to Unicode, but that's about it. The COM stuff still works exactly the same as it did before. -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. _______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32