[Tutor] Working with bash (subversion)

Andreas Kostyrka andreas at kostyrka.org
Wed Jul 18 23:49:16 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

mkarg is quite useful, from time to time.

Andreas

Luke Paireepinart wrote:
> Justin Cardinal wrote:
>> I'm trying to write a program that will list all subversion repository 
>> directories, then issue a command using each directory as an argument, 
>> then parse those results. So far, I'm able to get a list of the 
>> directories...and that's it!
>> Here's what I've got so far:
>> =========================================
>> #!/usr/bin/env python
>>  
>> import commands as c
> As a side note, why is this 'commands' module part of the standard library?
> it just appears to wrap os.popen in a very bare way and it is not 
> platform-independent.
> It seems pretty useless, as far as I can tell.
> -Luke
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGnorcHJdudm4KnO0RAilrAKCDCM5eOvtqgVJ0ViouGpuEqOjDOACgxg88
4sCL39aNoFiZqRR4e1zUEJk=
=Q4ZW
-----END PGP SIGNATURE-----


More information about the Tutor mailing list