Hello I am looking for a way to open command prompt of my remote windows machine with python code.
could somebody help me with that ?

Thank you.

Install an ssh server in the remote host and use module paramiko. This post is a little old, but it could help.

Also have a look at the high level module Fabric (although it is probably much easier to set up in a linux box) It also uses ssh and paramiko, so you may consider this as the next step :)

Ok thank you. I will try it and let you know soon.

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.