Skip to content

Improved exception handling, Email Input sanitization and code refactoring#2

Open
PythonHacker24 wants to merge 13 commits into
bvoris:mainfrom
PythonHacker24:main
Open

Improved exception handling, Email Input sanitization and code refactoring#2
PythonHacker24 wants to merge 13 commits into
bvoris:mainfrom
PythonHacker24:main

Conversation

@PythonHacker24
Copy link
Copy Markdown

Current Fixes and Improvements

  • Improved exception handling till option 3 in the cases of no relevant inputs
  • Dependences checking added
  • Email Input sanitization initiated (more to be improved)
  • Improved readability and applied more concise methods to add a new line character
  • Disclaimer updated for more clarity
  • Added input initialization in cases of empty inputs

Further Improvement Plans

  • Adding colour coding for better UX
  • More hardcore parameters for input sanitization
  • Adding optparse library as an option for fast-paced input-taking
  • Expanding country lists

@PythonHacker24
Copy link
Copy Markdown
Author

Organized the code into modules for reusability and readability. I also added state abbreviations for the USA.

@PythonHacker24
Copy link
Copy Markdown
Author

I directly copied all the code in your repo to my repo and made changes to update it. So consider that the updates are made directly on the top of your repo, not mine.

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