Start dev.
This commit is contained in:
parent
7e230168c7
commit
6ea1e6a43c
16
.idea/csv-editor.xml
Normal file
16
.idea/csv-editor.xml
Normal 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
7
LabWork01/LoadDB.py
Normal 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))
|
Loading…
Reference in New Issue
Block a user