front end GUI

D

DataSmash

I'm looking for software to create a simple GUI to execute python code
for users in the office.
The GUI would need a couple text boxes for user input and some option
buttons and check boxes.
Can anyone recommend free software that doesn't require a huge learning
curve?
My python skills are probably a 3 or 4 on a scale from 1 to 10.

Thanks for your help!
R.D.
 
D

Diez B. Roggisch

DataSmash said:
I'm looking for software to create a simple GUI to execute python code
for users in the office.
The GUI would need a couple text boxes for user input and some option
buttons and check boxes.
Can anyone recommend free software that doesn't require a huge learning
curve?
My python skills are probably a 3 or 4 on a scale from 1 to 10.

Use the shipped tkinter.

Diez
 
D

Dennis Lee Bieber

I'm looking for software to create a simple GUI to execute python code
for users in the office.

A literal interpretation of "GUI to execute python code" would lead
one to assume that the users will be writing ad-hoc statements...
The GUI would need a couple text boxes for user input and some option
buttons and check boxes.

This, however, implies that you want the Python code to create a
limited GUI for some application...
Can anyone recommend free software that doesn't require a huge learning
curve?

HTML and a mini-server -- CherryPy/CherryTemplate perhaps...

You might even be able to launch the browser from within the
CherryPy "server" such that the user doesn't even realize there is a
"server" running on their machine (might need a timed inactivity
shutdown -- or a scheme to detect a running version and shutdown the new
one after relaunching the browser)... Assuming you intend the code to be
run locally -- you didn't give enough details as to what the job itself
is (transcribing telephone service requests into a database? Run the
"server" continuously on a dedicated port and just give the users the
URL)...
My python skills are probably a 3 or 4 on a scale from 1 to 10.
I must be in a different universe... I started with Python 1.3 (or
1.4?) on an Amiga (thanks Irmen)... In that time, I've written exactly
ONE program that needed a GUI -- and that one was done using the
"standard" Tkinter library. The closest other was an internal Zope
experiment feeding to MySQL.

My first program was an MTA using a mix of ARexx (to take mail from
the MUA and stuff it into a queue directory) and Python (to handle the
SMTP transfer to my ISP) -- since the first programs I had for the
function were very problematic (the first created message clones for
each recipient, and sent them one at a time to the recipient's address
-- and would hang if any address couldn't be processed; the second
didn't hang, but also didn't process CC or BCC addresses).
--
 
A

akameswaran

I have done a few GUI apps in python. I like many started with
tKinter.
tKinter is quick, easy, ugly and limited. It did really well for
little programs I wrote for my wife, like a shopping cart, and some
quick admin tools for clients.

Now I'm a big wxPython fan.
wxPython has a small learning curve if your used to event driven gui
programming - but doc can be bad - it's improved majorly for 2.6. The
other nice thing, if your users are primarily win32 I've had good
success with py2exe(and no my setup files didn't have to be more than
about 10-15 lines) and wxPython - so distibution to non-python ppl can
be quite good on win32.

I've actually had more problems getting tKinter to work with py2exe.

However, the suggestions of running this browser based and using a mini
python server are good. If your gui requirements are really that
simple, a web based approach will have the least headaches in my
experience.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
474,291
Messages
2,571,453
Members
48,135
Latest member
papaoso

Latest Threads

Top