On this page
imaplib.Int2AP
Prev: imaplib.IMAP4_stream | Up: imaplib | Next: imaplib.Internaldate2tuple
Rel: imaplib.IMAP4, imaplib.IMAP4_SSL, imaplib.IMAP4_stream, imaplib.Internaldate2tuple
Ref: docs.python.org — imaplib.Int2AP
Tags: #public #python3 #stdlib #imaplib
Import
import imaplib
from imaplib import Int2AP
Signature & Overview
imaplib.Int2AP(num)
Convert integer to A-P string representation.
Usage
import imaplib
assert imaplib.Int2AP(0) == b"A" and imaplib.Int2AP(16) == b"BA"
Gotchas
- Internal tag encoder converting integers into base-16
A..PIMAP command tags.
REPL Inspect
from imaplib import Int2AP
help(Int2AP)
Linked from
- tuts/python3/stdlib_module/imaplib
- tuts/python3/stdlib_module/imaplib/IMAP4
- tuts/python3/stdlib_module/imaplib/IMAP4_SSL
- tuts/python3/stdlib_module/imaplib/IMAP4_stream
- tuts/python3/stdlib_module/imaplib/Internaldate2tuple
- tuts/python3/stdlib_module/imaplib/ParseFlags
- tuts/python3/stdlib_module/imaplib/Time2Internaldate
Related notes
- tuts/python3/stdlib_module/imaplib/IMAP4 Linked here; links to this page; shared tags: #imaplib, #stdlib
- tuts/python3/stdlib_module/imaplib/IMAP4_SSL Linked here; links to this page; shared tags: #imaplib, #stdlib
- tuts/python3/stdlib_module/imaplib/IMAP4_stream Linked here; links to this page; shared tags: #imaplib, #stdlib
- tuts/python3/stdlib_module/imaplib/Internaldate2tuple Linked here; links to this page; shared tags: #imaplib, #stdlib
- tuts/python3/stdlib_module/imaplib Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/imaplib/ParseFlags links to this page; shared tags: #imaplib, #stdlib
- tuts/python3/stdlib_module/imaplib/Time2Internaldate links to this page; shared tags: #imaplib, #stdlib
- tuts/c/stdlib shared tags: #stdlib
- tuts/c/stdlib/assert shared tags: #stdlib
- tuts/c/stdlib/assert/assert shared tags: #stdlib