I've tried using py_compile to get me some bytecode examples (for learning needs).
However, this is what I get
file.py:
print("hello world")
file.pyc:
U
��Ob � @ s e d � dS )zhello worldN)�print� r r �test.py�<module> �
I guess I'm doing something terribly wrong, but I have no clue.
My base script is
import py_compile
py_compile.compile('test.py')
importing it as a module.