Start dev.

This commit is contained in:
ElEgEv 2023-09-14 14:30:19 +04:00
parent 7e230168c7
commit 6ea1e6a43c
2 changed files with 23 additions and 0 deletions

16
.idea/csv-editor.xml Normal file
View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CsvFileAttributes">
<option name="attributeMap">
<map>
<entry key="\res\Stores.csv">
<value>
<Attribute>
<option name="separator" value="," />
</Attribute>
</value>
</entry>
</map>
</option>
</component>
</project>

7
LabWork01/LoadDB.py Normal file
View File

@ -0,0 +1,7 @@
import csv
#тут просто прочитали все значения
with open('../res/Stores.csv', newline='') as csvfile:
spamreader = csv.reader(csvfile, delimiter=' ', quotechar='|')
for row in spamreader:
print(', '.join(row))