⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 python.def

📁 是一个很好的编辑器
💻 DEF
📖 第 1 页 / 共 5 页
字号:
doctest._isclass(|) 
;
[doctest._isfunction |G  Return true if the object is a user-defined function.]
doctest._isfunction(|) 
;
[doctest._ismodule |G  Return true if the object is a module.]
doctest._ismodule(|) 
;
[doctest._run_examples |G ]
doctest._run_examples(|examples, globs, verbose, name, compileflags)
;
[doctest._run_examples_inner |G {function}]
doctest._run_examples_inner(|) 
;
[doctest._tag_out |G ]
doctest._tag_out(|printer, *tag_msg_pairs)
;
[doctest._test |G ]
doctest._test(|)
;
[doctest.is_private |G  prefix, base -> true iff name prefix + "." + base is "private".]
doctest.is_private(|prefix, base) 
;
[doctest.run_docstring_examples |G  f, globs, verbose=0, name="NoName" -> run examples from f.__doc__.]
doctest.run_docstring_examples(|) 
;
[doctest.testmod |G  m, name=None, globs=None, verbose=None, isprivate=None, report=1]
doctest.testmod(|) 
;
[dospath.abspath |G  Return an absolute path.]
dospath.abspath(|path) 
;
[dospath.basename |G  Return the tail (basename) part of a path.]
dospath.basename(|p) 
;
[dospath.commonprefix |G  Return the longest prefix of all list elements.]
dospath.commonprefix(|m) 
;
[dospath.dirname |G  Return the head (dirname) part of a path.]
dospath.dirname(|p) 
;
[dospath.exists |G  Does a path exist?]
dospath.exists(|path) 
;
[dospath.expanduser |G  Expand paths beginning with '~' or '~user'.]
dospath.expanduser(|path) 
;
[dospath.expandvars |G  Expand paths containing shell variable substitutions.]
dospath.expandvars(|path) 
;
[dospath.getatime |G  Return the last access time of a file, reported by os.stat().]
dospath.getatime(|filename) 
;
[dospath.getmtime |G  Return the last modification time of a file, reported by os.stat().]
dospath.getmtime(|filename) 
;
[dospath.getsize |G  Return the size of a file, reported by os.stat().]
dospath.getsize(|filename) 
;
[dospath.isabs |G  Return whether a path is absolute.]
dospath.isabs(|s) 
;
[dospath.isdir |G  Is a path a dos directory?]
dospath.isdir(|path) 
;
[dospath.isfile |G  Is a path a regular file?]
dospath.isfile(|path) 
;
[dospath.islink |G  Is a path a symbolic link?]
dospath.islink(|path) 
;
[dospath.ismount |G  Is a path a mount point?]
dospath.ismount(|path) 
;
[dospath.join |G  Join two (or more) paths.]
dospath.join(|a, *p) 
;
[dospath.normcase |G  Normalize the case of a pathname.]
dospath.normcase(|s) 
;
[dospath.normpath |G  Normalize a path, e.g. A//B, A/./B and A/foo/../B all become A/B.]
dospath.normpath(|path) 
;
[dospath.realpath |G  Return an absolute path.]
dospath.realpath(|) 
;
[dospath.split |G  Split a path into head (everything up to the last '/') and tail]
dospath.split(|p) 
;
[dospath.splitdrive |G  Split a path into a drive specification (a drive letter followed]
dospath.splitdrive(|p) 
;
[dospath.splitext |G  Split a path into root and extension.]
dospath.splitext(|p) 
;
[dospath.walk |G  Directory tree walk with callback function.]
dospath.walk(|top, func, arg) 
;
[dumbdbm._Database |G ]
dumbdbm._Database(|file, mode)
;
[dumbdbm.error |G  I/O operation failed.]
dumbdbm.error(|) 
;
[dumbdbm.open |G  Open the database file, filename, and return corresponding object.]
dumbdbm.open(|file, flag=None, mode=0666) 
;
[email.Charset.Charset |G  Map character sets to their email properties.]
email.Charset.Charset(|input_charset=DEFAULT_CHARSET) 
;
[email.Charset._isunicode |G ]
email.Charset._isunicode(|s)
;
[email.Charset.add_alias |G  Add a character set alias.]
email.Charset.add_alias(|alias, canonical) 
;
[email.Charset.add_charset |G  Add character set properties to the global registry.]
email.Charset.add_charset(|charset, header_enc=None, body_enc=None, output_charset=None) 
;
[email.Charset.add_codec |G  Add a codec that map characters in the given charset to/from Unicode.]
email.Charset.add_codec(|charset, codecname) 
;
[email.Charset.encode_7or8bit |G  Set the Content-Transfer-Encoding header to 7bit or 8bit.]
email.Charset.encode_7or8bit(|) 
;
[email.Encoders._bencode |G ]
email.Encoders._bencode(|s)
;
[email.Encoders._encodestring |G {function}]
email.Encoders._encodestring(|) 
;
[email.Encoders._qencode |G {function}]
email.Encoders._qencode(|) 
;
[email.Encoders.encode_7or8bit |G  Set the Content-Transfer-Encoding header to 7bit or 8bit.]
email.Encoders.encode_7or8bit(|msg) 
;
[email.Encoders.encode_base64 |G  Encode the message's payload in Base64.]
email.Encoders.encode_base64(|msg) 
;
[email.Encoders.encode_noop |G  Do nothing.]
email.Encoders.encode_noop(|msg) 
;
[email.Encoders.encode_quopri |G  Encode the message's payload in quoted-printable.]
email.Encoders.encode_quopri(|msg) 
;
[email.Errors.BoundaryError |G  Couldn't find terminating boundary.]
email.Errors.BoundaryError(|) 
;
[email.Errors.HeaderParseError |G  Error while parsing headers.]
email.Errors.HeaderParseError(|) 
;
[email.Errors.MessageError |G  Base class for errors in the email package.]
email.Errors.MessageError(|) 
;
[email.Errors.MessageParseError |G  Base class for message parsing errors.]
email.Errors.MessageParseError(|) 
;
[email.Errors.MultipartConversionError |G  Conversion to a multipart is prohibited.]
email.Errors.MultipartConversionError(|) 
;
[email.Generator.DecodedGenerator |G  Generator a text representation of a message.]
email.Generator.DecodedGenerator(|outfp, mangle_from_=True, maxheaderlen=78, fmt=None) 
;
[email.Generator.Generator |G  Generates output from a Message object tree.]
email.Generator.Generator(|outfp, mangle_from_=True, maxheaderlen=78) 
;
[email.Generator.Header |G {class}]
email.Generator.Header(|) 
;
[email.Generator.StringIO |G -- Return a StringIO-like stream for reading or writing]
email.Generator.StringIO(|[s]) 
;
[email.Generator._is8bitstring |G ]
email.Generator._is8bitstring(|s)
;
[email.Generator._isstring |G {function}]
email.Generator._isstring(|) 
;
[email.Generator._make_boundary |G ]
email.Generator._make_boundary(|text=None)
;
[email.Header.Charset |G  Map character sets to their email properties.]
email.Header.Charset(|) 
;
[email.Header.Header |G {class}]
email.Header.Header(|) 
;
[email.Header._floordiv |G  Do a floor division, i/j.]
email.Header._floordiv(|) 
;
[email.Header._max_append |G {function}]
email.Header._max_append(|) 
;
[email.Header.decode_header |G  Decode a message header value without converting charset.]
email.Header.decode_header(|header) 
;
[email.Header.make_header |G  Create a Header from a sequence of pairs as returned by decode_header()]
email.Header.make_header(|) 
;
[email.Iterators._structure |G  A handy debugging aid]
email.Iterators._structure(|msg, fp=None, level=0) 
;
[email.Iterators.body_line_iterator |G  Iterate over the parts, returning string payloads line-by-line.]
email.Iterators.body_line_iterator(|) 
;
[email.Iterators.typed_subpart_iterator |G  Iterate over the subparts with a given MIME type.]
email.Iterators.typed_subpart_iterator(|) 
;
[email.MIMEAudio.MIMEAudio |G  Class for generating audio/* MIME documents.]
email.MIMEAudio.MIMEAudio(|) 
;
[email.MIMEAudio.MIMENonMultipart |G  Base class for MIME multipart/* type messages.]
email.MIMEAudio.MIMENonMultipart(|) 
;
[email.MIMEAudio.StringIO |G -- Return a StringIO-like stream for reading or writing]
email.MIMEAudio.StringIO(|[s]) 
;
[email.MIMEAudio._whatsnd |G  Try to identify a sound file type.]
email.MIMEAudio._whatsnd(|data) 
;
[email.MIMEBase.MIMEBase |G  Base class for MIME specializations.]
email.MIMEBase.MIMEBase(|_maintype, _subtype, **_params) 
;
[email.MIMEImage.MIMEImage |G  Class for generating image/* type MIME documents.]
email.MIMEImage.MIMEImage(|) 
;
[email.MIMEImage.MIMENonMultipart |G  Base class for MIME multipart/* type messages.]
email.MIMEImage.MIMENonMultipart(|) 
;
[email.MIMEMessage.MIMEMessage |G  Class representing message/* MIME documents.]
email.MIMEMessage.MIMEMessage(|_msg, _subtype='rfc822') 
;
[email.MIMEMessage.MIMENonMultipart |G  Base class for MIME multipart/* type messages.]
email.MIMEMessage.MIMENonMultipart(|) 
;
[email.MIMEMultipart.MIMEMultipart |G  Base class for MIME multipart/* type messages.]
email.MIMEMultipart.MIMEMultipart(|_subtype='mixed', boundary=None, *_subparts, **_params) 
;
[email.MIMENonMultipart.MIMENonMultipart |G  Base class for MIME multipart/* type messages.]
email.MIMENonMultipart.MIMENonMultipart(|) 
;
[email.MIMEText.MIMENonMultipart |G  Base class for MIME multipart/* type messages.]
email.MIMEText.MIMENonMultipart(|) 
;
[email.MIMEText.MIMEText |G  Class for generating text/* type MIME documents.]
email.MIMEText.MIMEText(|) 
;
[email.MIMEText.encode_7or8bit |G  Set the Content-Transfer-Encoding header to 7bit or 8bit.]
email.MIMEText.encode_7or8bit(|) 
;
[email.Message.Message |G  Basic message object.]
email.Message.Message(|) 
;
[email.Message.StringIO |G -- Return a StringIO-like stream for reading or writing]
email.Message.StringIO(|[s]) 
;
[email.Message._formatparam |G  Convenience function to format and return a key=value pair.]
email.Message._formatparam(|param, value=None, quote=True) 
;
[email.Message._unquotevalue |G ]
email.Message._unquotevalue(|value)
;
[email.Parser.HeaderParser |G  A subclass of Parser, this one only meaningfully parses message headers.]
email.Parser.HeaderParser(|) 
;
[email.Parser.Parser |G ]
email.Parser.Parser(|_class=Message.Message, strict=False)
;
[email.Parser.StringIO |G -- Return a StringIO-like stream for reading or writing]
email.Parser.StringIO(|[s]) 
;
[email.Utils.StringIO |G -- Return a StringIO-like stream for reading or writing]
email.Utils.StringIO(|[s]) 
;
[email.Utils._AddressList |G  An AddressList encapsulates a list of parsed RFC 2822 addresses.]
email.Utils._AddressList(|) 
;
[email.Utils._bdecode |G ]
email.Utils._bdecode(|s)
;
[email.Utils._bencode |G {function}]
email.Utils._bencode(|) 
;
[email.Utils._identity |G ]
email.Utils._identity(|s)
;
[email.Utils._parsedate |G  Convert a time string to a time tuple.]
email.Utils._parsedate(|) 
;
[email.Utils._parsedate_tz |G  Convert a date string to a time tuple.]
email.Utils._parsedate_tz(|) 
;
[email.Utils._qdecode |G {function}]
email.Utils._qdecode(|) 
;
[email.Utils._qencode |G {function}]
email.Utils._qencode(|) 
;
[email.Utils.decode |G  Return a decoded string according to RFC 2047, as a unicode string.]
email.Utils.decode(|s) 
;
[email.Utils.decode_params |G  Decode parameters list according to RFC 2231.]
email.Utils.decode_params(|params) 
;
[email.Utils.decode_rfc2231 |G  Decode string according to RFC 2231]
email.Utils.decode_rfc2231(|s) 
;
[email.Utils.dump_address_pair |G ]
email.Utils.dump_address_pair(|pair)
;
[email.Utils.encode |G  Encode a string according to RFC 2047.]
email.Utils.encode(|s, charset='iso-8859-1', encoding='q') 
;
[email.Utils.encode_rfc2231 |G  Encode string according to RFC 2231.]
email.Utils.encode_rfc2231(|s, charset=None, language=None) 
;
[email.Utils.fix_eols |G  Replace all line-ending characters with]
email.Utils.fix_eols(|s) 
;
[email.Utils.formataddr |G  The inverse of parseaddr(), this takes a 2-tuple of the form]
email.Utils.formataddr(|pair) 
;
[email.Utils.formatdate |G  Returns a date string as specified by RFC 2822, e.g.:]
email.Utils.formatdate(|timeval=None, localtime=False) 
;
[email.Utils.getaddresses |G  Return a list of (REALNAME, EMAIL) for each fieldvalue.]
email.Utils.getaddresses(|fieldvalues) 
;
[email.Utils.make_msgid |G  Returns a string suitable for RFC 2822 compliant Message-ID, e.g:]
email.Utils.make_msgid(|idstring=None) 
;
[email.Utils.mktime_tz |G  Turn a 10-tuple as returned by parsedate_tz() into a UTC timestamp.]
email.Utils.mktime_tz(|) 
;
[email.Utils.parseaddr |G ]
email.Utils.parseaddr(|addr)
;
[email.Utils.parsedate |G ]
email.Utils.parsedate(|data)
;
[email.Utils.parsedate_tz |G ]
email.Utils.parsedate_tz(|data)
;
[email.Utils.quote |G  Add quotes around a string.]
email.Utils.quote(|) 
;
[email.Utils.unquote |G  Remove quotes from a string.]
email.Utils.unquote(|str) 
;
[email._compat21.StringIO |G -- Return a StringIO-like stream for reading or writing]
email._compat21.StringIO(|[s]) 
;
[email._compat21._floordiv |G  Do a floor division, i/j.]
email._compat21._floordiv(|i, j) 
;
[email._compat21._isstring |G ]
email._compat21._isstring(|obj)
;
[email._compat21.body_line_iterator |G  Iterate over the parts, returning string payloads line-by-line.]
email._compat21.body_line_iterator(|msg) 
;
[email._compat21.typed_subpart_iterator |G  Iterate over the subparts with a given MIME type.]
email._compat21.typed_subpart_iterator(|msg, maintype='text', subtype=None) 
;
[email._compat21.walk |G  Walk over the message tree, yielding each subpart.]
email._compat21.walk(|self) 
;
[email._compat22.StringIO |G -- Return a StringIO-like stream for reading or writing]
email._compat22.StringIO(|[s]) 
;
[email._compat22._floordiv |G  Do a floor division, i/j.]
email._compat22._floordiv(|i, j) 
;
[email._compat22._isstring |G ]
email._compat22._isstring(|obj)
;
[email._compat22.body_line_iterator |G  Iterate over the parts, returning string payloads line-by-line.]
email._compat22.body_line_iterator(|msg) 
;
[email._compat22.typed_subpart_iterator |G  Iterate over the subparts with a given MIME type.]
email._compat22.typed_subpart_iterator(|msg, maintype='text', subtype=None) 
;
[email._compat22.walk |G  Walk over the message tree, yielding each subpart.]
email._compat22.walk(|self) 
;
[email.base64MIME._floordiv |G  Do a floor division, i/j.]
email.base64MIME._floordiv(|) 
;
[email.base64MIME.base64_len |G  Return the length of s when it is encoded with base64.]
email.base64MIME.base64_len(|s) 
;
[email.base64MIME.body_decode |G  Decode a raw base64 string.]
email.base64MIME.body_decode(|) 
;
[email.base64MIME.body_encode |G  Encode a string with base64.]
email.base64MIME.body_encode(|) 
;
[email.base64MIME.decode |G  Decode a raw base64 string.]
email.base64MIME.decode(|s, convert_eols=None) 
;
[email.base64MIME.decodestring |G  Decode a raw base64 string.]
email.base64MIME.decodestring(|) 
;
[email.base64MIME.encode |G  Encode a string with base64.]
email.base64MIME.encode(|s, binary=True, maxlinelen=76, eol=NL) 
;
[email.base64MIME.encodestring |G  Encode a string with base64.]
email.base64MIME.encodestring(|) 
;
[email.base64MIME.fix_eols |G  Replace all line-ending characters with]
email.base64MIME.fix_eols(|) 
;
[email.base64MIME.header_encode |G  Encode a single header line with Base64 encoding in a given charset.]
email.base64MIME.header_encode(|) 
;
[email.message_from_file |G  Read a file and parse its contents into a Message object model.]
email.message_from_file(|fp, _class=None, strict=False) 
;
[email.message_from_string |G  Parse a string into a Message object model.]
email.message_from_string(|s, _class=None, strict=False) 
;
[email.quopriMIME._max_append |G ]
email.quopriMIME._max_append(|L, s, maxlen, extra='')
;
[email.quopriMIME._unquote_match |G  Turn a match in the form =AB to the ASCII character with value 0xab]
email.quopriMIME._unquote_match(|match) 
;
[email.quopriMIME.body_decode |G  Decode a quoted-printable string.]
email.quopriMIME.body_decode(|) 
;
[email.quopriMIME.body_encode |G  Encode with quoted-printable, wrapping at maxlinelen characters.]
email.quopriMIME.body_encode(|) 
;
[email.quopriMIME.body_quopri_check |G  Return True if the character should be escaped with body quopri.]
email.quopriMIME.body_quopri_check(|c) 
;
[email.quopriMIME.body_quopri_len |G  Return the length of str when it is encoded with body quopri.]
email.quopriMIME.body_quopri_len(|str) 
;
[email.quopriMIME.decode |G  Decode a quoted-printable string.]
email.quopriMIME.decode(|encoded, eol=NL) 
;
[email.quopriMIME.decodestring |G  Decode a quoted-printable string.]
email.quopriMIME.decodestring(|) 
;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -