Page 1 of 8 123 ... LastLast
Results 1 to 10 of 78

Thread: Where to start with python?

  1. #1
    Join Date
    Apr 2005
    Location
    Brazil
    Beans
    479
    Distro
    Ubuntu 7.04 Feisty Fawn

    Where to start with python?

    Hi, i would like to start programing python, mainly for making guis for some apps that doesnt have it..

    So i think that i ll need python and GTK, but i dont know from where to start..

    I m programming php for food, and programmed pascal and clipper for a long time.. so i m not a newbie in programing..

    If someone knows a good tutorial or a good documentation regardin gtk + python i would apreciate it...

    And please, i cant stand those "hello world" apps, i want to start making something.. like a simple app that when i click in a button runs one command and when i click in another runs another...

    And a good editor would be fine too, i use gedit to code php and i m fine with plain text.. i prefer to type than to click in buttons to make code for me

    thanx

  2. #2
    Join Date
    Nov 2004
    Beans
    68
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Where to start with python?

    your need gtk, pygtk and maybe glade if you want code produced for you

    Two good articles on python gui programing:

    http://www.linuxjournal.com/article/6586

    http://www.oreillynet.com/pub/wlg/6340

    Good example:

    http://primates.ximian.com/~sandino/python-glade/

    gui creation without glade, (just coding):

    http://www.pygtk.org/pygtk2tutorial/index.html

  3. #3
    Join Date
    Apr 2005
    Location
    Brazil
    Beans
    479
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Where to start with python?

    Quote Originally Posted by Moobert
    your need gtk, pygtk and maybe glade if you want code produced for you

    Two good articles on python gui programing:

    http://www.linuxjournal.com/article/6586

    http://www.oreillynet.com/pub/wlg/6340

    Good example:

    http://primates.ximian.com/~sandino/python-glade/

    gui creation without glade, (just coding):

    http://www.pygtk.org/pygtk2tutorial/index.html
    thanx a lot.. i will take a look.. and maybe i ll try glade too, but i m not a fan of those kind of gui creators.. i m accostumed to raw coding

    btw there are some good examples in these website.. thanx a lot.. and if someone knows some more examples, please post it
    Last edited by sapo; June 19th, 2005 at 06:21 PM.

  4. #4
    Join Date
    Mar 2005
    Beans
    7

    Re: Where to start with python?

    I would recommend wxPython for GUI programming. IMO it is easier to use than pyGTK.

  5. #5
    Join Date
    Apr 2005
    Location
    Brazil
    Beans
    479
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Where to start with python?

    Quote Originally Posted by dannyp
    I would recommend wxPython for GUI programming. IMO it is easier to use than pyGTK.

    Do you know any tutorial or any website where i can read about wxPython?

    thanx

  6. #6
    Join Date
    Nov 2004
    Beans
    68
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Where to start with python?

    Quote Originally Posted by sapo
    Do you know any tutorial or any website where i can read about wxPython?

    thanx
    http://wiki.wxpython.org/

    seems good

    pyQt seems worth looking into too, qt-designer being the gui builder.

  7. #7
    Join Date
    Apr 2005
    Location
    Brazil
    Beans
    479
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Where to start with python?

    thanx guys.. btw wich is better for me to start? wxpython or python + gtk?

    i m a little lost

  8. #8
    Join Date
    Nov 2004
    Beans
    303

    Re: Where to start with python?

    Quote Originally Posted by sapo
    thanx guys.. btw wich is better for me to start? wxpython or python + gtk?

    i m a little lost
    Python + wxPython, definitely.

  9. #9
    Join Date
    Apr 2005
    Location
    Kitchener, Canada
    Beans
    66

    Re: Where to start with python?

    I'm using Python and wxPython for my app. I haven't worked with PyGTK, so I can't comment on how difficult it is, but wxPython works well and gives apps a native look and feel. I recommend using wxGlade as a GUI designer and Eclipse with the PyDev plugin for coding. I've tried several different IDE's and GUI designers, and this is the combination that I like the best (that I've found so far, anyway).

  10. #10
    Join Date
    Oct 2004
    Location
    Cupertino, CA
    Beans
    5,092
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Where to start with python?

    Quote Originally Posted by sapo
    And a good editor would be fine too, i use gedit to code php and i m fine with plain text.. i prefer to type than to click in buttons to make code for me

    thanx
    DrPython, in Backports, is a great editor for Python. Using plugins available from drpython.sf.net, you can get autocomplete.

    No good GUI builders, though... you'll have to get the hang of doing so by hand. I don't know how much easier glade makes it.
    Quote Originally Posted by tuxradar
    Linux's audio architecture is more like the layers of the Earth's crust than the network model, with lower levels occasionally erupting on to the surface, causing confusion and distress, and upper layers moving to displace the underlying technology that was originally hidden

Page 1 of 8 123 ... 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
  •