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
Adrien Simon
nf18-projet
Commits
b98debf0
Commit
b98debf0
authored
Jun 08, 2022
by
NF18 Etudiant
Browse files
corrigé les noms des fichiers
parent
6e2443b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
rendu-5/mainNoSQL.py
View file @
b98debf0
...
...
@@ -192,7 +192,7 @@ while main_user_choice != 5:
if
user_choice
==
41
:
data
:
str
=
""
with
open
(
"
I
nsert.sql"
,
"r"
)
as
f
:
with
open
(
"
i
nsert
NoSQL
.sql"
,
"r"
)
as
f
:
for
l
in
f
:
data
+=
l
cur
.
execute
(
data
)
...
...
@@ -202,7 +202,7 @@ while main_user_choice != 5:
elif
user_choice
==
42
:
# create bdd
bdd
:
str
=
""
with
open
(
"
CREATE
.sql"
,
"r"
)
as
f
:
with
open
(
"
create3NF
.sql"
,
"r"
)
as
f
:
for
l
in
f
:
bdd
+=
l
cur
.
execute
(
bdd
)
...
...
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