469,353 Members | 2,053 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,353 developers. It's quick & easy.

pyqt

Hi,
I'm trying to explore pyqt: ev erthing works OK, but I have still two
questions:
- Can I execute bash commands in a python script (e.g. ls -l or grep)?
- In the QT Designer there are also KDE-widgets but I'm not sucseeded to
get them work in pyqt (it says: "self.kProgress1 =
KProgress(self,"kProgress1") NameError: global name 'KProgress' is not
defined").
Are the not implemented there or I should install some additional
software?
regards
Kuljo
Dec 10 '05 #1
1 1061
Kuljo wrote:
- Can I execute bash commands in a python script (e.g. ls -l or grep)?
Yes, for instance with os.system or os.popen. It won't be portable though.
- In the QT Designer there are also KDE-widgets but I'm not sucseeded
to get them work in pyqt (it says: "self.kProgress1 =
KProgress(self,"kProgress1") NameError: global name 'KProgress' is not
defined").
Are the not implemented there or I should install some additional
software?


PyKDE.
--
Giovanni Bajo
Dec 10 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by Ilya Knizhnik | last post: by
2 posts views Thread by Dennis Sylvester | last post: by
35 posts views Thread by Vamsi Mudrageda | last post: by
8 posts views Thread by simo | last post: by
10 posts views Thread by svenn.are | last post: by
3 posts views Thread by Fabio | last post: by
10 posts views Thread by Simon John | last post: by
4 posts views Thread by Phil Thompson | last post: by
17 posts views Thread by eholbroo | last post: by
3 posts views Thread by Phil Thompson | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.