applied python code regulation for names