title: How to get functions from a python file without import
body: <p>I'm making a program that detects python files and reads their classes and functions for then to be called. How do I list the functions from another python file without importing it? and how do I call them?</p>
  
  <p>Structure of the program:</p>
  
  <ul>
  <li>Index.py (main py file)</li>
  <li>/Content
  
  <ul>
  <li>/Modules
  
  <ul>
  <li>Modules.py</li>
  <li>ChickenModule.py (module I want to get functions from)</li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p>Modules.py list all the python files from /Modules and stores them on a list.
  Index.py calls the functions in Modules.py (Just to keep things less messy)</p>
  
  <p>ChickenModule.py has a Class named ChickenStuff that prints "I'm a chicken" whenever it's <code>self.(something)</code> called.</p>
  
  <p>The goal of the program is for the user to be able to put .py files in modules and when running index.py the functions and classes of said .py files will be listed.</p>