473,396 Members | 1,998 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

GUI tookit for science and education

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
Aug 15 '05 #1
12 1784
Mateusz Łoskot <se****@signature.net> 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.
Aug 15 '05 #2
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
Aug 15 '05 #3
TPJ
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.

Aug 15 '05 #4
On Mon, 15 Aug 2005 04:59:29 +0200, Mateusz Łoskot <se****@signature.net> 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
Aug 15 '05 #5

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.


Aug 15 '05 #6
On 2005-08-15, phil <ph***********@anvilcom.com> 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.
Aug 15 '05 #7
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
Aug 16 '05 #8
>> 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

Aug 16 '05 #9
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
Aug 16 '05 #10
"Paul Rubin" <http://ph****@NOSPAM.invalid> wrote in message
news:7x************@ruckus.brouhaha.com...
Mateusz Łoskot <se****@signature.net> 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.


Wow Paul!
I just couldn't help zeroing on that comment. a lot easier to write (just use html),
I would have used adjectives like "clunky" and "limited" when talking about
using an html in a browser app. Particularly if we are talking about high
powered math/graphs as we often are in the science apps indicated in the
original post.

I would take MS Excel/VBA as the premier fat client prototyping tool/GUI
toolkit for science & education. How would one go about replicating any of
that in an HTML/browser app? How do we get to "easier to write"?
Ask yourself why you want a GUI toolkit.

I just did. The answer is that I don't *think* you can do much of that with
html.

Then again - I was wrong once :-)
-Tom
Aug 17 '05 #11
Thomas Bartkus napisał(a):
"Paul Rubin" <http://ph****@NOSPAM.invalid> wrote in message

I would take MS Excel/VBA as the premier fat client prototyping tool/GUI
toolkit for science & education. How would one go about replicating any of
that in an HTML/browser app? How do we get to "easier to write"?


As I said, I'm looking for multiplatform solution.
So, I will go with Python, Tk and C++ (for algorithm and critical parts
of applications). Tk is simple, very simple, Python I like, C++ I love,
as I'm professional C++ programmer.
Students and profs will use Python with Tk mainly.
I will convert some of libraries with algorithms they will prototype in
python (and exsiting in Pascal) to C/C++ and bind them with Python.

There is also C++/Tk by Maciej Sobczak, great tool.

Cheers

--
Mateusz Łoskot, mateusz (at) loskot (dot) net
Registered Linux User #220771
Aug 17 '05 #12
As I said, I'm looking for multiplatform solution.
So, I will go with Python, Tk and C++ (for algorithm and critical parts
of applications). Tk is simple, very simple, Python I like, C++ I love,
as I'm professional C++ programmer.


Good choice!

Aug 17 '05 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Sunny | last post by:
hey! iam writing a paper on online education. could anybody tell me where on the internet, can i find information...like how the e-campus websites are created and what is the software used, how it...
8
by: Mateusz Łoskot | last post by:
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...
0
by: Philip Nelson | last post by:
POSTED ON BEHALF OF DAVID OWEN (UK DB2 Users Group Chair) DB2 UK Education Conference   Westmead Hotel, Birmingham Tuesday 16th Wednesday 17th November 2004   in association with GSE  ...
0
by: Marcel - IDUG Europe 2005 | last post by:
Dear DB2 user, My name is Marcel Lévy and I'm a member of the IDUG 2005 Europe Conference Planning Committee. ********************************************************************* Mark your...
0
by: Jonathan Wilson | last post by:
Firstly, to get msvcrt.lib, install the .NET framework SDK. The version of msvcrt.lib included there is the exact same one as comes with Visual Studio ..NET 2003. There are some other things that...
2
by: D H | last post by:
Hi, Hi, I was looking for your opinion on VB.NET - its long-term prospects, etc. Sorry this is vague, but it's not meant to be a troll. It's a pro-VB.NET post actually. I haven't used VB or...
1
by: Juan R. | last post by:
Introduction I am developing the CanonML language (version 1.0) as a way to generate, store, and publish canonical science documents on the Internet. This language will be the basis for the next...
1
by: Juan R. | last post by:
The initial CanonMath program presented here http://canonicalscience.blogspot.com/2006/02/choosing-notationsyntax-for-canonmath.html] was discussed with several specialists, including father of...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.