{
  "id": "python-runpy-table",
  "kind": "table",
  "slug": "python-runpy",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/python-runpy/",
  "title": "runpy locates and runs modules without importing them first. (cheat table)",
  "columns": [
    "topic",
    "fact",
    "source_id"
  ],
  "rows": [
    {
      "topic": "C1",
      "fact": "runpy locates and runs modules without importing them first.",
      "source_id": "S1"
    },
    {
      "topic": "C2",
      "fact": "Its main use is to implement the -m command line switch.",
      "source_id": "S1"
    },
    {
      "topic": "C3",
      "fact": "It is not a sandbox; code runs in the current process.",
      "source_id": "S1"
    },
    {
      "topic": "C4",
      "fact": "run_module executes a module and returns its globals dictionary.",
      "source_id": "S2"
    }
  ],
  "related_slugs": [
    "python-webbrowser",
    "python-sysconfig"
  ],
  "license": "CC-BY-4.0",
  "as_of": "2026-11-23",
  "status": "draft"
}
