nuz mam obyc kod:
from PIL import Image
...
infile="C:\\Obrazky\\Image.jpg" #for example
...
im = Image.open(infile)
...
a hadze mi to toto:
Unhandled exception in thread started by <function make at 0x0184D3F0>
Traceback (most recent call last):
File "D:\Python\Uploader\iMage.py", line 89, in make
im = Image.open(infile)
AttributeError: class Image has no attribute 'open'
v tom kode su nejake if a nejake definicie ale nic zlozite, ak pomoze pastnem aj cely kod...
tot problem 1
#################################
Ked mam napr:
cesta="C:\\Files\\žranica\\koláče.txt" #for example
subor=file(cesta, "rb")
vyhodi UnicodeError...
ako sa da obist unicode v OS???