anki-code / anki-code/xonsh-cheatsheet

How to update enviroment from config file

Open
#7 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
299
Forks
16
PR merge metrics
No merged PRs in 30d

Description

sharing

```xsh
#!/usr/bin/env xonsh
from configobj import ConfigObj
conf = ConfigObj("/home/admin/.db_conf")

# Atualizar variaveis de ambiente
${...}.update(conf)

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.