There are two ways you can do this. Both rely on typeKeywords. When you create a View, I believe a type keyword is automatically attached to it (this is true in the UI, at least).
You can do something like this with your query string to filter out views:
the_query = "NOT typekeywords:View Service AND owner:youruser"
Or, in your loop you can use Item.typeKeywords to isolate views if you need to do further manipulations. The typeKeywords property for a view should be equal to a list like so:
['ArcGIS Server',
'Data',
'Feature Access',
'Feature Service',
'Service',
'Singlelayer',
'Hosted Service',
'View Service']
So, you can do: if "View Service" in item.typeKeywords do this or that.