Skip to content

Commit 3420fbe

Browse files
committed
docstring corrected
1 parent ee56b8b commit 3420fbe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: getcsv.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
import os
55

66

7-
"""Scrolls through the list looking for different .py files. """
87
def create_csv(myDataList):
8+
"""Scrolls through the list looking for different .py files. """
99
#-- Remove the header
1010
list = myDataList[1:]
1111
myDataCsv = ''
@@ -19,8 +19,8 @@ def create_csv(myDataList):
1919
write_FileCsv(myDataCsv, file_name)
2020

2121

22-
""" Create and add data in the .csv file. """
2322
def write_FileCsv(myDataCsv, file_name, file_csv = ""):
23+
""" Create and add data in the .csv file. """
2424
#-- Get current path
2525
wd = os.getcwd()
2626
#-- Create new folder
@@ -42,8 +42,8 @@ def write_FileCsv(myDataCsv, file_name, file_csv = ""):
4242
writer.writerow(myDataCsv)
4343

4444

45-
""" Read data.csv and create a list to iterate. """
4645
def read_FileCsv(file_csv = ""):
46+
""" Read data.csv and create a list to iterate. """
4747
with open('data.csv', newline='') as File:
4848
reader = csv.reader(File)
4949
myDataList = []

0 commit comments

Comments
 (0)