Files
aza/AzA march 2026/_local_diagnostic_artifacts/_extract_poll_mixin.py

21 lines
527 B
Python
Raw Normal View History

2026-06-13 22:47:31 +02:00
# One-off extractor
from pathlib import Path
src = Path("basis14.py").read_text(encoding="utf-8").splitlines()
a, b = 10302, 10490
chunks = src[a - 1 : b]
header = '''# -*- coding: utf-8 -*-
"""Gemeinsame Nachrichten-Poll- und Popup-Helfer fuer Office- und Chat-Host."""
from __future__ import annotations
import threading
import time
import requests
class EmpfangHostPollMixin:
'''
Path("aza_empfang_host_poll.py").write_text(header + "\n".join(chunks) + "\n", encoding="utf-8")
print("poll mixin", len(chunks), "lines")