• taaz@biglemmowski.win
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    Not necessarily a trick that’s always useful but I always forget this.
    You can get async REPL by calling python -m asyncio.

    Also, old trick - in need of simple http server serving static files?
    python -m http.server

    • amenji@programming.dev
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      5 months ago

      Using http.server is my go-to sanity check method if my configured my network firewall correctly or not.