title: How to make a .py script readable by another python script?
body: <p>I want to build a program (in Python) which is analysing other Python scripts. Therefor I need a way to make .py-files readable for a Python program.</p>
  
  <p>I thought about simply converting .py to .txt and then using .startswith and .find methods. Is there a way to convert .py to .txt? </p>
  
  <p>Also feel free to tell other ways for analysing. Important is that structures like if-statements or loops and indentation-levels get figured out.</p>