Imported modules
|
|
import errno
import operator
import os
from os import path
import random
import re
import shutil
import stat
import string
import struct
import sys
import tempfile
import time
import traceback
from twisted.internet import tcp
from twisted.persisted import styles
from twisted.protocols import basic, protocol
from twisted.python import log, reflect
import types
|
Functions
|
|
|
|
ctcpDequote
|
ctcpDequote ( s )
|
|
ctcpExtract
|
ctcpExtract ( message )
Extract CTCP data from a string.
Returns a dictionary with two items:
'extended': a list of CTCP (tag, data) tuples
'normal': a list of strings which were not inside a CTCP delimeter
|
|
ctcpQuote
|
ctcpQuote ( s )
|
|
ctcpStringify
|
ctcpStringify ( messages )
|
|
dccDescribe
|
dccDescribe ( data )
Given the data chunk from a DCC query, return a descriptive string.
|
|
fileMove
|
fileMove ( src, dst )
Move a file.
Unlike os.rename, this works even if the source and destination
paths are on different filesystems. It does so by falling back to
copy & remove if a rename fails.
|
|
fileSize
|
fileSize ( file )
I'll try my damndest to determine the size of this file object.
|
|
lowDequote
|
lowDequote ( s )
|
|
lowQuote
|
lowQuote ( s )
|
|
parsemsg
|
parsemsg ( s )
Breaks a message from an IRC server into its prefix, command, and arguments.
|
Classes
|
|
|