Python force execute as admin python 3.9.1

I am trying to run the python code as admin forcefully but everything I tried i got errors

I need admin rights to run a command in cmd that requires administrator privileges

Please note I installed python 3.9.1

C:UsersJon.LAPTOP-ECN876QPDesktop>AW.py
Traceback (most recent call last):
  File "C:UsersJon.LAPTOP-ECN876QPDesktopAW.py", line 34, in <module>
    ret = run_as_admin()
  File "C:UsersJon.LAPTOP-ECN876QPDesktopAW.py", line 22, in run_as_admin
    arguments = map(unicode, argv)
NameError: name 'unicode' is not defined