title: IDLE import subprocess SyntaxError but not in Python3 in Terminal with Mac OSX
body: <p>The following code fragment from the IDLE Python 3.7.1 Shell window on MacOS 10.11.6 causes a syntax error.<br>
  What is the solution?<br>
  The same code run in Terminal Python 2.7.10 or Python3 does not cause an error.</p>
  
  <pre><code>Python 3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 03:13:28) 
  [Clang 6.0 (clang-600.0.57)] on darwin
  Type "help", "copyright", "credits" or "license()" for more information.
  &gt;&gt;&gt; import subprocess
  from time import strftime
  import time
  SyntaxError: multiple statements found while compiling a single statement
  &gt;&gt;&gt;
  </code></pre>