473,569 Members | 2,790 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Best GUI- Python for children - pygame and blender32

Sorry about the cryptic subject line, but I wanted to capture the
essence of my message in a single line.

I am learning Python (which, as everyone know is the best language :-)
so that I can write a tutorial to teach my kids about computer
programming. The motivation for them will be to use Python to create
their own games using pygame and, eventually, blender3d. From what I
hear, their friends will be interested in that tutorial too. When/if
I am satisfied with it, I'll make it publicly available (first in
French though - an English translation will have to wait).

My approach is to use what I called JITT (just in time teaching :-)
i.e. introducing as few concepts as are needed in order to understand
the "next topic", leading to game creation as soon as possible.

Seems to be working so far.

I am now at the point of writing a "chapter" on GUIs. I've written a
few sections about Tkinter but I haven't shown them to my kids yet as
I am not convinced this is the best way to go; I've read enough about
anygui, pythoncard, pyui, easygui, not to mention wxpython, etc. to
instill doubts in my mind. I can't really afford to take the time to
learn enough about all of those to make an informed decision on my
own, decision that I could regret later on. As long as the chosen
GUI is as easy as possible to learn but "complete" enough (and fast
enough as an interface?) to do fun stuff with pygame (and, possibly,
blender3d, if a separate GUI is needed), I will be satisfied.

Any advice would be much appreciated.

André Roberge

PS As for the python survey, I'm 43 years old, started learning about
Python about a month ago, have done some programming in the past for
fun using Fortran, C, and java, but haven't done any serious
programming for years and it is not required at all for my day job.
Jul 18 '05 #1
5 4206
Andr? Roberge wrote:
Sorry about the cryptic subject line, but I wanted to capture the
essence of my message in a single line.

I am now at the point of writing a "chapter" on GUIs. I've written a
few sections about Tkinter but I haven't shown them to my kids yet as
I am not convinced this is the best way to go; I've read enough about
anygui, pythoncard, pyui, easygui, not to mention wxpython, etc. to
instill doubts in my mind. I can't really afford to take the time to
learn enough about all of those to make an informed decision on my
own, decision that I could regret later on. As long as the chosen
GUI is as easy as possible to learn but "complete" enough (and fast
enough as an interface?) to do fun stuff with pygame (and, possibly,
blender3d, if a separate GUI is needed), I will be satisfied.


The PyGame website lists PyUI - http://pyui.sourceforge.net/

Never used it but might be worth looking at. Your kids might find
Tkinter a little 'dry' for games.

Ian
Jul 18 '05 #2
You may want to try Wax (http://zephyrfalcon.org/labs/) It is a
higher level GUI that sits on top of wxPython. This gives your
children an easy entry into GUIs, and as they learn more, they can
enhance existing programs they have written with more advanced
wxPython features. Also, because it is built on wxPython, it should
allow integration of PyGame. Sounds like a win-win situation. (Note:
I haven't used Wax yet, so I cannot comment on stability. Hans Nowak
keeps a weblog of progress at http://zephyrfalcon.org/weblog2/)

Shawn

On 25 Aug 2004 08:12:48 -0700, Andr? Roberge
<an***********@ ns.sympatico.ca > wrote:
Sorry about the cryptic subject line, but I wanted to capture the
essence of my message in a single line.

I am learning Python (which, as everyone know is the best language :-)
so that I can write a tutorial to teach my kids about computer
programming. The motivation for them will be to use Python to create
their own games using pygame and, eventually, blender3d. From what I
hear, their friends will be interested in that tutorial too. When/if
I am satisfied with it, I'll make it publicly available (first in
French though - an English translation will have to wait).

My approach is to use what I called JITT (just in time teaching :-)
i.e. introducing as few concepts as are needed in order to understand
the "next topic", leading to game creation as soon as possible.

Seems to be working so far.

I am now at the point of writing a "chapter" on GUIs. I've written a
few sections about Tkinter but I haven't shown them to my kids yet as
I am not convinced this is the best way to go; I've read enough about
anygui, pythoncard, pyui, easygui, not to mention wxpython, etc. to
instill doubts in my mind. I can't really afford to take the time to
learn enough about all of those to make an informed decision on my
own, decision that I could regret later on. As long as the chosen
GUI is as easy as possible to learn but "complete" enough (and fast
enough as an interface?) to do fun stuff with pygame (and, possibly,
blender3d, if a separate GUI is needed), I will be satisfied.

Any advice would be much appreciated.

André Roberge

PS As for the python survey, I'm 43 years old, started learning about
Python about a month ago, have done some programming in the past for
fun using Fortran, C, and java, but haven't done any serious
programming for years and it is not required at all for my day job.
--
http://mail.python.org/mailman/listinfo/python-list

Jul 18 '05 #3
Andr? Roberge wrote:
I am learning Python (which, as everyone know is the best language :-)
so that I can write a tutorial to teach my kids about computer
programming. The motivation for them will be to use Python to create
their own games using pygame and, eventually, blender3d. From what I
hear, their friends will be interested in that tutorial too.


You'll want to wrap all of pygame up in a nice kid-friendly wrapper. I'd
start with things like defining functions that get called when certain
events happen.

Learning programming you will not want them starting with the important
parts of pygame, like handling event queues, managing dirty updates, and
those details.

Good luck with your plans, I recommend the pygame mailing list and irc
chat if you get stuck on details.

Jul 18 '05 #4
Andr? Roberge wrote:
Sorry about the cryptic subject line, but I wanted to capture the
essence of my message in a single line.

I am learning Python (which, as everyone know is the best language :-)
so that I can write a tutorial to teach my kids about computer
programming.


Have you seen the LiveWires course? It's been running several years
now and sounds like they've been successful. They use Tk and pygame
for what it's worth.
* http://www.livewires.org.uk/python/

Regards,
Michael.
--
Mi************@ rd.bbc.co.uk
British Broadcasting Corporation, Research and Development
Kingswood Warren, Surrey KT20 6NP

This message (and any attachments) may contain personal views
which are not the views of the BBC unless specifically stated.
Jul 18 '05 #5
I made the mistake of trying to teach computer programming with
the goal of writing a game, and ended up alienating all the
students. First, the students who were serious about learning
about programming, to use the computer as a tool, never returned
after they learned we were going to write a game. All that was
left were students with low attention spans, who played Doom, and
wanted to make their own Doom game. They weren't interested in
something simple like starting with Pong or Hunt the Wampus.

I would advise teaching programming as a serious craft that can
also be fun. Most programmers believe that programming is the
greatest game of all. Take a look at Georgia Tech's Intro to
Media Computing, a CS class for non-majors. The first project
is to use a blue screen background to put a picture of themselves
in another picture. It is just a few lines of code but they
learn about data, functions, loops and the if statement. The
JIT approach is used in this class.
http://coweb.cc.gatech.edu/mediaComp-plan

If you are serious about 3D I would use VPython for dynamic
images and POVRay for static 3D. Check out Kirby Urner's
stuff:
http://www.4dsolutions.net/ocn/oop.html

For a 2d GUI, wxpython works cleanly on most all platforms,
but it isn't easy. If you want 2d GUI I would focus on web
and html generation, most kids know a little html.

Pygame is a nice cross platform package, but again it is not
easy. If students could write a Pygame in a few weeks of
classtime the Pygame site would be full of games. Check out
Sean Riley's _Game Programmign with Python_ or this site:
http://childsplay.sourceforge.net

If you really want games I would look at David Ahl's old
Basic computer games books. These are text terminal type
of games like 'hunt the wampus' that are fun and teach the
basic organization of programming and games, and are do-able!
If you have a web server these games could be ported to
python to run on the web, your school will never forgive you.

My approach will be that of a guild with apprentices, journeymen
and masters. I'll teach the apprentices the basics, they'll work
in pairs. Once they have a good understanding of Python, they
will bea journeyman who pairs with a master. The master can
write complete programs with very little outside help. They'll
get their projects from a list the teachers make, or can work on
their own project. The completed projects will be posted on a
webserver where anyone can download them. Popular projects will
be converted into web applications. I'm trying to get the
teachers or school to pay for the projects so that we can reward
the students.

What age group are you working with? I'm working as a volunteer
in an after school 7th and 8th grade programming club.

I do incourage you to continue working on your tutorial and
share your progress on the Python edu-sig:
http://www.python.org/sigs/edu-sig/

Thanks,
Jeff Sandys

Andr? Roberge wrote:
.... I am learning Python (which, as everyone know is the best language :-)
so that I can write a tutorial to teach my kids about computer
programming. The motivation for them will be to use Python to create
their own games using pygame and, eventually, blender3d.

Jul 18 '05 #6

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

Similar topics

5
4432
by: Zach | last post by:
This is all on linux using jdk1.3. My application is written in AWT, no swing. The application requires running it on the host machine and tunneling the GUI back to a client. I've been doing this via an ssh session. In the building the GUI works pretty much as if I was running it directly from the host machine, no lags or performance...
53
6400
by: Paul Rubin | last post by:
I've been approached about writing a Windows app which will need a really professional looking GUI. Forget TKinter, this has to actually look good (real artists will be available to get the visual stuff right). Assuming I write in Python, what's the best toolkit to use? Some cost in implementation pain is tolerable if the finished interface...
3
281
by: Rudy | last post by:
I'm building a application that will interface with SQL server. The amount of data is not alot, but the data will need to be proccessed quickly at about 3 - 4 minutes at a time. Then Idle for 2 minutes, then procces data again for about 3-4 minutes. The majority of the process will be client computers enter data into the tables, and that data...
17
3836
by: gamaron | last post by:
Summary --------- Is Fox Toolkit ( http://www.fox-toolkit.org/ ) the "best" C++ GUI library/toolkit? My key goals (at least those that come to mind right now): * Portability (Windows, Linux, MacOS, other unix) * Open source * Maturity
7
2346
by: CFran | last post by:
According to you, what's best to design GUI's in C? Someone told me to try GTK, but it's far from simple, mostly when you're trying to do GUI's for Windows. By the way, I write in C and compile in GCC under cygwin
5
2278
by: Alfonso Morra | last post by:
Hi, I am a C/C++ developer of quite a few yesrs, although I am relatively new to Windows (Unix background). I am about to begin work on a project that would require me to develop several GUI rich frontend applications. I would like to hear from developers ou there if there is a book they would recommend, to help me hit the ground running...
4
2226
by: emma_middlebrook | last post by:
Hi Advice needed about what's the best in the following situation. In essence, I have a GUI that needs to detail time taken to do jobs that execute in their own thread. Currently, the GUI thread instantiates a class that wraps a job, handing it a callback (delegate) to call once the job has finished. On callback, always on a different...
6
2853
by: seb | last post by:
Hi, I am using pygtk for the first times. I am wondering what would be the best "pattern" to interface pygtk with a thread. The thread is collecting informations (over the network for example) or is doing some long calculations.
9
1324
by: John Salerno | last post by:
Let's pretend I'm creating an Employee class, which I will later subclass for more specific jobs. Each instance will have stuff like a name, title, degrees held, etc. etc. So I'm wondering, is the best way to get all this information into the object to just have a really long __init__ method that takes each argument? Does a question like...
1
1291
by: Jeff | last post by:
Hey I'm about to start developing an windows application based on .net 2.0. The GUI will consist of 2 things: a treeview and an area displaying things based on selections in the treeview. The treeview shows all the modules in the application and gives easy access to each module... Lets say I today have 5 modules I want to include in...
0
7921
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8118
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7666
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6278
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5504
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5217
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3651
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3636
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2107
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.