title: Can you use python to type text and press enter in command prompt?
body: <p>I made a little python function, which I would then like to use in a Linux command prompt. However, in order for it to run correctly in the command prompt, I need to first type "pycassaShell" into the command prompt so that pycassaShell is running before I input any further commands. Thus, is there any way to do this in my python program itself?</p>
  
  <p>For example, I would like the python code to do the following:</p>
  
  <ul>
  <li>Open command prompt</li>
  <li>Enter "pycassaShell"</li>
  <li>Press enter key</li>
  <li>Run the function I created in the python program.</li>
  </ul>
  
  <p>Alternatively, is it possible to simply access a function written in a python file directly in pycassaShell?</p>
  
  <p>I apologize if this is a bad question, but I am new to using command prompt in general. Thanks!</p>