[python-win32] python 3 support
Tim Roberts
timr at probo.com
Wed Feb 1 21:13:32 CET 2012
Roman Morawek wrote:
> I am just starting a new activity where I need to intact with MS
> Project. Since this is a new topic, I intend to start using Python 3.2.
In my opinion -- and it is ONLY my opinion -- the smartest place to
begin a new project today is with Python 2.7. The third-party library
support is still too spotty in Python 3. It's getting there, but it's
not there yet. (It is actually taking longer than I expected.)
> Is there any alternativ package available, which allows me to
> import/export MS project files?
Remember that Python doesn't know anything about Project. You will be
interactive with the Project application as a COM server. Python (with
PyWin32) understands how to communicate with COM servers, but you won't
find anything specific about Python and Project. You will need to
translate the Project object model documentation from C++ or C# to Python.
It's usually not that hard. There are LOTS of examples of controlling
Word and Excel from Python, and the concepts are very similar.
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the python-win32
mailing list