Jython compile errors ...

2006-11-13 Thread donkeyboy
All, I've tried the jythonc compiler to try and create an applet to see how it works, but I get a number of Java compile errors that are way above my knowledge. Does anyone know what any of the following means? I'm using JDK 1.5.0_09, under Win XP SP2. Runnnig the file " jython FILENAME" works, s

Newb: installing Jython on Windows XP ...

2006-11-09 Thread donkeyboy
All, I'm having issues installing Jython on Windows XP. I've looked on the web and this newsgroup but to no avail. Any suggestions? The shell listing is below: NB I've got Cygwin installed, hence the Unix 'ls' on a Windows box C:\>cd Jython C:\Jython>ls jython_21.class C:\Jython>ls "c:\Program

Newbie: calling the originating class ...

2006-08-15 Thread donkeyboy
This is probably very straightforwards to someone with experience, but I will try to explain my predicament: I'm trying to code a simulation, where you have a Simulation class that knows everything about the simulation, and in turn classes that the Simulation calls when it wants to make new instan

Newbie question: what's with "self"?

2006-08-08 Thread donkeyboy
This is probably a really basic question, but anyway ... I'm new to both Python and OO programming. From looking at a number of code examples, the word "self" is used a lot when referring to classes. As such, what does "self" mean and/or do? I've read things that say it's a naming convention, but

Re: Newbie question about updating multiple objects ...

2006-06-08 Thread donkeyboy
Awesome Diez -- I'll give this a go tomorrow, and hopefully it will all work!! Diez B. Roggisch wrote: > [EMAIL PROTECTED] wrote: > > I've copied in the code I'm using below, as it's not very long -- can > > anyone help me? > > I'll have some remarks: > > > > <--START--> > > > > from visual import