title: Can I use SQLPlus to execute a .sql file?
body: <p>I have a .sql file with the following code:</p>
  
  <pre><code>delete from stalist
  where stalistid=4944
  /
  insert into stalist
  (stalistid, staid)
  (select distinct 4944, staid
  from staref
  Where staid in(
  3797,3798,
  3870,4459,
  3871,3872,
  3876,3877,
  0
  ))
  /
  commit
  /
  </code></pre>
  
  <p>I would like to use Python to execute this file from SQLPlus. Is this possible? I do not have any python experience in this type of work and could use some help. Thank you!</p>