Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(16)  |  Call(10)  |  Derive(0)  |  Import(6)

src/w/i/willie-4.3.0/willie/modules/seen.py   willie(Download)
import time
import datetime
from willie.tools import Ddict, Nick, get_timezone, format_time
from willie.module import commands, rule, priority
 
seen_dict = Ddict(dict)

src/w/i/willie-HEAD/willie/modules/seen.py   willie(Download)
import time
import datetime
from willie.tools import Ddict, Nick, get_timezone, format_time
from willie.module import commands, rule, priority
 
seen_dict = Ddict(dict)

src/w/i/willie-4.3.0/willie/modules/meetbot.py   willie(Download)
from willie.modules.url import find_title
from willie.module import example, commands, rule, priority
from willie.tools import Ddict, Nick
import codecs
 
        config.interactive_add('meetbot', 'meeting_log_baseurl', "Base URL for the meeting logs directory (eg. http://example.com/logs)")
 
meetings_dict = Ddict(dict)  # Saves metadata about currently running meetings
"""
meetings_dict is a 2D dict.
        except Exception as e:
            bot.say("Can't create log directory for this channel, meeting not started!")
            meetings_dict[trigger.sender] = Ddict(dict)
            raise
            return
    logplain('Meeting ended by %s, total meeting length %d seconds' % (trigger.nick, meeting_length), trigger.sender)
    bot.say('Meeting minutes: ' + htmllog_url)
    meetings_dict[trigger.sender] = Ddict(dict)
    del meeting_actions[trigger.sender]
 

src/w/i/willie-HEAD/willie/modules/meetbot.py   willie(Download)
from willie.modules.url import find_title
from willie.module import example, commands, rule, priority
from willie.tools import Ddict, Nick
import codecs
 
        config.interactive_add('meetbot', 'meeting_log_baseurl', "Base URL for the meeting logs directory (eg. http://example.com/logs)")
 
meetings_dict = Ddict(dict)  # Saves metadata about currently running meetings
"""
meetings_dict is a 2D dict.
        except Exception as e:
            bot.say("Can't create log directory for this channel, meeting not started!")
            meetings_dict[trigger.sender] = Ddict(dict)
            raise
            return
    logplain('Meeting ended by %s, total meeting length %d seconds' % (trigger.nick, meeting_length), trigger.sender)
    bot.say('Meeting minutes: ' + htmllog_url)
    meetings_dict[trigger.sender] = Ddict(dict)
    del meeting_actions[trigger.sender]
 

src/n/a/nashdevbot-HEAD/modules/seen.py   nashdevbot(Download)
import datetime
import pytz
from willie.tools import Ddict, Nick
 
seen_dict=Ddict(dict)

src/w/i/willie-extras-HEAD/bucket.py   willie-extras(Download)
import os
from collections import deque
from willie.tools import Ddict
seed()
 
    inhibit_reply = ''  # Used to inhibit reply of an error message after teaching a factoid
    last_teach = {}
    last_lines = Ddict(dict)  # For quotes.
    inventory = None
    shut_up = []