title: Why does socket.inet_ntoa returns packed format in python
body: <p>Why does socket.inet_aton returns packed format in python? </p>
  
  <p>If I am storing the IP as integer in Database (mysql), do I have to always extract the integer value or is there any easier way out?</p>