initialize the python cart