Copying a PIL image to windows clipboard?

News M Claveau /Hamster-P essai1 at mci.local
Wed Aug 27 16:31:29 EDT 2003


Hi !

I have pb with...

My code :

        import Image,ImageGrab
        buffer = ImageGrab.grab()


And result :
        Traceback (most recent call last):
          File "D:\dev\python\ess.py", line 1, in ?
            import Image,ImageGrab
          File "C:\PYTHON22\Lib\site-packages\PIL\ImageGrab.py", line 32, in
?
            import _grabscreen
        ImportError: No module named _grabscreen


Other PIL's fonction run OK.     Oups ! I remember : Python 2.2 & PIL 1.1.4


An idea ?  Thanks. And sorry for my poor english.

@+
-- 
Michel Claveau






More information about the Python-list mailing list