limparPY

    1

    0

    Renanka

    This code clears the console output.

    from platform import system
    import os
    
    def limpar():
      sys = system()
      if sys == 'Linux':
        os.system('clear')
      else:
        os.system('cls')
    
    limpar()
    
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.