file_db = open('DataBaseUserID.db', 'rb')
file_db.close()
gauth = GoogleAuth()
auth_url = gauth.CommandLineAuth()
drive = GoogleDrive(gauth)
file_list = drive.ListFile({'q': "path_folder in parents and trashed=false"}).GetList()
file_obj = drive.CreateFile({'id': file_list[0]['id']})
file_obj.Trash()
file_obj = drive.CreateFile({'title': 'DataBaseUserID.db', 'mimeType': 'text/txt',
"parents": [
{"kind": "drive#fileLink", "id": path_folder}]})
file_obj.SetContentFile('DataBaseUserID.db')
file_obj.Upload()