Hi,
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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.