Python, wxPython, Jython, Java

Wasn’t sure whether to add this to Strategoi’s earlier post on programming languages. However, it’s a slightly different topic.

I’ve been learning Python this past couple of weeks and overall I’m managing to understand it. However, I’m using a mac (OS 10.2.8) and Tkinter (windows and GUI) doesn’t seem to be available. I’ve looked around and can’t make much sense of what I’ve found - wxPython gets a few mentions.

So then I find this page where it seems to recommend Jython - which apparently makes it possible to use Java libraries - and most importantly GUI windows and wotnot. Then there’s the Project Builder, Cocoa, Carbon, Darwin and XCode…

Arghhhhhhh. My head is about to explode with information overload - does anyone have a top tip which will help me out? Specifically:

All I want to do is create a little window with a few buttons in it at the moment! Should I:
a) Carry on with Python? (If so, how do I make a window?)
b) Try and install Jython?
c) Use Apples developer tools and work at Cocoa, XCode etc
d) have a cup of tea

if you can find wxwindows libs for your system that would be the way to go

no, because essentially jython is a way to write java in python

do you know c or c++? Apple’s tools are nice if you do

always a good idea

One BIG thanks for that z3r0 d.

I have downloaded the mac version. Am currently scratching my head trying to work out whether I need to do anything else so that Python can use it.

(I only briefly messed around with apples Project Builder (Carbon framework), but am basically new to programming.)

d) have a cup of tea!

Definatly

You might be right L13. Although I might have to skip the tea and go straight to beer.

Feel like I’ve just been run over on the information superhighway. Good news = I’ve discovered that Python is already installed on Macs, found the latest mac friendly version of tcl/tk and installed it and found wxPython and installed it.

However, now I find that instead of sniggering each time I ask it to import Tkinter, my computer now goes “Oh yeah, :smiley: , I know all about Tkinter” … and then crashes.