import os, zipfile # Create plugin folder plugin_dir = "/mnt/data/AutoNewsGPT-SMS" os.makedirs(plugin_dir, exist_ok=True) php_code = """""" # Save plugin file with open(os.path.join(plugin_dir, "autonewsgpt.php"), "w") as f: f.write(php_code) # Create zip zip_path = "/mnt/data/AutoNewsGPT-SMS.zip" with zipfile.ZipFile(zip_path, "w") as zipf: for root, dirs, files in os.walk(plugin_dir): for file in files: filepath = os.path.join(root, file) arcname = os.path.relpath(filepath, os.path.dirname(plugin_dir)) zipf.write(filepath, arcname) zip_path Portal ABC - Seu Portal de Notícias no Grande ABC Paulista


COLUNAS
A opinião dos autores nesta sessão não reflete necessariamente a opinião do Portal ABC.