Create twresource.py