Recent content by the living tribunal

  1. the living tribunal

    [MEDIA]

  2. the living tribunal

    [MEDIA]

  3. the living tribunal

    [MEDIA]

  4. the living tribunal

    [MEDIA]

  5. the living tribunal

    [MEDIA]

  6. the living tribunal

    [MEDIA]

  7. the living tribunal

    [MEDIA]

  8. the living tribunal

    [MEDIA]

  9. the living tribunal

    🐍 python Price tolerance

    import re # Matches: "that will be 15.56$" (case-insensitive), captures the price _PATTERN = re.compile(r'^that will be\s+(\d+(?:\.\d{1,2})?)\$\s*$', re.IGNORECASE) def price_within_upward_tolerance(text: str, base: float = 15.56, upward_tol: float = 5.0) -> bool: """ Returns True if...
  10. the living tribunal

    [MEDIA]

  11. the living tribunal

    Method completion

    class MyClass: def first_method(self): pass def second_method(self): pass my_attribute = "Hello" def __dir__(self): return sorted(set(super().__dir__() + ['first_method', 'second_method'])) # Preserve default behavior obj = MyClass() print(dir(obj)) # Methods appear...
  12. the living tribunal

    Method completion

    class MyClass: def first_method(self): pass def second_method(self): pass def __dir__(self): return ['first_method', 'second_method'] # Custom order obj = MyClass() print(dir(obj)) # ['first_method', 'second_method'] @fukurou
  13. the living tribunal

    [MEDIA]

  14. the living tribunal

    Stt speed up idea

    @fukurou
  15. the living tribunal

    Stt speed up idea

    Brain.tl post result This skipping the think wait
Top