pyqt

K

Kuljo

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
 
G

Giovanni Bajo

Kuljo said:
- 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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top