Re: [Tutor] Help on Python drop-down list options

2014-12-31 Thread Alan Gauld

On 31/12/14 13:49, Tammy Miller wrote:


I need help on the
following:  I have a created a project from a csv file to calculate the
mean and standard deviation.


I assume that means you read the data from the CSV file
and display the stats?


However, I would like to
create a drop-down list and display the mean and standard deviation?


I assume you mean you want to create a GUI that has a "drop down list" 
containing data and you want to display the stats based on the list 
contents?


If so you need to decide what kind of UI you want to use.
Your choices are:
1) CLI using curses (Not on windows)
2) Web UI based on HTML/Javascript
3) Desktop GUI using Tkinter/WxPython/PyGTK
   (or some other toolkit)

And once you decide your option you need to design what the UI
looks like - how does the output appear? Is it in a label? a text 
widget? a pop-up dialog?



Is there a module for that?


Yes, for all of the above.

Option 1 uses the curses module

Option 2 uses standard HTML linked to a CGI(standard library)
or a web framework(several third-party options)

Option 3: the standard library includes Tkinter,
the others are third-party downloads.

We can't help much until you make the choices above.
It will help if you tell us which python version and
which OS you use.

And once you choose an option which tookkit you want
to go with (or at least which option and we can advise
on toolkits based on your experience and your UI visual
design)

--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos


___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Help on Python drop-down list options

2014-12-31 Thread WolfRage
What is the user interface that your program is using, currently? IE: 
QT, GTK, Tkinter, Curses, Kivy, Pygame, Or None?

What is the target system on which your program runs?
How are you currently viewing the mean and standard deviation results?
What version of Python are you using and what is your OS?

On 12/31/2014 08:49 AM, Tammy Miller wrote:

Hello All,

  


I need help on the
following:  I have a created a project from a csv file to calculate the
mean and standard deviation.

However, I would like to
create a drop-down list and display the mean and standard deviation?  Is there 
a module
for that?

  


Thank you,

  


Tammy

  

  

  

  



___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor