New submission from Ranya <[email protected]>:
Am trying to use clr.AddReference and clr.AddReferenceToFile to import an
assembly, but python(2.7) keeps making this error:
Traceback (most recent call last):
File "<pyshell#5>", line 1, in <module>
clr.AddReference("UnityEngine")
AttributeError: 'module' object has no attribute 'AddReference'
Can anyone tell me how to fix this.
----------
assignee: terry.reedy
components: IDLE
messages: 308909
nosy: Rany, terry.reedy
priority: normal
severity: normal
status: open
title: clr: AttributeError: 'module' object has no attribute 'AddReference'
versions: Python 2.7
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue32405>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com