- import model
- if __name__ == '__main__':
- user_id = model.get_user_id_by_name(input('Which user?'))
- if input('Are you sure you want to delete user with id ' + str(
- user_id) + '? (type in "yes" or something else):') == 'yes':
- model.delete_user(user_id=user_id)
- else:
- print('Not deleting user')
- model.cleanup()
|