Re: pythoncom.CoInitialize() not recognised in Eclipse

2010-03-28 Thread Dieter Verfaillie
Quoting KB : I am getting an error from the IDE saying it does not recognise CoInitialize(): import pythoncom pythoncom.CoInitialize() pythoncom.CoUninitialize() It works out of the box with PyDev 1.5.5.2010030420 on Eclipse 3.5.2 on Windows XP. If nothing seems to work for you, y

Re: PyGTK localisation on Win32

2008-03-30 Thread Dieter Verfaillie
nctions. Put the attached locale module in a libi18n package and use like this: #!/usr/bin/env python from libi18n import locale locale.fix_locale() del locale hth, Dieter # -*- coding: utf-8 -*- # # locale.py - libi18n # Copyright (C) 2007-2008 Dieter Verfaillie <[EMAIL PROTECTED]> # # This l

Re: Volume id

2007-11-16 Thread Dieter Verfaillie
On Thu, 2007-11-15 at 17:05 +0100, Gabor Urban wrote: > OK, you are right... Problem was not precise enough. I need to process > CDs to create a list. Does it ring a bell for you? > > Thanks Hello, The method below will work on linux systems (it uses dbus to communicate with HAL). You'll maybe h

Re: Newbie in the deep - some PyGTK questions

2007-02-26 Thread Dieter Verfaillie
On Mon, 2007-02-26 at 20:58 +, nmp wrote: > I did that and it works now :) Thank you, I had indeed been playing with > those options but not being entirely sure what they did I also forgot > about them... Happy it worked out :) > Yes, I found that a short time after I posted my question and

Re: Newbie in the deep - some PyGTK questions

2007-02-24 Thread Dieter Verfaillie
Hi, On Fri, 2007-02-23 at 11:36 +, nmp wrote: > First "problem": when I insert the glade file in my application the way > some tutorials have shown me: > > self.wTree = gtk.glade.XML("autostart.glade", "mainWindow") > > ... Python is consistently giving me this warning: > > /home/xx

Re: Module for SVG?

2007-01-26 Thread Dieter Verfaillie
On Thu, 2007-01-25 at 15:58 -0300, Sebastian Bassi wrote: > Hello, > > I found http://www2.sfk.nl/svg as a Python module for writing SVG. > Last update was in 2004 and I am not sure if there is something > better. > Any recommendation for generating SVG graphics? > Best, > SB. Cairo ( http://cair

Re: PyGTK

2006-02-11 Thread Dieter Verfaillie
On Thu, 09 Feb 2006 12:38:26 +, Dave Cook wrote: > > particularly the last section on how to create an EXE from your pygtk program. > That recipe isn't optimal with newer gtk versions (starting from 2.8 if I remember correctly). Look here instead: http://starship.python.net/crew/theller/moin

Re: Using XML w/ Python...

2005-12-11 Thread Dieter Verfaillie
On Sat, 10 Dec 2005 21:12:04 -0800, Jay wrote: > OK, I have this XML doc, i dont know much about XML, but what i want > to do is take certain parts of the XML doc the most simple module I've found to do that is xmltramp from http://www.aaronsw.com/2002/xmltramp/ for example: #!/usr/bin/env pyt