diff options
author | internetlandlord <f.fredhenry@gmail.com> | 2022-10-31 13:52:22 -0500 |
---|---|---|
committer | internetlandlord <f.fredhenry@gmail.com> | 2022-10-31 13:52:22 -0500 |
commit | b8a2b8d9aee28d5ef1753d8ebdfea480b9603c48 (patch) | |
tree | e220db1b7610a61fff8c7aeff01795a68b45c31a /quick-sort.py | |
parent | 7ccfafb0c07b38524270ebcd61ed03984332ab5a (diff) |
Re-configured inputoutput to remove appending in egress function. Add appending to each algorithm script to denote sorting job performed
Diffstat (limited to 'quick-sort.py')
-rwxr-xr-x | quick-sort.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/quick-sort.py b/quick-sort.py index 1f807dd..13ab061 100755 --- a/quick-sort.py +++ b/quick-sort.py @@ -38,6 +38,7 @@ def quickSort(data): # running quicksort against the ingressed data numdata = quickSort(numdata) -# finishing up +# finishing up and appending "-quicksorted" to CSV +target = target[:-4]+"-quicksorted"+target[-4:] print("Sort complete, writing to file!") io.egressCSV(numdata,target) |