 .  GoF  Python, C++23, Rust  Java
 


          ,        .   ,         .      CSV, JSON  Excel    .  GoF   Python, C++23, Rust  Java,     .





 .  GoF  Python, C++23, Rust  Java








        (Template Method).       (Gang of Four, GoF).       :  Python, C++23, Rust  Java.      :     ,  , ,     .




 


     :        .     ,    1.2      ,   .




 22.   Python





22.1.    


   CSV, JSON  Excel  :  ,  ,  , ,  .    ,  , .     ,      ,       .

       ,     .      ,     ,  .  :

    ;

     ( ),      .

       ,   :          .   unittest.TestCase (setUp ?  ? tearDown), threading.Thread.run, socketserver.BaseRequestHandler   .




22.2.   











Abstract Class      .

Concrete Class  .




22.3.  :  


 01_importers.py:










 22.1  :  










 22.1 ()  :  

.run   : , , , , , .  CSV    .  JSON    ( super(),   )    . @abstractmethod    ,   read.




  .


   .

   ,     (https://www.litres.ru/book/aleksey-primak/shablonnyi-metod-pattern-gof-na-python-c-23-rust-i-java-74810683/)  .

      Visa, MasterCard, Maestro,    ,   ,     ,  PayPal, WebMoney, ., QIWI ,       .


