gsync.py
def delete_file(service, file_id):
    """Permanently delete a file, skipping the trash.

    Args:
      service: Drive API service instance.
      file_id: ID of the file to delete.
    """
    try:
        service.files().delete(fileId=file_id).execute()
    except errors.HttpError, error:
        print 'An error occurred: %s' % error
Permanently delete a file, skipping the trash.

    Args:
      service: Drive API service instance.
      file_id: ID of the file to delete.
    
Permanently delete a file, skipping the trash.
Permanently delete a file skipping the trash .
def delete_file(service, file_id):
    try:
        service.files().delete(fileId=file_id).execute()
    except errors.HttpError, error:
        print 'An error occurred: %s' % error
def delete_file ( service , file_id ) : try : service . files ( ) . delete ( fileId = file_id ) . execute ( ) except errors . HttpError , error : print 'An error occurred: %s' % error
Permanently delete a file, skipping the trash.
Permanently delete a file skipping the trash .
"""Permanently delete a file, skipping the trash.

    Args:
      service: Drive API service instance.
      file_id: ID of the file to delete.
    """
service
Drive API service instance.
Drive API service instance .
file_id
ID of the file to delete.
ID of the file to delete .