title: How to check if a variable is an integer or a string?
body: <p>I have an application that has a couple of commands.
  When you type a certain command, you have to type in additional info about something/someone.
  Now that info has to be strictly an integer or a string, depending on the situation.</p>
  
  <p>However, whatever you type into Python using raw_input() actually is a string, no matter what, so more specifically, how would I shortly and without try...except see if a variable is made of digits or characters?</p>