/main.py Secret
Last active
December 24, 2024 20:14
No employee name was given
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def main(): | |
try: | |
# check if the user entered the employee name | |
sys.argv[1] | |
# rest of the main function... | |
except IndexError: | |
print_in_color( | |
""" | |
Missing employee name (as it appears in the payslip): | |
py ./main.py '<EMPLOYEE_NAME>' (with the quotes!) | |
Don't be shy, tell me your name :D | |
""", color.YELLOW | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment