title: Database: Check data type by python using cx_oracle
body: <p>For example, if I have following code:</p>
  
  <pre><code>#people( sin, name, height,weight,eyecolor, haircolor,addr,gender,birthday )
  sin = input("sin ----&gt;")  
  gender = input("gender ----&gt;")
  </code></pre>
  
  <p>I need check whether 'sin' is an integer or say, a 'INT' in oracle data type.</p>
  
  <p>And whether gender is f or m.</p>
  
  <p>How can I do this? Is there any different way from:</p>
  
  <pre><code>while gender != 'f' or gender != 'm':
      gender = input("gender ----&gt;")
  </code></pre>
  
  <p>The two attributes above will be insert into my database by SQL statement</p>
  
  <p>I am using cx_Oracle</p>