79200798

Date: 2024-11-18 17:13:30
Score: 1.5
Natty:
Report link

In addition to above, you can directly use the if condition as show below

 if 'pythontest' in config[section]

Please refer https://docs.python.org/3/library/configparser.html for different methods with ConfigParser class.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Indravadan Patel