learning c and python while creating a gui with a "database"