cannot open file with non-ASCII filename

Terry Reedy tjreedy at udel.edu
Fri Dec 18 01:37:43 EST 2015


On 12/18/2015 12:12 AM, bearmingo wrote:
> Usually I put
> #!-*-coding=utf-8-*-
> at each py file.
> It's ok to open file in local system.

That declaration only applies to the content of the file, not its name 
on the filesystem.


-- 
Terry Jan Reedy




More information about the Python-list mailing list