LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   gui (https://www.linuxquestions.org/questions/programming-9/gui-384339/)

LAdProg2005 11-18-2005 09:22 AM

gui
 
is it not possible to use wxpython to build web pages?

i know i can use python with cgi to upload pages but i can't use wxpython....is it possible at all? or i just am stuck with html pages?

thanks
--p

bulliver 11-18-2005 12:11 PM

wxpython is just wxwindows c++ bindings for python. It's for writting GUI apps in python.

What do you mean "use wxpython to build web pages"? What are you trying to do here?

LAdProg2005 11-18-2005 12:17 PM

I am trying to create a login form for students who don't have accounts on linux system.

---------
UserID
---------
FirstName
---------
LastName
--------
ValidSchoolE-mail
--------
PersonalE-mail
----------

------------------------------
Submit ://info send to database and queued until user clicks on valid key generated send through email then info written in database
-----------------------------

I am using python-cgi. and of course i will need html forms. But i was wondering if instead of html gui can i use wxpython which is python gui.....

I couldn't find good tutorial to do this...and i am comfy using wxpython...so was just curious.....

bulliver 11-18-2005 12:32 PM

Well sure,

just create the widgets for your users to enter their info, then have your python code write it to whatever your backend is...

Quote:

and of course i will need html forms
Nope. You either do this through a web interface, or you don't. A wxwindows app will not use an html form.

LAdProg2005 11-18-2005 12:39 PM

Quote:

just create the widgets for your users to enter their info
Right, expect the only problem comes in when i try to run the py script. It keeps giving me some internel error on apache. I don't know.....do you have the simplest of the simplest example on earth that does this? Just so I can get an idea..


thanks

bulliver 11-18-2005 12:49 PM

Quote:

It keeps giving me some internel error on apache.
Well, like I said, you either use a web interface, or you use wxpython.
You cannot use both...

LAdProg2005 11-18-2005 12:50 PM

and I thought I had a change.....

anyway, thanks :)


All times are GMT -5. The time now is 06:13 PM.