title: Split a string if there is space
body: <p>Suppose i have set of inputs that contain integers separated by space or it may contain a single integer, Is there a way to take input in single line using <code>raw_input().split()</code> if space found otherwise just <code>raw_input()</code>. <strong>(In python 2.x)</strong></p>
  
  <p>For example : </p>
  
  <p><code>Input : 1 2 3 4 5</code></p>
  
  <p>In this case we can use :</p>
  
  <pre><code>     Integers=map(int,raw_input().split(' '))
  </code></pre>
  
  <p><code>Input: 2</code></p>
  
  <p>In this case  :</p>
  
  <pre><code>    Integer=int(raw_input()) 
  </code></pre>
  
  <p>Is there a way to combine these two in some pythonic way in one line?</p>