4337 links
  • Arnaud's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
    Type 1 or more characters for results.
    Links per page: 20 50 100
    page 1 / 1
    1 results tagged decorators x
    • thumbnail
      Regardez "Reuven M. Lerner - Practical decorators - PyCon 2019" sur YouTube

      You want to really understand decorators? Watch this video!

      boilerplate:

      import functools
      
      def decorator(func):
          @functools.wraps(func)
          def wrapper_decorator(*args, **kwargs):
              # Do something before
              value = func(*args, **kwargs)
              # Do something after
              return value
          return wrapper_decorator
      • https://realpython.com/primer-on-python-decorators/
      February 11, 2022 at 8:30:18 PM GMT+1 * - permalink - archive.org - https://youtu.be/MjHpMCIvwsY
      decorators python
    Links per page: 20 50 100
    page 1 / 1
    Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation