I'm still learning python/jython, so sorry if I ask silly questions.
I have this for loop in java, but I have no idea how to code it in Python/Jython, since it insists using "in"...
for(String effectString : config.getStringList("string.list") {
// Do something
I tried:
for effectString = config.getStringList("string.list"):
and
for effectString in config.getStringList("string.list"):
but then I realised that I didn't defined effectString and, actually, effectString is config.getStringList("string.list")...
Thanks for explanation in advance, Amar!
for
statement, so assumingconfig.getStringList("stringlist")
is a generator of some sort, then you're all set – MattDMo Nov 29 '13 at 19:03