In my python application I am importing my module from a xyz.dll. When I try to import my module from the xyz.dll the python shows error no xyz module found. But after renaming the xyz.dll to xyz.pyd the same python code (without any change) imports my module easily. The folder only had the abc.py and the xyz.dll(later renamed to xyz.pyd), my doubt is why do we need to rename the .dll to .pyd what is the difference ?:confused:

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.