Me and a friend decided that our applescript version of a script was too slow, and ported it to python.
The script is located here:
https://gist.github.com/anonymous/aba4b07237eb2ccec30b
There's a small problem, too many for-loops, and it's not dynamic. Because it's not dynamic the python program reports too many nested for-loops. How can me and my friend avoid this error and possibly enter any number to get the output from the list collections?
I know this can be done somehow with a function, but we're new to python and scripting languages and just trying to push the limits to see what can be done, and learn a little in the process.