Re: Plotting Images

2007-07-31 Thread Andr
est dimension is 1000px, then the smaller dimension will be reduced to 1px. Try breaking your image into various "strips". HTH, Andr > i think imshow() has the same problem in matlab, but i > think there is a alternative in matlab, imagesc(). > > I did search on web about p

ANN: Version 0.9 of RUR-PLE

2005-05-31 Thread =?ISO-8859-1?Q?Andr=E9_Roberge?=
Version 0.9 of RUR: a Python Learning Environment has been released. Information about RUR-PLE can be obtained at http://rur-ple.sourceforge.net Note that the project website is slightly out of date. Among the changes in this new version: ***Spanish translation added.* Changed image for languag

exec and global puzzle

2004-12-05 Thread Andr? Roberge
I have the following two files: #--testexec.py-- def exec_code(co): try: exec co except: print "error" #-- test.py-- import thread import testexec import time code = "def a():\n print 'a'\n\n" +\ "def c():\n a()\n\nc()" code2 = "def a():\n print 'a'\n\n" +\

Linguistic challenge: name this program

2004-12-05 Thread Andr? Roberge
In 1981, Richard Pattis wrote a delightful little book titled "Karel the Robot, a Gentle Introduction to the Art of Programming." Pattis's "Karel the Robot" was named after the author Karel Capek, who popularized the word "robot" in his play "Rossum's Universal Robots". Pattis's approach was to int