/project/
/package/
__init__.py
module.py
setup.py
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
[user] | |
name = [Name] | |
email = [Email] | |
[push] | |
default = matching | |
[alias] | |
lsdiff = show --pretty="" --name-only | |
onelog = log --pretty=oneline | |
co = checkout | |
br = branch |
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
# Install pyyaml trhough conda or pip first. | |
import yaml | |
with open("../resources/config.yml", "r") as ymlfile: | |
cfg = yaml.load(ymlfile) | |
# cfg is a nested dictionary |