I have a Linux PC (running Ubuntu) and a Windows 7 PC, and they are connected to the same network. I want to write a script in Python from the Linux PC that "tells" the Windows PC to open a specific URL. I know the command in windows is e.g. "start www.google.com", so I think I have to somehow send this command from the Linux to the Windows PC using a Python script. Thanks in advance for any suggestions!
Take the 2-minute tour
×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
|
Well, how the PC's connected, LAN, WAN, Bluetooth? I assume they use a LAN. In this case you can use a socket library to send data from one PC to another. The Linux will be a client and Win7 will be a server, check this link for example: Server/Client implementation |
|||||
|