-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCSVlibrary.py
43 lines (39 loc) · 1.19 KB
/
CSVlibrary.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import csv
import CSVFile
import CSVlibraryValidator as csvvalidator
import CSVlibraryInterpreter as csvinterpreter
# def print_commands():
# print('Enter a command')
# print('RTAB - Return Table')
# print('RROW - Return Row')
# print('RCOL - Return Column')
# print('RCEL - Return Cell')
# print('CROW - Change Row')
# print('CCOL - Change Column')
# print('CCEL - Change Cell')
# print('DROW - Delete Row')
# print('DCOL - Delete Column')
# print('DCEL - Delete Cell')
# print('IROW - Insert Row')
# print('ICOL - Insert Column')
# print('EXIT - Exit program')
# print('Input File Name')
# fileName = str(input())
# print('Input File Delimiter')
# delimiter = str(input())
# file = CSVFile.csvFile(fileName, delimiter)
# validator = csvvalidator.validator()
# interpreter = csvinterpreter.interpreter(file)
# loop = True
# while loop:
# print_commands()
# command = input()
# command.strip()
# command.lower()
# if validator.validate_command(command):
# if command == "exit":
# print('Exiting CSVlibrary')
# loop = False
# interpreter.interpret(command)
# file.save_changes()
# print()