Files
  • main.py
  • code.py
main.py
1
2
3
4
5
import dis

with open('code.py') as stream:
    code = stream.read()
    print(dis.dis(code))