June Kim <junaftnoon at nospamplzyahoo.com> wrote: > I can remove the newline character by adding a comma but cannot remove > the trailing space which is automatically inserted at the end of the object. > > Any comments? Don't use print. Use sys.stdout.write() instead.