Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > GUI tookit for science and education

Reply
Thread Tools

GUI tookit for science and education

 
 
=?ISO-8859-2?Q?Mateusz_=A3oskot?=
Guest
Posts: n/a
 
      08-15-2005
Hi,

I'd like to ask some scientists or students
which GUI toolkit they would recommend
to develop scientific prototypes (for education and
testing some theories).
I think such toolkit should fill a bit different
needs and requirements:
- very simple to learn
- easy to install
- beautyfiers and advanced features are not required like OpenGL,
direct access to Windows GDI subsystem, beauty look and skinning
- multiplatform required

Let's say someone has big amount of algorithms and
statistical models implemented in Pascal
(not well designed console apps).
Now he want to move on using better and modern language
and GUI toolkit.
Python is seleceted as user friendly and simple
language, Pascal successor.

Thank you for any piece of advice in advance.
Regards
--
Mateusz Łoskot, mateusz (at) loskot (dot) net
Registered Linux User #220771
 
Reply With Quote
 
 
 
 
Paul Rubin
Guest
Posts: n/a
 
      08-15-2005
Mateusz Łoskot <> writes:
> Thank you for any piece of advice in advance.


Ask yourself why you want a GUI toolkit. Maybe you can write a web
application instead, and use a browser as the GUI. That's a lot
easier to write (just use html), and makes it trivial to run the
application and the browser on separate machines.
 
Reply With Quote
 
 
 
 
Alessandro Bottoni
Guest
Posts: n/a
 
      08-15-2005
Mateusz ?oskot wrote:

> I'd like to ask some scientists or students
> which GUI toolkit they would recommend
> to develop scientific prototypes (for education and
> testing some theories).
> I think such toolkit should fill a bit different
> needs and requirements:
> - very simple to learn
> - easy to install
> - beautyfiers and advanced features are not required like OpenGL,
> direct access to Windows GDI subsystem, beauty look and skinning
> - multiplatform required


First, have a look at:
- wxWidgets (http://www.wxwidgets.org)
- wxPython (http://www.wxpython.org)

Or, as a second choice:
- FLTK (http://www.fltk.org/)
- PyFLTK (http://pyfltk.sourceforge.net)

There are many others GUI toolkit around. Just search Google for
"multiplatform Python GUI toolkit" or something like that.

> Let's say someone has big amount of algorithms and
> statistical models implemented in Pascal
> (not well designed console apps).
> Now he want to move on using better and modern language
> and GUI toolkit.
> Python is seleceted as user friendly and simple
> language, Pascal successor.


There was a python to pascal automatic converter at:

http://no.spam.ee/~andreie/software/...ish-index.html

(Now offline)

CU
-----------------------------------
Alessandro Bottoni
 
Reply With Quote
 
TPJ
Guest
Posts: n/a
 
      08-15-2005
Recently I was considering the choice of PyGTK or wxPython. They are
both rich GUI libraries, and they both are cross-platform ones (well...
they work on GNU/Linux and on Windows).

I chose PyGTK, because it has *much* better documentation (I wasn't
very happy when I had to look for information in documentation of
wxPython - and lose a couple of hours - when I wanted to do something
really simple...) and it seems to work stable on Windows.

> Let's say someone has big amount of algorithms and
> statistical models implemented in Pascal
> (not well designed console apps).


OT: I would recommend the use of Python + Numeric and, eventually, C
(when the performance becomes really crucial). I'm working on genetic
algorithms and - for now - the combination of Python and C was the best
I got ever. In a few days I will run the first version of GAs
implemented with Numeric.

 
Reply With Quote
 
phil hunt
Guest
Posts: n/a
 
      08-15-2005
On Mon, 15 Aug 2005 04:59:29 +0200, Mateusz Łoskot <> wrote:
>Hi,
>
>I'd like to ask some scientists or students
>which GUI toolkit they would recommend
>to develop scientific prototypes (for education and
>testing some theories).
>I think such toolkit should fill a bit different
>needs and requirements:
>- very simple to learn
>- easy to install
>- beautyfiers and advanced features are not required like OpenGL,
>direct access to Windows GDI subsystem, beauty look and skinning
>- multiplatform required


Tkinter is the default GUI for Python, it runs on lots of platforms
and often comes already installed (on Linux or Unix distributions).

Is it "very simple to learn"? Well I suppose that depends on what
you mean by "very simple".

--
Email: zen19725 at zen dot co dot uk


 
Reply With Quote
 
phil
Guest
Posts: n/a
 
      08-15-2005

>
> Tkinter is the default GUI for Python, it runs on lots of platforms
> and often comes already installed (on Linux or Unix distributions).
>



I use Tkinter for a geometry course. I think it is fairly easy to
learn, much easier than say VB. VERY portable and pretty well
documented and very well supported on this list.
It doesn't have much math built in. For functions you have to
plot points.




 
Reply With Quote
 
Grant Edwards
Guest
Posts: n/a
 
      08-15-2005
On 2005-08-15, phil <> wrote:
>
>>
>> Tkinter is the default GUI for Python, it runs on lots of platforms
>> and often comes already installed (on Linux or Unix distributions).
>>

>
>
> I use Tkinter for a geometry course. I think it is fairly easy to
> learn, much easier than say VB. VERY portable and pretty well
> documented and very well supported on this list.
> It doesn't have much math built in. For functions you have to
> plot points.


If you want to plot stuff, the gnuplot-py module is very easy
to use. http://sourceforge.net/projects/gnuplot-py/

The one feature that I'd really like to add is the ability to
plot a python function object. Currently you can plot a
function specified by a string (e.g. "sin(x) * sin(x)**2"), or
a sequence of data points. It would be nice to be able to pass
an actual function.

--
Grant Edwards grante Yow! hubub, hubub, HUBUB,
at hubub, hubub, hubub, HUBUB,
visi.com hubub, hubub, hubub.
 
Reply With Quote
 
=?ISO-8859-2?Q?Mateusz_=A3oskot?=
Guest
Posts: n/a
 
      08-16-2005
Thank you all for valuable responses.
I think I will stick to Tk and Tkinter.

Cheers


--
Mateusz Łoskot, mateusz (at) loskot (dot) net
Registered Linux User #220771
 
Reply With Quote
 
Markus Rosenstihl
Guest
Posts: n/a
 
      08-16-2005
>> It doesn't have much math built in. For functions you have to
>> plot points.

>
> If you want to plot stuff, the gnuplot-py module is very easy
> to use. http://sourceforge.net/projects/gnuplot-py/
>
> The one feature that I'd really like to add is the ability to
> plot a python function object. Currently you can plot a
> function specified by a string (e.g. "sin(x) * sin(x)**2"), or
> a sequence of data points. It would be nice to be able to pass
> an actual function.


matplotlib is also ver good possibility

 
Reply With Quote
 
=?UTF-8?B?TWF0ZXVzeiDFgW9za290?=
Guest
Posts: n/a
 
      08-16-2005
Markus Rosenstihl napisaƂ(a):
>>> It doesn't have much math built in. For functions you have to
>>> plot points.

>>
>>
>> If you want to plot stuff, the gnuplot-py module is very easy
>> to use. http://sourceforge.net/projects/gnuplot-py/
>> [...]

>
> matplotlib is also ver good possibility
>


Thanks, I'll try it.

Cheers

--
Mateusz Ɓoskot, mateusz (at) loskot (dot) net
Registered Linux User #220771
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ajax Control Tookit - Masked Edit - UK Style Dates Bob ASP .Net 0 08-31-2008 04:08 PM
ASP.NET AJAX Control Tookit - cascading drop down robert@orisoft.co.uk ASP .Net 0 11-15-2006 11:50 PM
Canonical Science Today, authoring system for science and mathematics (1st part) Juan R. XML 1 05-09-2006 12:55 PM
GUI tookit for science and education =?ISO-8859-2?Q?Mateusz_=A3oskot?= Python 8 08-18-2005 04:45 AM
Calling a .NET web service from classic ASP w/o soap tookit ryan.mclean@gmail.com ASP .Net 3 01-19-2005 04:15 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57