Skip to content

Instantly share code, notes, and snippets.

@minorsecond
Created April 16, 2015 09:46
Show Gist options
  • Save minorsecond/2309defa202e989076ad to your computer and use it in GitHub Desktop.
Save minorsecond/2309defa202e989076ad to your computer and use it in GitHub Desktop.
Main menu - causes error in Python3: "SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 11-12: malformed \N character escape
print('PYPER Timesheet Utility \n \n' \
'What would you like to do? \n' \
'1. Clock In\New Job\n' \
'2. Switch Job\n' \
'3. Break Time\Quit\n' \
'4. Set up jobs/break types\n' \
'5. Timesheet Minute Formatter\n' \
'6. Calculate Total Time Worked\n' \
'7. Generate Today\'s Timesheet\n' \
'8. Quit\n')
@minorsecond
Copy link
Author

This was originally written for Python 2, and worked. I'm not sure why something as simple as this would cause issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment