Executing WinXP commands using os module

Chris Rebert clp2 at rebertia.com
Fri Jan 23 13:05:50 CET 2009

On Fri, Jan 23, 2009 at 3:50 AM, pranav <pranny at 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. See


Follow the path of the Iguana...

More information about the Python-list mailing list