release configparser

This commit is contained in:
pikastech 2022-07-20 21:55:40 +08:00
parent 2da2f124cf
commit d9b296cee8
2 changed files with 4 additions and 4 deletions

View File

@ -1,9 +1,9 @@
import pika_configparser
import configparser
fd = open('test/assets/widget_config.ini', 'r')
s = fd.read(-1)
print(s)
config = pika_configparser.ConfigParser()
config = configparser.ConfigParser()
config.read_string(s)
print(config)
font_color = config.get('文本控件_20030101', 'font_color')

View File

@ -1,9 +1,9 @@
import pika_configparser
import configparser
fd = open('test/assets/widget_config.ini', 'r')
s = fd.read(-1)
print(s)
config = pika_configparser.ConfigParser()
config = configparser.ConfigParser()
config.read_string(s)
print(config)
font_color = config.get('文本控件_20030101', 'font_color')