Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update yo_scheduler.py to #!/usr/bin/env python3 #60

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rodchristiansen
Copy link

This pull request upgrades the yo_scheduler script from Python 2 to Python 3. The primary objective is to ensure compatibility with modern Python environments while maintaining the existing functionality and structure of the script.

Changes Made

  • Shebang Line Update: Updated the shebang line to use #!/usr/bin/env python3.
  • Print Statement Conversion: Updated print statements to the Python 3 print() function.
  • Exception Handling: Converted except syntax to be compatible with Python 3.
  • Import Statements: Updated imports to comply with Python 3 standards.
  • Dictionary Methods: Replaced dictionary method calls (e.g., dict.iteritems() to dict.items()).
  • String Handling: Ensured all string handling is compatible with Python 3, including the use of bytes where necessary.
  • Function Adjustments: Made necessary adjustments to functions and modules to ensure compatibility with Python 3 libraries.

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