[Tutor] Porting PHP web app to Python GUI

Wayne srilyk at gmail.com
Mon Oct 12 16:25:02 CEST 2009

On Mon, Oct 12, 2009 at 7:17 AM, Dotan Cohen <dotancohen at gmail.com> wrote:

> I have a simple PHP web application with a form, which enter the
> information entered into the form into a database. However, I will be
> several weeks without internet access so I now have two choices:
> 1) Run the script locally on my Kubuntu box
> 2) Port it to Python and make a real app out of it.
> I prefer the second route, but I want to know if this seems reasonable
> in Python:
> 1) GUI with several input areas which are analogous to the HTML
> Select, Input=Text, and Textarea fields.
> 2) insert the data collected into an sqlite database
> 3) Retrieve and display data from the database using predefined queries.

Very easy/reasonable

> I am familiar with the SQL language, some PHP and some C programing. I
> have never done GUI programming other than HTML. Does PyQt seem to
> have a reasonable learning curve for this application?

I've never used PyQT so I don't know about that. I mainly use PyGTK+, but
for something this simple I'd just use Tkinter.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20091012/8ec89895/attachment.htm>

More information about the Tutor mailing list