Νικόλαος Κούρας <nikos.gr...@gmail.com> writes:

> Tahnks here is what i have up until now with many corrections.

I'm afraid many more are needed :-)

> ...
>               # rename filename form greek bytestreams --> utf-8 bytestreams
>               old_path = b'/home/nikos/public_html/data/apps/' + b'filename')
>               new_path = b'/home/nikos/public_html/data/apps/' + 
> b'new_filename')
>               os.rename( old_path, new_path )

a) there are two syntax errors, you have spurious close brackets there
b) you are basically assigning *constant* expressions to both variables,
   most probably not what you meant

ciao, lele.
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
l...@metapensiero.it  |                 -- Fortunato Depero, 1929.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to