Click to See Complete Forum and Search --> : can python make GUI app or web app ?


nopri
04-17-2001, 12:50 AM
hello all,
after struggling to use python as my primary language ( i used to use C and Perl ), then i want to know whether i can make gui application and web application using python ? or can i connect to mysql using python ?
Cause i just want to use one language for all .
thanks.

jemfinch
04-17-2001, 01:00 AM
Of course you can. There's a cgi module in the default distribution. Connecting to a MySQL database is as easy as downloading and compiling (remember, mysql has a C api) the MySQLdb module. Tkinter is the default GUI for python, but there are several others, including Gtk, wxWindows, and QT.

Jeremy

Ben Briggs
04-17-2001, 01:52 AM
Also, you can create Python applets with the Grail Web Browser (Written entirely in Python), but the only problem with that is... you can only use them with Grail (so far :)).

You can make just about anything in Python that you can in other popular languages like C and Perl. You can even make games with pygame (http://pygame.seul.org), ncurses programs (comes standard, see docs), GUI's, CGI, database interaction, regular expressions, pretty much anything you want :)

jemfinch
04-17-2001, 07:10 AM
Oh, yeah, you can always use Jython, which will let you use Swing, and compile your programs to java bytecodes runnable by any JRE.

Jeremy