473,397 Members | 1,969 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

X-Platform method of remote execution of Windows programs

How can I execute a program in windows on a remote pc, from both linux
and windows, using python (more-or-less) alone?

Any help would be GREATLY appreciated!

Bob

Aug 21 '05 #1
2 1300
On 21 Aug 2005 11:19:37 -0700, ut*********@gmail.com declaimed the
following in comp.lang.python:
How can I execute a program in windows on a remote pc, from both linux
and windows, using python (more-or-less) alone?

Any help would be GREATLY appreciated!
Well, let's start with the simplest...

How would you run that program WITHOUT writing a program? Then
emulate that method inside the Python program. For example, you might
log-in through telnet, and pass commands to a shell.
-- ================================================== ============ <
wl*****@ix.netcom.com | Wulfraed Dennis Lee Bieber KD6MOG <
wu******@dm.net | Bestiaria Support Staff <
================================================== ============ <
Home Page: <http://www.dm.net/~wulfraed/> <
Overflow Page: <http://wlfraed.home.netcom.com/> <

Aug 22 '05 #2
Well, I can do this using WMI thru VBScript for Windows-Windows
connections. What I would like is a method using python for both
Windows-Windows and Linux-Windows connections. I've looked at pyWMI
(http://tgolden.sc.sabren.com/python/wmi.html), and found it unclear in
it's dealings with remote boxes. A look at win32com netted me a load of
"Access Denied" errors.

An alternative is using OpenSSH for Windows (on sourceforge), but I am
looking for a solution which would not require any additional software
on the Windows boxen.

Thanks for the reply.

Bob

Aug 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: lists | last post by:
I would appreciate it you folks would answer a couple of basic questions about the "Remote execution" error: 1. Is it a browser issue. 2. Is it a PHP version issue. 3. Is a a $HTTP_POST_VAR...
0
by: J. Whitehurst | last post by:
I am currently trying to find a way to remotely execute an application such that the GUI will actually show up (and be interactive?) on the remote host. Simple example: have computer1 tell...
7
by: Coca | last post by:
Hello, all I am working on a project that needs to convert OS/2 C60 programs into MS windows programs. And I found it difficult to find useful information. Could somebody kindly help me ? any...
12
by: ritchiebuckley | last post by:
I've been doing asp.net for so long now that I have forgotten about windows form programming so excuse this (seemingly) basic question. I have a form A which then opens up form B. I do stuff on...
1
by: Kapil | last post by:
My goal is to write an application in which I need to execute some programs on remote clients. The clients should be listening to the server machine all the time and as soon as a request comes,...
8
by: Stanley | last post by:
I have finished a Windows Service, now I'm trying to deploy the service to all my local computers. I want to ask if there is a fast way, rather then install it one by one? All answer would be...
1
by: dodobird | last post by:
Hello, I am sorry if this is not the correct forum for this post. I am looking for a tool for Windows, that can do file transfer to remote machines ( running windows as well ), and also do remote...
1
by: shing | last post by:
1. How would you make python open up windows programs? 2. How would you make python get data from a website, let's say, when google updates their main index page.
4
Wing
by: Wing | last post by:
Hello fellow programmers. I am writing a desktop application that will allow our IT department to execute commands on remote computers. I had originally found a post that has a two part program that...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.