title: How to structure a multi-file Python app
body: <p>Using Python 2.7, I have a large class object, in a single file, I want to break into multiple files by groups or related functions.  For example, I have "class API(object)", and I would like to have separate Python files for all user methods (add user, update user, delete user) and a separate Python file for all order methods (create order, update order, delete order).  But this separation should not be known to the end-user, such as:</p>
  
  <pre><code>z = test.api()                __init__.py
  z.adduser(jeff)               user.py
  z.createOrder(65, "jeff")     orders.py
  z.showOpenOrders("jeff")      orders.py
  z.completeOrder()             orders.py
  z.emailUser("Jeff")           email.py
  </code></pre>
  
  <p>I have been searching for "extending python class", but I don't believe I am searching using the right term.  Please help.</p>