Richard <[email protected]> added the comment:
I would like for this to be reconsidered. Yes, you can use str(), but
converting back and forth becomes really clunky:
log_dir = 'logs/{date}'
log_file = Path(str(path).format(time.strftime('%Y-%m-%d')) / 'log.txt'
----------
nosy: +nyuszika7h
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue38222>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com