Re: [python-win32] python 3 support

2012-02-01 Thread Tim Roberts
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, t...@probo.com
Providenza  Boekelheide, Inc.

___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32


Re: [python-win32] python 3 support

2012-02-01 Thread Brian Curtin
On Wed, Feb 1, 2012 at 13:56, Roman Morawek li...@morawek.at wrote:
 Hello,

 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.
 However, as I understand I need to use the pywin32 package, which is not
 supporting Python 3.

It has supported Python 3 since at least 2009.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32


Re: [python-win32] python 3 support

2012-02-01 Thread Roman Morawek
On 01.02.2012 21:51, Brian Curtin wrote:
 It has supported Python 3 since at least 2009.

Interesting. It seems I just got confused by the list of the 25 most
often nominated packages where users desire Python 3 support:
http://python.org/3kpoll

There is a hint on how to unlist the package there. The package author
may want to do this.

Best regards,
Roman
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32


Re: [python-win32] python 3 support

2012-02-01 Thread Dietmar Schwertberger

Am 01.02.2012 20:56, schrieb Roman Morawek:

Is there any alternativ package available, which allows me to
import/export MS project files?


MS Project can write and read XML files.
Maybe that's good enough for you. Just save a project as XML and have
a look. The structure is not too complicated. Much easier to use than
e.g. XML files from Word or Excel.



Regards,

Dietmar

___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32


Re: [python-win32] python 3 support

2012-02-01 Thread Mark Hammond

On 2/02/2012 8:43 AM, Roman Morawek wrote:

On 01.02.2012 21:51, Brian Curtin wrote:

It has supported Python 3 since at least 2009.


Interesting. It seems I just got confused by the list of the 25 most
often nominated packages where users desire Python 3 support:
http://python.org/3kpoll

There is a hint on how to unlist the package there. The package author
may want to do this.


Thanks for pointing that out - I think I've followed the instructions so 
it should be removed soon.


Cheers,

Mark
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32