title: How to view MySQL formatted date and time when querying through Python?
body: <p>So I have my Python file linked to the MySQL database, and I want to query for all the values in a couple tables, which includes a DATE entry, and a TIME entry. Now when I do this in MySQL, I get nicely formatted values like this: <code>2017-07-26, 12:30:00</code></p>
  
  <p>However, when I run the python file that queries the table, I instead get these values: <code>datetime.date(2017, 7, 26), datetime.timedelta(0, 45000))</code></p>
  
  <p>How do I fix this so running the Python file returns the Date and Time values in the same format I get when I query in MySQL?</p>