By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,282 Members | 1,209 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,282 IT Pros & Developers. It's quick & easy.

Accepts command line arguments from user.

P: 1
we are coding on Windows XP environment and I am basically trying to run command line executable program that accepts command line arguments from user. I want to be able to provide these arguments through input pipe so that executable does not require any intervention from the user.
Aug 16 '07 #1
Share this Question
Share on Google+
1 Reply

ilikepython
Expert 100+
P: 844
we are coding on Windows XP environment and I am basically trying to run command line executable program that accepts command line arguments from user. I want to be able to provide these arguments through input pipe so that executable does not require any intervention from the user.
The command line argumens are stored in sys.argv variable. Check out the sys module.
Aug 16 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.