pyqt

Discussion in 'Python' started by Kuljo, Dec 10, 2005.

  1. Kuljo

    Kuljo Guest

    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
     
    Kuljo, Dec 10, 2005
    #1
    1. Advertising

  2. 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
     
    Giovanni Bajo, Dec 10, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. MK

    Re: PyQT and Mandrake 9.1

    MK, Jul 1, 2003, in forum: Python
    Replies:
    5
    Views:
    309
    Jim Richardson
    Jul 3, 2003
  2. djw

    PyQt and async I/O

    djw, Jul 1, 2003, in forum: Python
    Replies:
    1
    Views:
    588
    Andrew Bennetts
    Jul 2, 2003
  3. Phil Thompson

    ANN: PyQt v3.7 Released

    Phil Thompson, Jul 5, 2003, in forum: Python
    Replies:
    0
    Views:
    317
    Phil Thompson
    Jul 5, 2003
  4. Sybren Stuvel
    Replies:
    12
    Views:
    720
    Sybren Stuvel
    Jul 16, 2003
  5. ulysses
    Replies:
    4
    Views:
    778
    Werner Schiendl
    Oct 22, 2003
Loading...

Share This Page