Feb-03-2017, 09:12 PM
It all depends where you get
Also,
saw
from. If you are using a wrong encoding, bytes for accented characters could be converted to the wrong characters.Also,
"(argument, False)"
is not a tuple, but a string
"\'Argument should be a string'"
is strange (why the simple quotes, and why escaping only one?)
cat = cat.lower()
should be done only once (in fact, there is a bug if your first letter is an uppercase... do you see why?)
Unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Your one-stop place for all your GIMP needs: gimp-forum.net
Your one-stop place for all your GIMP needs: gimp-forum.net