Zachary Ware added the comment:

As far as os.path.dirname is concerned, you have a file named 'ciao.pdf"' in a 
directory called '"ciao/come/stai', which is what you're seeing. Since those 
are legal names, there's no way for os.path.dirname to know what you actually 
want. The solution is to handle the quotes yourself however you want.

----------
nosy: +zach.ware
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25577>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to