fukurou's latest activity

  • 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()...
  • fukurou
    import asyncio async def input_loop(): while True: print("Waiting for input...") await asyncio.sleep(2) # Pauses...
  • fukurou
    fukurou updated their status.
  • fukurou
    fukurou replied to the thread 👨‍💻 dev burp.
    import os from pygame import mixer class UltraLeanVoiceSkill(Skill): def __init__(self): super().__init__()...
  • fukurou
    fukurou replied to the thread 👨‍💻 dev burp.
    import os from pygame import mixer class CachedVoiceSkill(Skill): def __init__(self): super().__init__()...
  • fukurou
    fukurou posted the thread 👨‍💻 dev burp in chit chat.
    import os from pygame import mixer class UltraVoiceSkill(Skill): def __init__(self): super().__init__()...
  • fukurou
    fukurou replied to the thread nappy code.
    class DiEvent(Skill): def __init__(self): super().__init__() self.event_hour = 19 # 7 PM...
  • fukurou
    fukurou replied to the thread nappy code.
  • fukurou
    fukurou replied to the thread nappy code.
    last working new ver: class DiEvent(Skill): def __init__(self): super().__init__() self.event_hour = 19 # 7 PM...
Top