Hi,
I meet a problem, mainly some error waring:
CmdException Exception in Tk callback
Function: at 0x46fdde8> (type: )
Args: ()
Traceback (innermost last):
File "/usr/lib/python2.7/dist-packages/Pmw/Pmw_1_3/lib/PmwBase.py",
line 1747, in __call__
return apply(self.func, args)
File
Hi I have the following code that calculates the position and the value of each
pixel of the image:
def scm(directory):
import os;
fs = os.listdir(directory);
# now fs will be a list of all the files in directory
from edu.wisc.ssec.mcidas import AreaFile;
for name in fs:
print
> How do I create a small IRC program which can send and receive private
> messages from users?
I created a multiplayer game that can create a standalone
server like a MUD, or communicate over IRC, or both (I think)
acting as a gateway between the two.
It uses Twisted, which some find arcane, b
I actually just finished it, without the extra cells. I used a combiniation
of two functions and a some exception handling to do so.
Here is the script.
#leoslife.py
# John Conways Game of Life.
plan='''displays: the text of the game of life for a set number of X x Y
for a set of R turns.
[-][-
On 4/17/2012 2:23 PM, leo degon wrote:
> Ok so I've done a bit of work on the program and rewrote it. I tried
to take everyones advice. I've used more functions,
> I've made it so that it is a list of lists each containing an integer
instead of another list with a single entry.
I'm glad to se