qr2unicode
qr2unicode copied to clipboard
Class Conversion
Overview
General
- Converted the main logic to a python3 class that can be imported by other programs.
- Added
if __name__ == "__main__"statement. - Moved argument parsing to new
main()function.
Class-Specific
- New class name:
QRConverter. - Main Logic Function:
convertQRCode - Constant values turned into class variables.
- Helper functions marked as private using "dunders" (
__).