   Python code organization?
  Can I split up my code into multiple files in Python? I want to define one of my classes and several functions in a separate file. I'm familiar with how it's done in C++, but can someone give me a quick explanation of how this is done with Python?Thanks in advance for the help.   
  If you have some other file, like:foo.py:class Bar:    def __init__(self):  ...You can use it like:import foob = foo.Bar()Or:from foo import Barb = Bar()Or:from foo import *b = Bar()If you want to include files from other directories, add those directories to sys.path.   ;  OK, thanks for the help!   ;  Please refer to the documentation on Python modules for further details.   