where the module is used in the program you'll also avoid the potential naming conflicts that can arise when you import every class in module importing module into module sometimes you'll want to spread out your classes over several modules to keep any one file from growing too large and avoid storing unrelated classes in the same module when you store your classes in several modulesyou may find that class in one module depends on class in another module when this happensyou can import the required class into the first module for examplelet' store the car class in one module and the electriccar and battery classes in separate module we'll make new module called electric_car py--replacing the electric_car py file we created earlier--and copy just the battery and electriccar classes into this fileelectric_car py """ set of classes that can be used to represent electric cars "" from car import car class battery()--snip-class electriccar(car)--snip-the class electriccar needs access to its parent class carso we import car directly into the module at if we forget this linepython will raise an error when we try to make an electriccar instance we also need to update the car module so it contains only the car classcar py """ class that can be used to represent car ""class car()--snip-now we can import from each module separately and create whatever kind of car we needmy_cars py from car import car from electric_car import electriccar my_beetle car('volkswagen''beetle' print(my_beetle get_descriptive_name()my_tesla electriccar('tesla''roadster' print(my_tesla get_descriptive_name()classes