Simple function for python modeline setting