How to Solve NameError: name 'Uc' is not defined -- unicorn

Solution: Import the 'Uc' module

To Solve the error, add the following line to the top of your code.

from unicorn import Uc

 

For more information:
Python unicorn Uc