import tensorflow as tf
hello = tf.constant('hello, chenjun!')
sess = tf.Session()
print(sess.run(hello))
>>>b'hello, chenjun!'