How to change workgroup/domain window10 using python?

Hello everyone, i am really new to python. is there anyone that can help me, how to change from workgroup to domain using python? is there any module that i can use. i try search around through google but i only found how to change PC name using WMI module. hope someone can help me through this.

Thank you

Hello, I hope this helps!

thanks for your feedback… but i try to code with python… somehow after going deep search on google, i found the solution using PyMI module. Anyway thank you