import os

# read the queue message and write to stdout
input = open(os.environ['input']).read()
message = "Python script processed queue message '{0}'".format(input)
print(message)

# write to the output binding
f = open(os.environ['output'], 'w')
f.write(input)

import os

# read the queue message and write to stdout
input = open(os.environ['input']).read()
message = "Python script processed queue message '{0}'".format(input)
print(message)

# write to the output binding
f = open(os.environ['output'], 'w')
f.write(input)

# read the queue message and write to stdout # write to the output binding