Skip to content

History / Nim for Python Programmers

Revisions

  • fix: Unclosed code block

    @fasti001 fasti001 committed Aug 5, 2024
  • update subtitle of Python about Nim lib

    lit committed Jun 18, 2024
  • update url of pylib, update its desc

    lit committed Jun 18, 2024
  • Add more example of python-like Nim modules

    lit committed May 2, 2024
  • Add pseudo prefixes and path-relative about import stmt

    lit committed May 2, 2024
  • `assert` does nothing when `-d:danger` or `-a:off`, not `-d:release`

    lit committed May 2, 2024
  • btreetables is in `pkg/fusion`, no longer `std/btreetables`

    lit committed May 2, 2024
  • Add note about `fmt`/`&` can be said to be corresponding to `fr`/`f`

    lit committed May 2, 2024
  • `strutils.normalize()` bahaves differently from `unicodedata.normalize("NFC", "Foo")`

    lit committed May 2, 2024
  • Remove broken link `[pools](https://nim-lang.github.io/Nim/pools.html)`

    lit committed May 2, 2024
  • update link for `bigints`'s issue #14696, add repo link

    lit committed May 2, 2024
  • Update Nim column of `Standard Library Equivalents` (due to Nim from 1.x to 2.x)

    lit committed May 2, 2024
  • Either `"""foo"""` or `r"""foo"""` is `Multi-line Raw string` in Nim.

    lit committed May 2, 2024
  • Literal for Assigns -> literal for assignements

    @Siltaar Siltaar committed Apr 29, 2024
  • Add note about default value of function parameters

    lit committed Apr 29, 2024
  • Py's F-string suppport slash escaping chars like `\n` since 3.12

    lit committed Apr 29, 2024
  • Add note about `std/strutils` focused on ASCII only

    lit committed Apr 29, 2024
  • Remove `std/` prefix for Python code

    lit committed Apr 29, 2024
  • This segment is misinformed. Tables are not just sugar on arrays of tuples. Tables have hash access, arrays do not.

    @Spirarel Spirarel committed Mar 21, 2024
  • No one would use a ternary here. The `or` guard is much more common and "Pythonic"

    @Spirarel Spirarel committed Mar 21, 2024
  • Update

    @flalom flalom committed Nov 29, 2023
  • fix std/syncio link

    @xjzh123 xjzh123 committed Sep 3, 2023
  • Correct link about memory management

    @dblugeon dblugeon committed Aug 3, 2023
  • Remove Python's `std/` prefix when "import unittest"

    @litlighilit litlighilit committed Jun 9, 2023
  • Remove incorrect `std/` prefix in Python code-block

    @litlighilit litlighilit committed Jun 9, 2023
  • Replace `is_main_module` with `isMainModule`

    @d2weber d2weber committed May 5, 2023
  • Replace `is_main_module` with `isMainModule`

    @d2weber d2weber committed May 5, 2023
  • looks like someone accidentally a word

    @DiThi DiThi committed Apr 29, 2023
  • Updated Nim for Python Programmers (markdown)

    @stellartux stellartux committed Apr 11, 2023
  • Fix cat ref object example.

    @jyapayne jyapayne committed Mar 13, 2023