If you want to print a string in Python without newline at the end, do it like this:

# ... and if you are in Python 2: from __future__ import print_function
print('.', end='')