Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Leo Peron
NF18 - Gestion comptes bancaires
Commits
6d9d61ff
Commit
6d9d61ff
authored
May 04, 2022
by
Leo Peron
Browse files
Upload New File
parent
63d5a69c
Changes
1
Hide whitespace changes
Inline
Side-by-side
utils.py
0 → 100644
View file @
6d9d61ff
import
json
from
typing
import
Dict
class
Utils
:
def
__init__
(
self
):
pass
def
loadDatas
(
self
)
->
Dict
[
str
,
str
]:
with
open
(
"db_config.json"
,
"r"
)
as
json_file
:
return
json
.
loads
(
json_file
.
read
())
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment