GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — circuitpython/runtime.py at main · adafruit/circuitpython Expand file tree/ Copy pathruntime.pyMore file actions 11 lines (10 loc) · 359 Bytes / Copy pathruntime.pyFile metadata and controls11 lines (10 loc) · 359 Bytes 1 2 3 4 5 6 7 8 9 10 11 import pathlib paths = pathlib.Path(".").glob("**/*.c") translate_h = '#include "supervisor/shared/translate/translate.h"' for p in paths: if "esp-idf" in p: continue lines = p.read_text().split("\n") if '#include "py/runtime.h"' in lines and translate_h in lines: lines.remove(translate_h) p.write_text("\n".join(lines)) |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |