Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Python GUI help (or prior to... ;))

  1. #1
    Join Date
    May 2007
    Location
    Canada!
    Beans
    1,709
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Python GUI help (or prior to... ;))

    I am learning python and I think I know enough now to move on to a basic gui - it doesn't have to use the proper theme or anything, just create a window with some sliders, buttons, etc. and hook them to code. If at all possible I would like it to be event driven.

    Any ideas of what I should be looking for?
    ex. I've heard there are sub-sections, if you will, of python like pyGTK and pyQT - I don't need anything fancy - I just want it to be easy and if at all possible event driven
    Last edited by ryanVickers; January 22nd, 2008 at 05:55 AM. Reason: expand on post, fix typos (I really need to review them more carefully first...)

  2. #2
    Join Date
    Apr 2007
    Beans
    14,781

    Re: Python GUI help (or prior to... ;))

    See my wiki.

    EasyGUI is extremly easy to use, but isn't event driven. Might be useful to play with or for simple functionality.

    wxWidgets is what I recommend, but that is just an opinion. Tkinter, wxWidgets, pyGTK, and others may be your cup of tea (coffee, beer, vinegar)

  3. #3
    Join Date
    May 2007
    Location
    Canada!
    Beans
    1,709
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Python GUI help (or prior to... ;))

    meh, vinegar's good

    ok, I'll have a look at those and see how it goes!

  4. #4
    Join Date
    Apr 2007
    Beans
    14,781

    Re: Python GUI help (or prior to... ;))

    Quote Originally Posted by ryanVickers View Post
    meh, vinegar's good

    ok, I'll have a look at those and see how it goes!
    I was serious with the vinegar reference. Not white vinegar of course, but a little bit of honey and apple cider vinegar in a cup of water...great filling and healthy drink.

  5. #5
    Join Date
    Oct 2006
    Location
    Austin, Texas
    Beans
    2,715

    Re: Python GUI help (or prior to... ;))

    Real men just mix all three of them in a big mug and slam it!

  6. #6
    Join Date
    May 2007
    Location
    Canada!
    Beans
    1,709
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Python GUI help (or prior to... ;))

    fascinating... I was going for white vinegar - oh and you stir in a bit of bauxite and red phosphorus; its great!

  7. #7
    Join Date
    Apr 2007
    Beans
    14,781

    Re: Python GUI help (or prior to... ;))

    Quote Originally Posted by Wybiral View Post
    Real men just mix all three of them in a big mug and slam it!
    I am sure that non males could do the same

    Also, I am 19, and not legally allowed to drink some beverages. (I don't plan on it either)

    I think we are OT. A psychologist should come into this forum and review what part of the human mind makes small comments become the foci of conversations. We'd be famous.

  8. #8
    Join Date
    May 2007
    Location
    Canada!
    Beans
    1,709
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Python GUI help (or prior to... ;))

    and no one comments on my concoction of some dynamite ingredients...

    Granted, my formula may be a little dated, but I'd not put it past a hundred and 20 years or so...
    The gluey stuff in the wick, something to go with the sulphur...

    EDIT: Wait, no... that's something else... but aluminium is bad too!
    Last edited by ryanVickers; January 22nd, 2008 at 06:21 AM.

  9. #9
    Join Date
    May 2007
    Location
    Santiago de Compostela
    Beans
    21
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Python GUI help (or prior to... ;))

    I'm in the same position as Ryan, plus;
    I tried out some code with "import wx" which worked great. I later imported Tkinter, which worked too. Trouble is wx now doesn't seem to work. Is is a choice of either/or or is it my own idiocy?

    I tried the vinegar slammer but it came shooting out my nose,

  10. #10
    Join Date
    Nov 2007
    Location
    New York
    Beans
    1,103
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Python GUI help (or prior to... ;))

    You can use both, but not together..so a program would either be written using wx or tkinter. At least thats what I think.
    ``The awful thing about getting it right the first time is that nobody realizes how hard it was.''
    -- Unknown.--
    User # 19226

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •