469,592 Members | 1,801 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,592 developers. It's quick & easy.

Accepts command line arguments from user.

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
1 976
ilikepython
844 Expert 512MB
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.

Similar topics

2 posts views Thread by paul | last post: by
1 post views Thread by Rune Jacobsen | last post: by
2 posts views Thread by Milan | last post: by
2 posts views Thread by william.w.oneill | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.