• Spot The Syntax Error (Posting On Python-List Prohibited)

    From Lawrence D'Oliveiro@21:1/5 to All on Thu Nov 21 01:11:29 2024
    We’ve all seen it happen: some small screwup in the whitespace when
    posting some Python code online turns the code into gibberish.

    Here’s another example: <https://www.tomshardware.com/raspberry-pi/raspberry-pi-pico/how-to-send-and-receive-bluesky-posts-with-a-raspberry-pi-pico-w>.
    Luckily, this is a small mistake, and it should be easy to guess what
    the correct code is.

    (Actually, there might be a second mistake, though this one affects
    the logic rather than the syntax.)

    This is yet another reason why I like to put “#end” comments in my
    code: they provide some extra redundancy, which makes it easier to
    recover from mistakes like this.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)