[Python-ideas] Rewriting file - pythonic way

Alexey Shrub ashrub at yandex.ru
Sun Apr 15 10:15:55 EDT 2018


В Воскресенье, 15 апр. 2018 в 2:40 , Nick Coghlan 
<ncoghlan at gmail.com> написал:
> https://bugs.python.org/issue8604#msg174104 is the relevant tracker
> discussion

Thanks all, I agree that universal and absolutly safe solution is very 
difficult, but for experiment I made some draft
https://github.com/worldmind/scripts/tree/master/filerewrite
main code here
https://github.com/worldmind/scripts/blob/master/filerewrite/filerewrite.py#L46



More information about the Python-ideas mailing list