PyKDE
Mik Mifflin
dogansmoobs at NOSPAM.prexar.com
Mon Feb 18 14:38:05 EST 2002
I'm trying to learn Qt programming and decided to use my new favorite
language (Python, of course). I'm using SuSE 7.3, and there is an rpm
called PyQt installed, but it looks like I need PyKDE as well? This is the
program that I'm trying to run, and the error messages it gives:
!/usr/bin/python
from qt import *
from kdecore import *
from kdeui import *
a = KApplication (sys.argv)
w = QWidget()
a.setMainWidget (w)
a.setTopWidget (w)
w.resize (200, 200)
w.show()
a.exec_loop()
> ./qt1
File "./qt1", line 3, in ?
from kdecore import *
ImportError: No module named kdecore
If I do need PyKDE, does anyone know of an rpm that will work with SuSE?
Or am I just better off installing from source?
--
- Mik Mifflin
.doog era syeknoM
AIM: dogansmoobs
EMAIL:dogansmoobs at prexar.com
More information about the Python-list
mailing list