title: batch file to enter commands in the prompt
body: <p>I wanted to write  a bat file in which the following are the commands    </p>
  
  <pre><code> python  
   print "hello"  
  </code></pre>
  
  <p>I wanted it to work like it will open python command utility and execute  </p>
  
  <pre><code>print "hello"  
  </code></pre>
  
  <p>If the above two commands are written in bat file
  python command utility is getting opened and waiting after I terminate it manually,The next command is getting executed<br>
  Is there any way by which I can redirect the above print "hello" command into python command utility  </p>
  
  <p>I know we can write a separate python file with print "hello" and call that directly by<br>
      python filename.py<br>
  But my requirement is specifically the redirection which I have mentioned above  </p>
  
  <p>Any help in this regard is greatly appreciated<br>
  Thanks in advance!!!  </p>