Last active
January 13, 2021 08:19
-
-
Save nanmi/d1c7ba75fc4807752f1f96795402da86 to your computer and use it in GitHub Desktop.
python ini文件读取
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import configparser | |
config = configparser.ConfigParser() | |
config.read({file}.ini) | |
config['FILE_DATA']['path'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TIP3 about read ini file.