title: How to get bash script take input from python script
body: <p>I am new to programming in python and wanted to try something out.</p>
  
  <p>I have a bash script, which takes in parameters like User name, Full name etc. This is the bash script I have</p>
  
  <pre><code>#!/bin/sh
  
  echo -n "username: "
  read username
  
  echo -n "First name: "
  read first
  
  echo -n "Last name: "
  read last
  
  echo "$username", "$first", "$last"
  </code></pre>
  
  <p>I am trying to call the bash script via python. Except I want to enter the parameters in python and it needs to be parsed to the bash script. Any help will be greatly appreciated. </p>
  
  <p>Python code to call the bash script</p>
  
  <pre><code>import os
  
  import sys
  
  os.system("pwd")
  
  os.system("./newuser1.list" )
  </code></pre>