#!/usr/bin/env python # Greeting print('****** Ruckus Smartzone Option 43 ******') print() # Get IP Address Input from User ipAdd = input('Please Enter the IP Address to Convert: ') # Encode String to UTF-8 formatting convertIP = ipAdd.encode('utf-8') #Get IP Address Length and convert to hex lengthIP = len(str(ipAdd)) lengthIPhex = hex(lengthIP) # Print Ruckus SmartZone Option 43 to Screen print() print('Your Ruckus SZ Option 43 Value is: 060' + lengthIPhex[2] + convertIP.hex()) print()