#!/usr/bin/env python3


# line continuations with ( ... )
myText = ( "However fast you may be able to think,\n"
         + "it is not fast enough.\n" 
         + "Don't worry, others have the same problem;)" )

# direct use of file streams
open("thinking.txt", "w").write(myText)
data = open("thinking.txt", "r").read()

# line continuations with  \
for token in data.replace('\n',' ').replace('.',' ').\
                  replace(', ',' ').replace('  ',' ').split(" "):
  print(token)
