fork download
  1. class CrudRegionalSPC:
  2. class CrudTabelaDados:
  3. @staticmethod
  4. def select():
  5. print("select")
  6.  
  7. @staticmethod
  8. def delete():
  9. print("delete")
  10.  
  11.  
  12. crud_regionalspc = CrudRegionalSPC()
  13.  
  14. # como eu gostaria que funcionasse
  15. crud_regionalspc.CrudTabelaDados.select() # select
Success #stdin #stdout 0.02s 9144KB
stdin
Standard input is empty
stdout
select