[solved] % Problem
I'm starting to lose it on this piece of code:
for i in range(12): self.experiment.images [i] = exp.get_file(u'uni%.png' %i)
Which results in the following error message:
ValueError: unsupported format character 'p' (0x70) at index 5
I don't get why the '%' character is not recognised for its usual purpose. I know it's a proper way to use this character so I'm a bit confused. The "%" is supposed to be replaced by the value of "i" for each iteration.
I'm sure there a simple explanation but I can't figure it out. Does anyone know what's happening?
PS: Just in order to give more information: I'm at work, so I'm on a MacBook Pro OS 10.10