I am quite familiar with the php but having troubles using sql in the python. In php, i used these lines to see if the query gives some result or not.
$query="SELECT ID FROM Employee WHERE user='$username' AND pass='$password'";
$query_num_rows= mysql_num_rows($query_run); //returns number of rows
Is there such codes in the python? any resources would be appreciated too. i am having a hard time in using sql in python