Latest activity

  • fukurou
    fukurou replied to the thread LDAR mega thread.
  • fukurou
    fukurou posted the thread LDAR mega thread in chit chat.
  • the living tribunal
    the living tribunal replied to the thread Method completion.
    class MyClass: def first_method(self): pass def second_method(self): pass my_attribute = "Hello" def __dir__(self)...
  • the living tribunal
    class MyClass: def first_method(self): pass def second_method(self): pass def __dir__(self): return...
  • fukurou
    class Example: def __init__(self): self.some_attr = 42 obj = Example() # Check if 'some_attr' exists as an attribute in...
  • fukurou
    fukurou updated their status.
  • fukurou
    fukurou updated their status.
  • fukurou
    fukurou updated their status.
  • fukurou
    fukurou replied to the thread doc string maxing.
    Docstrings are used to document Python methods, and when defining methods inside a class, they can also include **parameters** to...
  • fukurou
    fukurou replied to the thread doc string maxing.
    How Docstrings Appear in PyCharm: Autocomplete Popup: When you type the name of a method and open parentheses (Calculator.add()...
  • fukurou
    fukurou posted the thread doc string maxing in chit chat.
    In Python, docstrings can be used in methods just like functions, but they belong to a **class** and describe how the method works...
  • fukurou
    fukurou replied to the thread 👨‍💻 dev loop jizz up.
    import sched import time from livingrimoire import Brain, DiHelloWorld, DiSysOut def tick(scheduler): """Runs at intervals without...
  • fukurou
    fukurou replied to the thread 👨‍💻 dev loop jizz up.
    import sched import time from livingrimoire import Brain, DiHelloWorld, DiSysOut scheduler = sched.scheduler(time.time, time.sleep)...
  • fukurou
    fukurou replied to the thread 👨‍💻 dev loop jizz up.
    import asyncio from livingrimoire import Brain, DiHelloWorld, DiSysOut async def main_loop(): brain = Brain()...
  • fukurou
    fukurou replied to the thread 👨‍💻 dev loop jizz up.
    import time from livingrimoire import Brain, DiHelloWorld, DiSysOut if __name__ == '__main__': brain = Brain()...
Top