On Jan 23, 5:05Â pm, Chris Rebert <c...@rebertia.com> wrote: > On Fri, Jan 23, 2009 at 3:50 AM, pranav <pra...@gmail.com> wrote: > > Greetings, > > I am writing a code to perform operations like checkout, check-in and > > others for SS. (SS is the command line utility for Visual SafeSource, > > VSS). I am familiar with all the commands for this purpose. I know > > li'l python also. > > What i want to learn is how do i use the command line arguments in os > > (or any other call that will fulfill my purpose). I can use popen to > > create a command prompt. But i need to use commands like > > > ss checkout $\projectName\file -Yusername,password -c'Test comment' > > You want the `subprocess` module. > Seehttp://docs.python.org/library/subprocess.html > > Cheers, > Chris > > -- > Follow the path of the Iguana...http://rebertia.com
Thanks, will try it -- http://mail.python.org/mailman/listinfo/python-list