[issue27616] filedialog.askdirectory inconsistent on Windows between returning "C:/" and "C:/users" (no trailing slash)

Serhiy Storchaka report at bugs.python.org
Mon Jul 25 13:50:26 EDT 2016


Serhiy Storchaka added the comment:

"C:" is current directory on drive C, "C:/" is root directory on drive C. This is not related to Python or Tk, this is how paths work.

Use os.path or pathlib for processing paths.

----------
nosy: +serhiy.storchaka
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27616>
_______________________________________


More information about the Python-bugs-list mailing list