I'am trying to use my python code in latex using \usepackage{pythonhighlight} and \usepackage[utf8]{inputenc} but i am getting this error ! LaTeX Error: Invalid UTF-8 byte sequence (�\expandafter), my comments seem to be the problem, but I don't know what to do. ( i use texmaker and Miktex)
I also tried using lstlisting but this also did not work