Hi all-
Following a suggestion of Yuri's. with assistance from the book
"Beginning Game Development" by Will McGugan (Apress (registered)
(Berkeley, CA 2007), here is my solution to the problem of switching
images (you can substitute anything you have hadny for the images used for
"back1" and
stian Haase
On Wed, Aug 4, 2010 at 1:48 AM, Jack Uretsky wrote:
Hi all-
I tried Yuri's matplotlib approach, as follows:
___
(I verified that the imports are giving me directories)
import Image
import numpy as np
import pylab as pyl
if __name__ ==
"Trust me. I have a lot of experience at this."
General Custer's unremembered message to his men,
just before leading them into the Little Big Horn Valley
On Tue, 3 Aug 2010, Jack Uretsky wrote:
Hi all-
I tried Yuri's mat
ray(img)
p = a.copy().transpose((1, 0, 2))
pyl.imshow(p)
pyl.show()
--
Sincerely yours,
Yury V. Zaytsev
On Sun, 2010-07-11 at 18:16 -0500, Jack Uretsky wrote:
Hi-
The following worked very well:
import Image
d = Image.open("a_1.jpg")
d.show()
Now, how do I
end first
working with some basic Python tutorials.
In the meantime, I have a feeling the Pygame example that someone sent over
will be a bit simpler.
On Sat, Jul 31, 2010 at 5:55 PM, Jack Uretsky wrote:
Actually, I did in what I tried to run. What I posted was a
verbatim copy fr
into the Little Big Horn Valley
On Fri, 30 Jul 2010, Alec Bennett wrote:
You didn't delete the periods that I put in to simulate indentations.
On Fri, Jul 30, 2010 at 9:06 AM, donn wrote:
On 30/07/2010 17:48, Jack Uretsky wrote:
def__init__(self, parent, id):
^
SyntaxError: invalid
;
General Custer's unremembered message to his men,
just before leading them into the Little Big Horn Valley
On Fri, 30 Jul 2010, donn wrote:
On 30/07/2010 17:48, Jack Uretsky wrote:
def__init__(self, parent, id):
^
SyntaxError: invalid syntax
I imagine th
.BITMAP_TYPE_ANY).ConvertToBitmap()
self.mainPic = wx.StaticBitmap(panel, -1, bmp)
self.Show()
app = wx.App(redirect=0)
PictureWindow(None, -1)
app.MainLoop()
On Sun, Jul 11, 2010 at 4:16 PM, Jack Uretsky wrote:
Hi-
The following worked very well:
import Image
d = Image.open(
just before leading them into the Little Big Horn Valley
On Thu, 29 Jul 2010, donn wrote:
On 29/07/2010 04:56, Jack Uretsky wrote:
I suspect that my phrasing was a distraction. There is a python
command that brings up an X11 window. Is there a python command that
make the win
20/2010 7:09 PM, Jack Uretsky wrote:
Hi all-
I'm really grateful for all the help, but my question seems to have
gotten lost. I was really happy with "show', except that I could not stop
the display. Is it in fact true that there is no way to stop a 'show"
display
_ANY).ConvertToBitmap()
self.mainPic = wx.StaticBitmap(panel, -1, bmp)
self.Show()
app = wx.App(redirect=0)
PictureWindow(None, -1)
app.MainLoop()
On Sun, Jul 11, 2010 at 4:16 PM, Jack Uretsky wrote:
Hi-
The following worked very well:
import Image
d = Image.open("a_1.jpg
Hi all-
Maybe someone can set me straight, but this whold dialog is
beginning to sound like the answer to the little girl's question, "Mom,
where did I come from?" After Mom's erudite exposition of biology 101,
the little girl said, "Dorothy said she came from Wichita, where did I
come from?"
s like a perfect use case for pygame. Just set up a
screen, then run your main loop and when a new state is calculated, blit
the corresponding JPEG to the screen.
I've already posted the code that you need to implement this setting.
--
Sincerely yours,
Yury V. Zaytsev
On Tue, 2010-07-20 at
Hi all-
I'm really grateful for all the help, but my question seems to
have gotten lost. I was really happy with "show', except that I could not
stop the display. Is it in fact true that there is no way to stop a
'show" display of an image in order to do a subsequent 'show' display of a
dif
eral Custer's unremembered message to his men,
just before leading them into the Little Big Horn Valley
On Tue, 20 Jul 2010, Yury V. Zaytsev wrote:
On Mon, 2010-07-19 at 18:18 -0500, Jack Uretsky wrote:
In answer to your question,
this is a simulation. The "events"
rse
(how you turn a uniform distribution into any distribution you want).
Chris
On Mon, Jul 19, 2010 at 7:18 PM, Jack Uretsky wrote:
Hi Chris-
In answer to your question,
this is a simulation. The "events" are program generated; I'm trying to
approximate a Poisson process, so the
"Trust me. I have a lot of experience at this."
General Custer's unremembered message to his men,
just before leading them into the Little Big Horn Valley
On Mon, 19 Jul 2010, Christopher Barker wrote:
Jack Uretsky wrote:
I have a sequence o
e. I have a lot of experience at this."
General Custer's unremembered message to his men,
just before leading them into the Little Big Horn Valley
On Mon, 19 Jul 2010, Christopher Barker wrote:
Jack Uretsky wrote:
Thanks. I'm looking into this.
map(panel, -1, bmp)
self.Show()
app = wx.App(redirect=0)
PictureWindow(None, -1)
app.MainLoop()
On Sun, Jul 11, 2010 at 4:16 PM, Jack Uretsky wrote:
Hi-
The following worked very well:
import Image
d = Image.open("a_1.jpg")
d.show()
Now, how do
just before leading them into the Little Big Horn Valley
On Sun, 18 Jul 2010, Brian Blais wrote:
On Jul 18, 2010, at 21:12 , Jack Uretsky wrote:
I'n trying to find a binary veersion of matplotlib that I can
install on my OS X Snow Leopard.
Hello Jack,
I see you're t
ytsev
On Sun, 2010-07-11 at 18:16 -0500, Jack Uretsky wrote:
Hi-
The following worked very well:
import Image
d = Image.open("a_1.jpg")
d.show()
Now, how do I turn
it off before showing another image
I'm on an Intel Mac, OS X Snow Leopard.
elf.mainPic = wx.StaticBitmap(panel, -1, bmp)
self.Show()
app = wx.App(redirect=0)
PictureWindow(None, -1)
app.MainLoop()
On Sun, Jul 11, 2010 at 4:16 PM, Jack Uretsky wrote:
Hi-
The following worked very well:
import Image
d = Image.open("a_1.jpg")
d.show()
N
Hi-
The following worked very well:
import Image
d = Image.open("a_1.jpg")
d.show()
Now, how do I turn
it off before showing another image
I'm on an Intel Mac, OS X Snow Leopard.
Regards,
Jack U.
"Trust me. I hav
just before leading them into the Little Big Horn Valley
On Sat, 19 Jun 2010, Christopher Barker wrote:
Jack Uretsky wrote:
Macintosh-2:Imaging-1.1.7 jackuretsky$ python setup.py build_ext -i
running build_ext
--- using frameworks at /System/Library/Frameworks
building '_ima
ce at this."
General Custer's unremembered message to his men,
just before leading them into the Little Big Horn Valley
On Sat, 19 Jun 2010, Christopher Barker wrote:
Jack Uretsky wrote:
Macintosh-2:Imaging-1.1.7 jackuretsky$ python setup.py build_ext
Hi-
When I do "python setup.py buil_ext -i"
The response starts with
_
I am following the README that comes with PIL 1.1.7
I get the following, when I do "python setup.py build_ext -i
(I note the "please check your xcode installation"..I reinsta
Hi-
Sorry for the delay.
I'm the wrong person to ask. I don't even know what WM is.
Regards,
Jack
"Trust me. I have a lot of experience at this."
General Custer's unremembered
___
Evidently, I need help. Please.
Regards,
Jack Uretsky
"Trust me. I have a lot of experience at this."
General Custer's unremembered message to his
Hi-
Is there presently a binary of PIL (1.1.7?) that will run on OS X
Snow Leopard? I find the archive a bit confusing.
Regards,
Jack
"Trust me. I have a lot of experience at this."
General Custer's unremembered message
just before leading them into the Little Big Horn Valley
On Mon, 14 Jun 2010, Yury V. Zaytsev wrote:
On Sun, 2010-06-13 at 23:45 -0500, Jack Uretsky wrote:
Thanks. I believe I have Macports installed. Here's what I get on the
first command:
Macintosh-2:~ jackuretsky$ sudo
quot;Trust me. I have a lot of experience at this."
General Custer's unremembered message to his men,
just before leading them into the Little Big Horn Valley
On Sat, 12 Jun 2010, Christopher Barker wrote:
Jack Uretsky wrote:
Hi-
I'm a
know what to do with them.
Pls help me complete the install
Regards,
Jack Uretsky
"Trust me. I have a lot of experience at this."
General Custer's unremembered message to his men,
sage to his men,
just before leading them into the Little Big Horn Valley
On Sun, 15 Nov 2009, Bill Janssen wrote:
So, did you download and install a different Python than came with your
Mac?
Bill
Jack Uretsky wrote:
Thanks. I'n not seeing why that helps. I did
em
trying to use the 10.4 SDK, instead of the 10.6 SDK? The only thing I
can think of is that you are using a non-Apple-supplied Python, which
was built against the 10.4 SDK, so it's trying to use that to build PIL,
too.
Bill
Jack Uretsky wrote:
Hi-
Xcode - 3.2 (bundled wit
the Little Big Horn Valley
On Fri, 13 Nov 2009, Bill Janssen wrote:
Need more details. What version of OS X, what version of Python, what
version of Xcode?
Bill
Jack Uretsky wrote:
Hi-
Perhaps you can answer, at least, the second question. In
what file do I find the gcc?
Hi-
Perhaps you can answer, at least, the second question. In what
file do I find the gcc?
1. What is my Xcode problem? When I run >python2.6 setup.py build
I get: running build
running build_py
running build_ext
--- using frameworks at /System/Library/Frameworks
building '_imaging' extens
Hi-
I'm trying to install the PIL using Imaging-1.1.6. following the
first of the suggestions at "Passing Curiosity":
http://passingcuriosity.com/2009/installing-pil-on-mac-os-x-leopard/
. I'm running Snow Leopard on an Intel machine (MacBook2.1).
Two questions (to start with):
1.
37 matches
Mail list logo