Chris Hengge wrote:
> This works...
> d = xmlrpclib.Binary(open("C:\\somefile.exe", "rb").read())
>
> What I need is more like
> screenShot = ImageGrab.Grab()
> d = xmlrpclib.Binary(screenShot)

because screenShot is not binary data.
It's an instance of the class Image.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to