Hi, in Amazon Mechanical Turk command line tools (I have aws-mturk-clt-1.3.0), in one of the samples (site_filter_qual: "Website Filtering Qualification", file site_filter_qual.question), there is code looking something like this:
#set( $urls = [ "http://news.bbc.co.uk/", http://..., ...])
#foreach ( $url in $urls )
...
I am wondering :
- a) what is the language used here(it's not Perl and not PHP, right?);
- b) where (on Amazon site or elsewhere) I could read ab. these constructs;
- c) how to implement tuples (pairs), e.g.
// in Python:
>> data = [("http://news.bbc.com", "NEWS"), ("http://google.com", "SEARCH"), ...]
>> for (url, category) in data:
>> ....
-- or something similar?
Thanks in advance!