Python Forum
opinion: configparser should have been better
Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
opinion: configparser should have been better
#5
maybe your code is cheating by using .read_dict. show me how by reading from a file, updating an option like and writing it back.
parser['thissection']['thisoption'] = 'thisvalue'
print('thissection now has:',repr(parser['thissection']))
print('these sections exist:',' '.join(k for k in parser['thissection'].keys()))
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
RE: opinion: configparser should have been better - by Skaperen - Oct-01-2020, 10:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Upgrade to python 3 opinion hokie1999 5 2,869 May-11-2021, 06:42 PM
Last Post: hokie1999
  what is your opinion of this syntactic sugar idea? Skaperen 8 4,502 Nov-28-2018, 03:15 AM
Last Post: Skaperen
  Guido van Rossum does not care about the opinion of the community. Kirill_Dubovitskiy 12 8,210 Sep-14-2018, 06:33 PM
Last Post: micseydel
  [split] My opinion about OS choice for programming wavic 12 12,165 Oct-07-2016, 10:08 PM
Last Post: wavic

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020