This question is quite simple but I cannot find the good way to do that....
The thing is that I am trying to print on screen the progress of an operation...just for test purposes, but I am having an error when I try to print something like that: "Completed 30%"
The problem is that "%" is being taken as an argument here:
Here is the piece of the code
print "Completed: %s % " % (100*loops/totalLoops)
And here is the error:
print "Completed: %s %" % (100*loops/totalLoops)
ValueError: incomplete format
There should be an easy fix for that stupid thing...but I cannot find it.