[python-win32] python 3 support

2012-02-01 Thread Roman Morawek
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. Is this assumption correct? Is there any alternativ

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

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

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.

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.

Re: [python-win32] problem AddLine AutoCAD win32com.client

2012-02-01 Thread Mark Hammond
Re-added the python-win32 list - please keep replies on list. Your code uses: pt1 = array.array('d', [0.0,0.0,0.0]) pt2=array.array('d',[1.0,1.0,__0.0]) But these aren't supported by pywin32 in the way you expect - what happens if you change this to: pt1 =

Re: [python-win32] problem AddLine AutoCAD win32com.client

2012-02-01 Thread DANIEL POSE
I have used array module because it worked with comtypes module. If I use simple list it doesn't work with comtypes nor pywin32. If I use: pt1 = [0.0,0.0,0.0] pt2 =[1.0,1.0,0.0] Then Python responds: code Traceback (most recent call last): File ipython console, line 1, in module File

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

Re: [python-win32] problem AddLine AutoCAD win32com.client

2012-02-01 Thread Dan Glassman
Daniel, I've tested a prerelease version of pywin32 that contains the new win32com.client.VARIANT class and it works well with AutoCAD. Once released, you can write something like this: import win32com.client import pythoncom def POINT(x,y,z): return