python interface for cc complete