Hi Members, I am starting to learn Ironpython for customization of an existing CAE software.
I have a basic question I am referencing some assembly .dlls like below clr.AddReference("System") clr.AddReference("Ans.Utilities") , this is specific to software that I am planning to customize. these two .dlls are successfully added, no issues in that. How can i print the location (full file path) of these two .dlls ? I tired followings but i am not successful. Request your kind advice. >>> from System.Runtime.InteropServices import RuntimeEnvironment >>>print RuntimeEnvironment.GetRuntimeDirectory() C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ >>>sysAssy = clr.AddReference("System") >>>print sysAssy.FullName 'NoneType' object has no attribute 'FullName' >>> print sysAssy.Location 'NoneType' object has no attribute 'Location' Regards, Santhosh M, ANSYS, Bangalore, INDIA. Phone: 080 - 67722500 / 080- 49010800 Mobile : +91 9663708004
_______________________________________________ Ironpython-users mailing list Ironpython-users@python.org https://mail.python.org/mailman/listinfo/ironpython-users