Changing filenames from Greeklish => Greek (subprocess complain)

Lele Gaifax lele at metapensiero.it
Thu Jun 6 17:15:19 EDT 2013


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

> The only problem now is the bytestrings:

*One*, not the *only*.

>
> nikos at superhost.gr [~/www/cgi-bin]# [Thu Jun 06 23:50:42 2013] [error] [client 79.103.41.173]   File "files.py", line 78
> [Thu Jun 06 23:50:42 2013] [error] [client 79.103.41.173]     old_path = b'/home/nikos/public_html/data/apps/' + b'filename')
> [Thu Jun 06 23:50:42 2013] [error] [client 79.103.41.173]                                                                   ^
> [Thu Jun 06 23:50:42 2013] [error] [client 79.103.41.173] SyntaxError: invalid syntax
>
>
> Dont know how to add a bytestremed path to a bytestream filename

Come on Niklos, either you learn from what I (and others) try to teach
you, or I'm afraid you won't get more hints... this list cannot become
your remote editor tool!

*Read* the error message, *look* at the arrow (i.e. the caret character
 "^"), *understand* what that is trying to tell you...

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




More information about the Python-list mailing list