[twill] use of variables in go statement

Peri Cumali kozmodawg at yahoo.com
Wed Nov 29 16:12:07 PST 2006


I have a small python script to give me the name of a random game and I 
would like to use it in a go statement.  e.g. /game/$gameName/buy.  How 
ever I can't seem to do this.  It takes that literally.

Work around is to do this:
go /game/
go $gameName

however if I add a / at the end of $gameName it also goes to $gameName 
but not to the variable name.

It would be cool if this was a bit more automagic.

Thanks,

Peri



More information about the twill mailing list