From b8a2b8d9aee28d5ef1753d8ebdfea480b9603c48 Mon Sep 17 00:00:00 2001 From: internetlandlord Date: Mon, 31 Oct 2022 13:52:22 -0500 Subject: Re-configured inputoutput to remove appending in egress function. Add appending to each algorithm script to denote sorting job performed --- quick-sort.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'quick-sort.py') 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) -- cgit v1.2.3