The problem with going to the python interface, besides being more verbose and less clear, is that twill-fork only runs against .twill files.
I agree with you in principle -- no need to reimplementing all of python. Nevertheless some base facility for loops and conditionals would be tremendously helpful. On Mon, Jan 29, 2007 at 04:55:45PM -0300, Arturo 'Buanzo' Busleiman wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > bruce wrote: > > The only problem I've had using twill is a lack of conditional expression. > > I'd love to have if/then/else controls inside twill scripts. (Perhaps > > there's an obvious way to add this with user defined functions, but I > > haven't thought of it). > > That would be nice, yes, but it's also true that if you need a bit more > control, using the Twill > module from withing python is a better approach. > > Anyway, simple conditionals and loops would be perfect for the .twill files, > but only if we don't > develop a whole new language all over it :P > > - -- > Arturo "Buanzo" Busleiman - Consultor Independiente en Seguridad Informatica > Servicios Profesionales detallados en http://www.buanzo.com.ar/pro/ > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFFvlE4AlpOsGhXcE0RAgtiAJwLa3bvN7S3tBrQKsv1/B8o6lrgxgCeMZFH > gnAu/TA1safkrSifKG4Xuic= > =Tslk > -----END PGP SIGNATURE----- > > _______________________________________________ > twill mailing list > [email protected] > http://lists.idyll.org/listinfo/twill > _______________________________________________ twill mailing list [email protected] http://lists.idyll.org/listinfo/twill
