Skip to content

Conversation

Lakeland97
Copy link

Condensed the functions for readability.
Replaced list(map(...)) with list comprehensions.
Provided more verbose output for tracking progress. Used os.path.join and os.path.basename for safer path manipulation. Checked the minimum required command-line arguments and exited if not met. Utilized the if name == 'main': idiom for better script encapsulation.

Condensed the functions for readability.
Replaced list(map(...)) with list comprehensions.
Provided more verbose output for tracking progress.
Used os.path.join and os.path.basename for safer path manipulation.
Checked the minimum required command-line arguments and exited if not met.
Utilized the if __name__ == '__main__': idiom for better script encapsulation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant