472,127 Members | 2,027 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

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 1005
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 leo001 | last post: by

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.