import tensorflow as tf # import the tensorflow module hello = tf.constant('Hello, TensorFlow!') # create a constant tensor sess = tf.Session() # create a session for the above tensor print(sess.run(hello)) # print the session with the run command with contant "hello" as a parameter