python doc :: configparser example file write requires minor change
May 5, 2020
8:10 a.m.
*URL : *https://docs.python.org/3/library/configparser.html *Current documentation states:*
with open('example.ini', 'w') as *configfile*: ... config.write(*configfile*)
*I think it should be *>>> with open('example.ini', 'w') as *configfile*: ... *configfile*.write(*config*)
May 5, 2020
8:16 a.m.
Sorry, my bad. its a mistake. checked it, your are correct. On Tue, 5 May 2020 at 20:40, SharatKumar <sharathkumar3387@gmail.com> wrote:
*URL : *https://docs.python.org/3/library/configparser.html
*Current documentation states:*
with open('example.ini', 'w') as *configfile*: ... config.write(*configfile*)
*I think it should be *>>> with open('example.ini', 'w') as *configfile*: ... *configfile*.write(*config*)
2289
Age (days ago)
2289
Last active (days ago)
1 comments
1 participants
participants (1)
-
SharatKumar