title: Strange Python 3 error
body: <p>I'm pretty sure all of the code is correct; I believe the error may be a mistake with the installation files.</p>
  
  <pre><code>a,b = input('Enter in format number^power: ').split('^')
  a = int (a)
  b = int (b)
  result = a**b
  print (result)
  input()
  </code></pre>
  
  <p>When I run it in IDLE it works perfectly; however, if I run the script in the the terminal, it gives me this error:</p>
  
  <pre><code>Traceback (most recent call last):
  File "C:\Users\xxx\Desktop\calculator.py", line 1, in &lt;module&gt;
  a,b = input('Enter a range: ').split('^')
  AttributeError: 'int' object has no attribute 'split'
  </code></pre>
  
  <p>What could I be doing wrong?</p>