title: Is it possible to concatenate several commands in python eval()?
body: <p>I would like to <code>eval(open('file1').readline())</code> and write this line to another file like: <code>eval(open('file1').readline().write('file2'))</code> but this obviously does not work, because one must open <code>file2</code> before writting on it.</p>
  
  <p>So is it possible to concatenate commands in <code>eval()</code>?</p>
  
  <p>Thanks</p>