New submission from Terunobu Inaba <incrediblet...@gmail.com>:

In the xml.etree.ElementTree module, the function "write(args)" 
(https://docs.python.org/ja/3/library/xml.etree.elementtree.html) does not seem 
to have a function like "-p" in "mkdir -p" in UNIX system, i.e., it will raise 
an error when some directories in the path argument do not exist in your PC.

I find this a bit uncomfortable. So, I would like to extend this function to be 
able to create directories only if they does not already exist.

----------
components: Library (Lib)
messages: 403120
nosy: i11u
priority: normal
severity: normal
status: open
title: xml.etree.ElementTree: add feature in write to create directories also 
like mkdir -p
type: enhancement
versions: Python 3.9

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

Reply via email to