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

Traceback (most recent call last):
  File "", line 34, in <module>
    ret = run_as_admin()
  File "", line 22, in run_as_admin
    arguments = map(unicode, argv)
NameError: name 'unicode' is not defined