[Python] python: doctest my github-markdown files?

Discussão em 'Python' iniciado por Stack, Maio 6, 2025.

  1. Stack

    Stack Membro Participativo

    I'd like to run the doctests from this file, and it's not clear to me out to accomplish it:

    README.md:

    # WELCOME!

    This library is helpful and will help you in _many_ ways!

    For example:

    ```
    >>> import library
    >>> library.helps()
    True
    ```

    Continue reading...

Compartilhe esta Página