это то, как печатать пробелы в python.
import string string.whitespace '\t\n\x0b\x0c\r ' i.e . print "hello world" print "Hello%sworld"%' ' print "hello", "world" print "Hello "+"world