TerabyteST 0 Newbie Poster
Recommended Answers
Jump to PostYes there is a way. Use python's ctypes
Maybe someone else can give you an example of how to use it. Or maybe you can just look at the documentation (it's not …
Jump to PostYou don't need to know where the dll is placed (you don't redistribute it). In your python code, you just do:
import ctypes.windll.dwmapi as dwm
Jump to PostThere is no such module
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
import ctypes.windll.dwmapi as dwm
ImportError: No module named windll.dwmapiYeah that's my bad:
import ctypes dwm = ctypes.windll.dwmapi
All 10 Replies
Stefano Mtangoo 455 Senior Poster
TerabyteST 0 Newbie Poster
Stefano Mtangoo 455 Senior Poster
scru 909 Posting Virtuoso Featured Poster
TerabyteST 0 Newbie Poster
scru 909 Posting Virtuoso Featured Poster
TerabyteST 0 Newbie Poster
scru 909 Posting Virtuoso Featured Poster
TerabyteST 0 Newbie Poster
scru 909 Posting Virtuoso Featured Poster
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.