it should be the same as the script your are running
wht is by default path of image which python locates..?
How to use Pillow, a fork of PIL: http://www.pythonforbeginners....
Thanks for all the comments. I should obviously have used Pillow instead of PIL. This is the first time that I'm using a graphical library in Python. I hope to find the time to update the current post or write a new one that will address this.
Instead of using PIL, try using PILLOW instead. (http://pillow.readthedocs.org/... PIL had been only lightly maintained so PILLOW is a fork that was created and which is more up-to-date (supports Python 3 for instance) and with newer bugfixes.
You should install pillow (http://pillow.readthedocs.org/..., not PIL. pillow is a fork that is actually maintained and works with pip.
Please remove / correct this - PIL is dead and a pain to deal with. I hate beginner tutorials that send you into the wrong direction.
Please, don't give begginers BAD advice. PIL is outdated and not really maintained anymore. If you want to work with images in your project, use PILLOW which is updated and maintained fork or PIL.
Nice tutorial. This'll get me up and running in no time. Thanks for posting!
To install pil, type pip install pillow
PIL is in proccess to be deprecated, we now must be use pillow.