old_contents: #!/usr/bin/env python
  import rospy
  from std_msgs.msg import String
  
  def input_node():
      pub = rospy.Publisher('dst', String, queue_size=0)
      rospy.init_node('inputer', anonymous=True)
      pub.publish("")
      while not rospy.is_shutdown():
          new_dst = raw_input("Dest> ")
          pub.publish(new_dst)
  
  if __name__ == '__main__':
      input_node()
  
  
  
new_contents: #!/usr/bin/env python
  import rospy
  from std_msgs.msg import String
  
  def input_node():
      pub = rospy.Publisher('input_value', String, queue_size=0)
      rospy.init_node('inputer', anonymous=True)
      # Publish a nonsense initial value to make sure subscribers don't explode
      pub.publish("")
      while not rospy.is_shutdown():
          new_dst = raw_input("Dest> ")
          pub.publish(new_dst)
  
  if __name__ == '__main__':
      input_node()
  
  
  
subject: Update based on code review