On Thu, May 16, 2013 at 6:12 PM, Jim Mooney <cybervigila...@gmail.com> wrote: > I tried "import image from pil" and got the following error: > SyntaxError invalid syntax (python_init.py, line 1)
If you see a syntax error, that means your code could not be compiled. Python's parser doesn't grok "import image from pil". In natural language we have the freedom to swap the order of clauses, but programming languages are generally more rigid. The correct order is "from pil import image" -- but actually it has to be "from PIL import Image". _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor