prepare a python script for updating auto complete