convert list to dict
remove .pyc