diff --git a/Channel_Sorter - Copy (2).py b/Channel_Sorter - Copy (2).py deleted file mode 100644 index 4040468..0000000 --- a/Channel_Sorter - Copy (2).py +++ /dev/null @@ -1,26 +0,0 @@ -# -*- coding: utf-8 -*- -""" -Created on Tue Jun 26 23:31:00 2018 - -@author: Matt -""" -import re -import sys - -def atoi(text): - return int(text) if text.isdigit() else text - -def natural_keys(text): - ''' - alist.sort(key=natural_keys) sorts in human order - http://nedbatchelder.com/blog/200712/human_sorting.html - (See Toothy's implementation in the comments) - ''' - return [ atoi(c) for c in re.split('(\d+)', text) ] - -temp_hold = list(sys.argv[1:]) -temp_hold.sort(key=natural_keys) -file = open('Channels_Sorted.txt','w') -for item in temp_hold: - file.write(item + '\n') -file.close() \ No newline at end of file diff --git a/Channel_Sorter - Copy (3).py b/Channel_Sorter - Copy (3).py deleted file mode 100644 index 4040468..0000000 --- a/Channel_Sorter - Copy (3).py +++ /dev/null @@ -1,26 +0,0 @@ -# -*- coding: utf-8 -*- -""" -Created on Tue Jun 26 23:31:00 2018 - -@author: Matt -""" -import re -import sys - -def atoi(text): - return int(text) if text.isdigit() else text - -def natural_keys(text): - ''' - alist.sort(key=natural_keys) sorts in human order - http://nedbatchelder.com/blog/200712/human_sorting.html - (See Toothy's implementation in the comments) - ''' - return [ atoi(c) for c in re.split('(\d+)', text) ] - -temp_hold = list(sys.argv[1:]) -temp_hold.sort(key=natural_keys) -file = open('Channels_Sorted.txt','w') -for item in temp_hold: - file.write(item + '\n') -file.close() \ No newline at end of file diff --git a/Channel_Sorter - Copy (4).py b/Channel_Sorter - Copy (4).py deleted file mode 100644 index 4040468..0000000 --- a/Channel_Sorter - Copy (4).py +++ /dev/null @@ -1,26 +0,0 @@ -# -*- coding: utf-8 -*- -""" -Created on Tue Jun 26 23:31:00 2018 - -@author: Matt -""" -import re -import sys - -def atoi(text): - return int(text) if text.isdigit() else text - -def natural_keys(text): - ''' - alist.sort(key=natural_keys) sorts in human order - http://nedbatchelder.com/blog/200712/human_sorting.html - (See Toothy's implementation in the comments) - ''' - return [ atoi(c) for c in re.split('(\d+)', text) ] - -temp_hold = list(sys.argv[1:]) -temp_hold.sort(key=natural_keys) -file = open('Channels_Sorted.txt','w') -for item in temp_hold: - file.write(item + '\n') -file.close() \ No newline at end of file diff --git a/Channel_Sorter - Copy.py b/Channel_Sorter - Copy.py deleted file mode 100644 index 4040468..0000000 --- a/Channel_Sorter - Copy.py +++ /dev/null @@ -1,26 +0,0 @@ -# -*- coding: utf-8 -*- -""" -Created on Tue Jun 26 23:31:00 2018 - -@author: Matt -""" -import re -import sys - -def atoi(text): - return int(text) if text.isdigit() else text - -def natural_keys(text): - ''' - alist.sort(key=natural_keys) sorts in human order - http://nedbatchelder.com/blog/200712/human_sorting.html - (See Toothy's implementation in the comments) - ''' - return [ atoi(c) for c in re.split('(\d+)', text) ] - -temp_hold = list(sys.argv[1:]) -temp_hold.sort(key=natural_keys) -file = open('Channels_Sorted.txt','w') -for item in temp_hold: - file.write(item + '\n') -file.close() \ No newline at end of file diff --git a/develop_exclusive - Copy (2).txt b/develop_exclusive - Copy (2).txt deleted file mode 100644 index 6aeea77..0000000 --- a/develop_exclusive - Copy (2).txt +++ /dev/null @@ -1 +0,0 @@ -This file is specific to the develop branch \ No newline at end of file diff --git a/develop_exclusive - Copy (3).txt b/develop_exclusive - Copy (3).txt deleted file mode 100644 index 6aeea77..0000000 --- a/develop_exclusive - Copy (3).txt +++ /dev/null @@ -1 +0,0 @@ -This file is specific to the develop branch \ No newline at end of file diff --git a/develop_exclusive - Copy.txt b/develop_exclusive - Copy.txt deleted file mode 100644 index 6aeea77..0000000 --- a/develop_exclusive - Copy.txt +++ /dev/null @@ -1 +0,0 @@ -This file is specific to the develop branch \ No newline at end of file