473,505 Members | 16,544 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Suggestions for an education programming project

Hi,

I've been trying to get my son interested in learning some simple
programming for a while. While I understand that a structured tutorial
is best, I think if we can write something cool at least once, it will
encourage him to learn more. While I have a lot of experience with
MATLAB, I've just started playing with Python. It seems to me to be a
great language to learn with. My son has an idea for a program to
write. Basically he would like to present a window with a small circle
on it. The window title would have the instruction to click on the
circle. As the mouse approaches the circle, it moves away from the
spot. Being a kid, the visual and interactive aspect appeals. I think
this will be nice as he can add complexity incrementally such as what
direction to move, how to handle running into the edge of the window,
etc.

What I'd like is a suggestion as to what GUI framework to use (Tk, wx
or something else). I can add modules if necessary. I'd just as soon
use something clean, understandable and not too complex. Certainly,
what ever we use needs to have good documentation. No code please,
that's for us to figure out. In case it matters, we are using are
programming in OS X.

Thanks in advance,

Eric
Nov 17 '08 #1
7 1230
On Nov 17, 2008, at 10:53 AM, Eric wrote:
My son has an idea for a program to
write. Basically he would like to present a window with a small circle
on it. The window title would have the instruction to click on the
circle. As the mouse approaches the circle, it moves away from the
spot. Being a kid, the visual and interactive aspect appeals. I think
this will be nice as he can add complexity incrementally such as what
direction to move, how to handle running into the edge of the window,
etc.
Sounds like fun.
What I'd like is a suggestion as to what GUI framework to use (Tk, wx
or something else). I can add modules if necessary. I'd just as soon
use something clean, understandable and not too complex.
I'd suggest wxPython -- start with the Bubbles demo at <http://wiki.wxpython.org/BubblesToy
>, which should work on your (10.5) OS X machine right out of the box
(i.e., no need to install anything extra). It doesn't do the task you
describe, but it does demonstrate animation and interaction with the
mouse, and would be easy to extend and adapt in the direction you want.

Best,
- Joe

Nov 17 '08 #2
Eric wrote:
Hi,

I've been trying to get my son interested in learning some simple
programming for a while. While I understand that a structured tutorial
is best, I think if we can write something cool at least once, it will
encourage him to learn more. While I have a lot of experience with
MATLAB, I've just started playing with Python. It seems to me to be a
great language to learn with. My son has an idea for a program to
write. Basically he would like to present a window with a small circle
on it. The window title would have the instruction to click on the
circle. As the mouse approaches the circle, it moves away from the
spot. Being a kid, the visual and interactive aspect appeals. I think
this will be nice as he can add complexity incrementally such as what
direction to move, how to handle running into the edge of the window,
etc.

What I'd like is a suggestion as to what GUI framework to use (Tk, wx
or something else). I can add modules if necessary. I'd just as soon
use something clean, understandable and not too complex. Certainly,
what ever we use needs to have good documentation. No code please,
that's for us to figure out. In case it matters, we are using are
programming in OS X.
This sounds like the punching-monkey-example from pygame. While that won't
teach about gui-programming on a toolkit level, it is extremely well suited
to go about small games and such. Or even bigger ones, if the son grows
up :)

Diez
Nov 17 '08 #3
Eric <er********@gmail.comwrites:
Hi,

I've been trying to get my son interested in learning some simple
programming for a while. While I understand that a structured tutorial
is best, I think if we can write something cool at least once, it will
encourage him to learn more.
I know it's not based on Python but...

Do you know about scratch (http://scratch.mit.edu/)? I think it's a
fantastic tool for kids to learn to program. Unfortunately mine is
still too young but I am trying to introduce it in my school (I work as
a teacher).

--
Arnaud
Nov 17 '08 #4
On Nov 17, 1:06*pm, Arnaud Delobelle <arno...@googlemail.comwrote:
Eric <eric.sh...@gmail.comwrites:
Hi,
I've been trying to get my son interested in learning some simple
programming for a while. While I understand that a structured tutorial
is best, I think if we can write something cool at least once, it will
encourage him to learn more.

I know it's not based on Python but...

Do you know about scratch (http://scratch.mit.edu/)?*I think it's a
fantastic tool for kids to learn to program. *Unfortunately mine is
still too young but I am trying to introduce it in my school (I work as
a teacher).

--
Arnaud
Actually, my son is 15, so Scratch might be too simplistic. PyGame
looks interesting. I'll play around with it tonight.

Eric
Nov 17 '08 #5
r0g
Eric wrote:
On Nov 17, 1:06 pm, Arnaud Delobelle <arno...@googlemail.comwrote:
>Eric <eric.sh...@gmail.comwrites:
>>Hi,
I've been trying to get my son interested in learning some simple
programming for a while. While I understand that a structured tutorial
is best, I think if we can write something cool at least once, it will
encourage him to learn more.
I know it's not based on Python but...

Do you know about scratch (http://scratch.mit.edu/)? I think it's a
fantastic tool for kids to learn to program. Unfortunately mine is
still too young but I am trying to introduce it in my school (I work as
a teacher).

--
Arnaud

Actually, my son is 15, so Scratch might be too simplistic. PyGame
looks interesting. I'll play around with it tonight.

Eric
Yes PyGame is the easiest way to get started on 2D graphics stuff. The
other frameworks like WxWidgets are great for building full gui apps but
have quite a bit more learning curve to scale before you can get stuff
bobbing round the screen.

Roger.
Nov 17 '08 #6
Eric wrote:
Hi,

I've been trying to get my son interested in learning some simple
programming for a while. While I understand that a structured tutorial
is best, I think if we can write something cool at least once, it will
encourage him to learn more. While I have a lot of experience with
MATLAB, I've just started playing with Python. It seems to me to be a
great language to learn with. My son has an idea for a program to
write. Basically he would like to present a window with a small circle
on it. The window title would have the instruction to click on the
circle. As the mouse approaches the circle, it moves away from the
spot. Being a kid, the visual and interactive aspect appeals. I think
this will be nice as he can add complexity incrementally such as what
direction to move, how to handle running into the edge of the window,
etc.

What I'd like is a suggestion as to what GUI framework to use (Tk, wx
or something else). I can add modules if necessary. I'd just as soon
use something clean, understandable and not too complex. Certainly,
what ever we use needs to have good documentation. No code please,
that's for us to figure out. In case it matters, we are using are
programming in OS X.

Thanks in advance,

Eric
--
http://mail.python.org/mailman/listinfo/python-list
I'm not sure if PyLab_works might be of interest,

http://mientki.ruhosting.nl/data_www...reenshots.html
and here my notes of july

http://mientki.ruhosting.nl/data_www...telpagina.html
hope to release it officially this month (should by then also include
Vpython and a MatLab like workspace)

cheers,
Stef

Nov 17 '08 #7
Eric wrote:
On Nov 17, 1:06 pm, Arnaud Delobelle <arno...@googlemail.comwrote:
>Eric <eric.sh...@gmail.comwrites:
>>Hi,
I've been trying to get my son interested in learning some simple
programming for a while. While I understand that a structured tutorial
is best, I think if we can write something cool at least once, it will
encourage him to learn more.
Do you know about scratch (http://scratch.mit.edu/)....

Actually, my son is 15, so Scratch might be too simplistic. PyGame
looks interesting. I'll play around with it tonight.
Look into VPython -- you can do 3-D _easily_.
--Scott David Daniels
Sc***********@Acm.Org
Nov 18 '08 #8

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

Similar topics

41
8671
by: Michael Strorm | last post by:
Hi, I'm in the middle of "teaching" myself C++. Having skimmed some of the "Teach Yourself C++ in 21 Days" book, I got a feel for the language, at least. Then I bought "The C++ Programming...
6
1938
by: Shawn Wilson | last post by:
I have been an HTML guy for 8 years or so, but only last year started working with PHP. I dabbled in Perl and then moved to PHP after completing a couple projects in Perl. I'm thankful I did...
193
9373
by: Michael B. | last post by:
I was just thinking about this, specifically wondering if there's any features that the C specification currently lacks, and which may be included in some future standardization. Of course, I...
4
1493
by: Gene Hubert | last post by:
I'm looking for a good coding project for the purpose of getting to the point of feeling proficient in VB.NET programming. I've read a few books, written several test apps, and have prior...
2
1671
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
1300
by: rejoicecb | last post by:
I am interested in mobile programming on java platform. So please could you suggest any project in mobile programming. I am a engineering final year student(major project).
6
1194
Loismustdie129
by: Loismustdie129 | last post by:
I am getting lazy here. I need something to do for Python to continue my education. If anyone has any suggestions for a project I could undertake that would be great. I have no idea what to do,...
5
1110
by: Tom Impelluso | last post by:
I KNOW many of you have been asked this before. Once, I tried to learn C++ Stroustrup, Schildt, Booch... and a few others... That was about 10 years ago. I usually get lost about the...
18
2160
by: firewoodtim | last post by:
I need some help in furthering my education in OOP. I have developed a set of PHP scripts that I use in a fairly sophisticated database driven website, but I am not proud of the rather amateurish...
0
7103
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7307
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,...
1
7021
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
5614
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,...
0
4701
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...
0
3188
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...
0
3177
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
755
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
409
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.