WIP: conversation format.
This commit is contained in:
commit
3019e28cba
4 changed files with 23 additions and 0 deletions
1
README.md
Normal file
1
README.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Test
|
4
conversation.csv
Normal file
4
conversation.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
# Sender:Sleep (seconds):Message
|
||||||
|
0:4:"Stop, someone is spying on us"
|
||||||
|
1:4:"Hello Théo"
|
||||||
|
2:4:"Hi Oriana"
|
Can't render this file because it contains an unexpected character in line 2 and column 5.
|
11
conversation.json
Normal file
11
conversation.json
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
"error": "Stop, someone is spying on us",
|
||||||
|
"conversation": [
|
||||||
|
{
|
||||||
|
"msg": "Salut Théo"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"msg": "Salut Oriana"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
7
main.py
Normal file
7
main.py
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
import csv
|
||||||
|
|
||||||
|
def main():
|
||||||
|
with open('conversation.csv') as csvfile:
|
||||||
|
...
|
||||||
|
|
||||||
|
main()
|
Loading…
Reference in a new issue