[twill] use of variables in go statement
Peri Cumali
kozmodawg at yahoo.com
Wed Nov 29 16:24:37 PST 2006
Robert Marianski wrote:
>On Wed, Nov 29, 2006 at 04:12:07PM -0800, Peri Cumali wrote:
>
>
>>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
>>
>>
>
>Not sure if it will work for you, but try this:
>
> go /game/${gameName}/buy
>
>Robert
>
>
>
>
DOH too obvious!
Thanks,
Peri
More information about the twill
mailing list