Where does the clr in IronPython look the dll
Hello Everybody I am trying to import dll with clr.AddReference("TCdll") I am getting the following error. Traceback (most recent call last): File "", line 1, in clr.AddReference("TCdll") FileNotFoundException: Unable to find assembly 'TCdll'. at Python.Runtime.CLRModule.AddReference(String name) I have loaded the dll in system32 folder. Have I loaded the dll at the right place or do I need to place it anywhere else? Waiting for your replies. Regards Navneet -- http://mail.python.org/mailman/listinfo/python-list
Access functions in dll class
Hello Everybody I am able to import the dll and able to access the class of the dll. But when I am trying to access the methods in the dll its showing error. #Class1 is the class in dll and next is the function. Class1.Bin_To_Dec("11") Traceback (most recent call last): File "", line 1, in Class1.Bin_To_Dec("11") TypeError: No method matches given arguments Please help me to find out where am i wrong? Do I need to create object of dll class and then access it? If yes then how can I access it? Thanks Navneet -- http://mail.python.org/mailman/listinfo/python-list
TypeError: not enough arguments
Hello Everbody I have imported a class from vb.net dll in Python. I am able to import all the functions, but its showing such error when trying to access it. g() is a simple function in dll which takes no argument but returns a string. print Class1.g() Traceback (most recent call last): File "", line 1, in print Class1.g() TypeError: not enough arguments Please help me out. Thanks Navneet -- http://mail.python.org/mailman/listinfo/python-list
concept of creating structures in python
Hello Everybody I want to create a structure within a structure i.e. nested structures in python. I tried with everything but its not working. my code is like this: class L(Structure): def __init__(self,Name='ND',Addr=0,ds_obj = D()): self.Name = Name self.Addr = Addr self.ds_obj = ds_obj class D(Structure): def __init__(self,dataName='ND',index = 0,ele_obj=E()): self.dataName = dataName self.index = index self.ele_obj = ele_obj these are two structures. I want to refer D structure in L one and use it. I want to access the value of D structure like L.D.index = 0. Please help me Thanks in advance Navneet -- http://mail.python.org/mailman/listinfo/python-list
Invitation to connect on LinkedIn
LinkedIn Navneet Khanna requested to add you as a connection on LinkedIn: -- Jaime, I'd like to add you to my professional network on LinkedIn. - Navneet Accept invitation from Navneet Khanna http://www.linkedin.com/e/I2LlXdLlWUhFABKmxVOlgGLlWUhFAfhMPPF/blk/I309673816_3/6lColZJrmZznQNdhjRQnOpBtn9QfmhBt71BoSd1p65Lr6lOfPdvdz4UcPsSej0PiiZxk6VSk6VAbiYRdj8Nd3sTcjsLrCBxbOYWrSlI/EML_comm_afe/ View invitation from Navneet Khanna http://www.linkedin.com/e/I2LlXdLlWUhFABKmxVOlgGLlWUhFAfhMPPF/blk/I309673816_3/0PnPoNe3cTdzAMcQALqnpPbOYWrSlI/svi/ -- DID YOU KNOW you can use your LinkedIn profile as your website? Select a vanity URL and then promote this address on your business cards, email signatures, website, etc http://www.linkedin.com/e/ewp/inv-21/ -- (c) 2009, LinkedIn Corporation -- http://mail.python.org/mailman/listinfo/python-list