Skip to content

Instantly share code, notes, and snippets.

View davvid's full-sized avatar

David Aguilar davvid

  • Walt Disney Animation Studios
  • Los Angeles
View GitHub Profile
@davvid
davvid / send-gmail.py
Created June 30, 2011 03:54
Send an email through gmail with python
#!/usr/bin/python
"""
send an email through gmail
Save this script to send-gmail.py,
place the body of the email in email_message.txt,
and then run:
python send-gmail.py \
--wait 5 \
@davvid
davvid / qt-mime-viewer.py
Created February 13, 2023 09:38
qtpy-based mimedata drop+drop debugging tool
#!/usr/bin/env python3
from __future__ import absolute_import, division, unicode_literals
import sys
from pprint import pprint
from qtpy import QtCore
from qtpy import QtGui
from qtpy import QtWidgets
from qtpy.QtCore import Qt