Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/AnonR/smanonr..../lib64/python3....
File: poplib.py
"""A POP3 client class.
[0] Fix | Delete
[1] Fix | Delete
Based on the J. Myers POP3 draft, Jan. 96
[2] Fix | Delete
"""
[3] Fix | Delete
[4] Fix | Delete
# Author: David Ascher <david_ascher@brown.edu>
[5] Fix | Delete
# [heavily stealing from nntplib.py]
[6] Fix | Delete
# Updated: Piers Lauder <piers@cs.su.oz.au> [Jul '97]
[7] Fix | Delete
# String method conversion and test jig improvements by ESR, February 2001.
[8] Fix | Delete
# Added the POP3_SSL class. Methods loosely based on IMAP_SSL. Hector Urtubia <urtubia@mrbook.org> Aug 2003
[9] Fix | Delete
[10] Fix | Delete
# Example (see the test function at the end of this file)
[11] Fix | Delete
[12] Fix | Delete
# Imports
[13] Fix | Delete
[14] Fix | Delete
import errno
[15] Fix | Delete
import re
[16] Fix | Delete
import socket
[17] Fix | Delete
import sys
[18] Fix | Delete
[19] Fix | Delete
try:
[20] Fix | Delete
import ssl
[21] Fix | Delete
HAVE_SSL = True
[22] Fix | Delete
except ImportError:
[23] Fix | Delete
HAVE_SSL = False
[24] Fix | Delete
[25] Fix | Delete
__all__ = ["POP3","error_proto"]
[26] Fix | Delete
[27] Fix | Delete
# Exception raised when an error or invalid response is received:
[28] Fix | Delete
[29] Fix | Delete
class error_proto(Exception): pass
[30] Fix | Delete
[31] Fix | Delete
# Standard Port
[32] Fix | Delete
POP3_PORT = 110
[33] Fix | Delete
[34] Fix | Delete
# POP SSL PORT
[35] Fix | Delete
POP3_SSL_PORT = 995
[36] Fix | Delete
[37] Fix | Delete
# Line terminators (we always output CRLF, but accept any of CRLF, LFCR, LF)
[38] Fix | Delete
CR = b'\r'
[39] Fix | Delete
LF = b'\n'
[40] Fix | Delete
CRLF = CR+LF
[41] Fix | Delete
[42] Fix | Delete
# maximal line length when calling readline(). This is to prevent
[43] Fix | Delete
# reading arbitrary length lines. RFC 1939 limits POP3 line length to
[44] Fix | Delete
# 512 characters, including CRLF. We have selected 2048 just to be on
[45] Fix | Delete
# the safe side.
[46] Fix | Delete
_MAXLINE = 2048
[47] Fix | Delete
[48] Fix | Delete
[49] Fix | Delete
class POP3:
[50] Fix | Delete
[51] Fix | Delete
"""This class supports both the minimal and optional command sets.
[52] Fix | Delete
Arguments can be strings or integers (where appropriate)
[53] Fix | Delete
(e.g.: retr(1) and retr('1') both work equally well.
[54] Fix | Delete
[55] Fix | Delete
Minimal Command Set:
[56] Fix | Delete
USER name user(name)
[57] Fix | Delete
PASS string pass_(string)
[58] Fix | Delete
STAT stat()
[59] Fix | Delete
LIST [msg] list(msg = None)
[60] Fix | Delete
RETR msg retr(msg)
[61] Fix | Delete
DELE msg dele(msg)
[62] Fix | Delete
NOOP noop()
[63] Fix | Delete
RSET rset()
[64] Fix | Delete
QUIT quit()
[65] Fix | Delete
[66] Fix | Delete
Optional Commands (some servers support these):
[67] Fix | Delete
RPOP name rpop(name)
[68] Fix | Delete
APOP name digest apop(name, digest)
[69] Fix | Delete
TOP msg n top(msg, n)
[70] Fix | Delete
UIDL [msg] uidl(msg = None)
[71] Fix | Delete
CAPA capa()
[72] Fix | Delete
STLS stls()
[73] Fix | Delete
UTF8 utf8()
[74] Fix | Delete
[75] Fix | Delete
Raises one exception: 'error_proto'.
[76] Fix | Delete
[77] Fix | Delete
Instantiate with:
[78] Fix | Delete
POP3(hostname, port=110)
[79] Fix | Delete
[80] Fix | Delete
NB: the POP protocol locks the mailbox from user
[81] Fix | Delete
authorization until QUIT, so be sure to get in, suck
[82] Fix | Delete
the messages, and quit, each time you access the
[83] Fix | Delete
mailbox.
[84] Fix | Delete
[85] Fix | Delete
POP is a line-based protocol, which means large mail
[86] Fix | Delete
messages consume lots of python cycles reading them
[87] Fix | Delete
line-by-line.
[88] Fix | Delete
[89] Fix | Delete
If it's available on your mail server, use IMAP4
[90] Fix | Delete
instead, it doesn't suffer from the two problems
[91] Fix | Delete
above.
[92] Fix | Delete
"""
[93] Fix | Delete
[94] Fix | Delete
encoding = 'UTF-8'
[95] Fix | Delete
[96] Fix | Delete
def __init__(self, host, port=POP3_PORT,
[97] Fix | Delete
timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
[98] Fix | Delete
self.host = host
[99] Fix | Delete
self.port = port
[100] Fix | Delete
self._tls_established = False
[101] Fix | Delete
sys.audit("poplib.connect", self, host, port)
[102] Fix | Delete
self.sock = self._create_socket(timeout)
[103] Fix | Delete
self.file = self.sock.makefile('rb')
[104] Fix | Delete
self._debugging = 0
[105] Fix | Delete
self.welcome = self._getresp()
[106] Fix | Delete
[107] Fix | Delete
def _create_socket(self, timeout):
[108] Fix | Delete
return socket.create_connection((self.host, self.port), timeout)
[109] Fix | Delete
[110] Fix | Delete
def _putline(self, line):
[111] Fix | Delete
if self._debugging > 1: print('*put*', repr(line))
[112] Fix | Delete
sys.audit("poplib.putline", self, line)
[113] Fix | Delete
self.sock.sendall(line + CRLF)
[114] Fix | Delete
[115] Fix | Delete
[116] Fix | Delete
# Internal: send one command to the server (through _putline())
[117] Fix | Delete
[118] Fix | Delete
def _putcmd(self, line):
[119] Fix | Delete
if self._debugging: print('*cmd*', repr(line))
[120] Fix | Delete
line = bytes(line, self.encoding)
[121] Fix | Delete
self._putline(line)
[122] Fix | Delete
[123] Fix | Delete
[124] Fix | Delete
# Internal: return one line from the server, stripping CRLF.
[125] Fix | Delete
# This is where all the CPU time of this module is consumed.
[126] Fix | Delete
# Raise error_proto('-ERR EOF') if the connection is closed.
[127] Fix | Delete
[128] Fix | Delete
def _getline(self):
[129] Fix | Delete
line = self.file.readline(_MAXLINE + 1)
[130] Fix | Delete
if len(line) > _MAXLINE:
[131] Fix | Delete
raise error_proto('line too long')
[132] Fix | Delete
[133] Fix | Delete
if self._debugging > 1: print('*get*', repr(line))
[134] Fix | Delete
if not line: raise error_proto('-ERR EOF')
[135] Fix | Delete
octets = len(line)
[136] Fix | Delete
# server can send any combination of CR & LF
[137] Fix | Delete
# however, 'readline()' returns lines ending in LF
[138] Fix | Delete
# so only possibilities are ...LF, ...CRLF, CR...LF
[139] Fix | Delete
if line[-2:] == CRLF:
[140] Fix | Delete
return line[:-2], octets
[141] Fix | Delete
if line[:1] == CR:
[142] Fix | Delete
return line[1:-1], octets
[143] Fix | Delete
return line[:-1], octets
[144] Fix | Delete
[145] Fix | Delete
[146] Fix | Delete
# Internal: get a response from the server.
[147] Fix | Delete
# Raise 'error_proto' if the response doesn't start with '+'.
[148] Fix | Delete
[149] Fix | Delete
def _getresp(self):
[150] Fix | Delete
resp, o = self._getline()
[151] Fix | Delete
if self._debugging > 1: print('*resp*', repr(resp))
[152] Fix | Delete
if not resp.startswith(b'+'):
[153] Fix | Delete
raise error_proto(resp)
[154] Fix | Delete
return resp
[155] Fix | Delete
[156] Fix | Delete
[157] Fix | Delete
# Internal: get a response plus following text from the server.
[158] Fix | Delete
[159] Fix | Delete
def _getlongresp(self):
[160] Fix | Delete
resp = self._getresp()
[161] Fix | Delete
list = []; octets = 0
[162] Fix | Delete
line, o = self._getline()
[163] Fix | Delete
while line != b'.':
[164] Fix | Delete
if line.startswith(b'..'):
[165] Fix | Delete
o = o-1
[166] Fix | Delete
line = line[1:]
[167] Fix | Delete
octets = octets + o
[168] Fix | Delete
list.append(line)
[169] Fix | Delete
line, o = self._getline()
[170] Fix | Delete
return resp, list, octets
[171] Fix | Delete
[172] Fix | Delete
[173] Fix | Delete
# Internal: send a command and get the response
[174] Fix | Delete
[175] Fix | Delete
def _shortcmd(self, line):
[176] Fix | Delete
self._putcmd(line)
[177] Fix | Delete
return self._getresp()
[178] Fix | Delete
[179] Fix | Delete
[180] Fix | Delete
# Internal: send a command and get the response plus following text
[181] Fix | Delete
[182] Fix | Delete
def _longcmd(self, line):
[183] Fix | Delete
self._putcmd(line)
[184] Fix | Delete
return self._getlongresp()
[185] Fix | Delete
[186] Fix | Delete
[187] Fix | Delete
# These can be useful:
[188] Fix | Delete
[189] Fix | Delete
def getwelcome(self):
[190] Fix | Delete
return self.welcome
[191] Fix | Delete
[192] Fix | Delete
[193] Fix | Delete
def set_debuglevel(self, level):
[194] Fix | Delete
self._debugging = level
[195] Fix | Delete
[196] Fix | Delete
[197] Fix | Delete
# Here are all the POP commands:
[198] Fix | Delete
[199] Fix | Delete
def user(self, user):
[200] Fix | Delete
"""Send user name, return response
[201] Fix | Delete
[202] Fix | Delete
(should indicate password required).
[203] Fix | Delete
"""
[204] Fix | Delete
return self._shortcmd('USER %s' % user)
[205] Fix | Delete
[206] Fix | Delete
[207] Fix | Delete
def pass_(self, pswd):
[208] Fix | Delete
"""Send password, return response
[209] Fix | Delete
[210] Fix | Delete
(response includes message count, mailbox size).
[211] Fix | Delete
[212] Fix | Delete
NB: mailbox is locked by server from here to 'quit()'
[213] Fix | Delete
"""
[214] Fix | Delete
return self._shortcmd('PASS %s' % pswd)
[215] Fix | Delete
[216] Fix | Delete
[217] Fix | Delete
def stat(self):
[218] Fix | Delete
"""Get mailbox status.
[219] Fix | Delete
[220] Fix | Delete
Result is tuple of 2 ints (message count, mailbox size)
[221] Fix | Delete
"""
[222] Fix | Delete
retval = self._shortcmd('STAT')
[223] Fix | Delete
rets = retval.split()
[224] Fix | Delete
if self._debugging: print('*stat*', repr(rets))
[225] Fix | Delete
numMessages = int(rets[1])
[226] Fix | Delete
sizeMessages = int(rets[2])
[227] Fix | Delete
return (numMessages, sizeMessages)
[228] Fix | Delete
[229] Fix | Delete
[230] Fix | Delete
def list(self, which=None):
[231] Fix | Delete
"""Request listing, return result.
[232] Fix | Delete
[233] Fix | Delete
Result without a message number argument is in form
[234] Fix | Delete
['response', ['mesg_num octets', ...], octets].
[235] Fix | Delete
[236] Fix | Delete
Result when a message number argument is given is a
[237] Fix | Delete
single response: the "scan listing" for that message.
[238] Fix | Delete
"""
[239] Fix | Delete
if which is not None:
[240] Fix | Delete
return self._shortcmd('LIST %s' % which)
[241] Fix | Delete
return self._longcmd('LIST')
[242] Fix | Delete
[243] Fix | Delete
[244] Fix | Delete
def retr(self, which):
[245] Fix | Delete
"""Retrieve whole message number 'which'.
[246] Fix | Delete
[247] Fix | Delete
Result is in form ['response', ['line', ...], octets].
[248] Fix | Delete
"""
[249] Fix | Delete
return self._longcmd('RETR %s' % which)
[250] Fix | Delete
[251] Fix | Delete
[252] Fix | Delete
def dele(self, which):
[253] Fix | Delete
"""Delete message number 'which'.
[254] Fix | Delete
[255] Fix | Delete
Result is 'response'.
[256] Fix | Delete
"""
[257] Fix | Delete
return self._shortcmd('DELE %s' % which)
[258] Fix | Delete
[259] Fix | Delete
[260] Fix | Delete
def noop(self):
[261] Fix | Delete
"""Does nothing.
[262] Fix | Delete
[263] Fix | Delete
One supposes the response indicates the server is alive.
[264] Fix | Delete
"""
[265] Fix | Delete
return self._shortcmd('NOOP')
[266] Fix | Delete
[267] Fix | Delete
[268] Fix | Delete
def rset(self):
[269] Fix | Delete
"""Unmark all messages marked for deletion."""
[270] Fix | Delete
return self._shortcmd('RSET')
[271] Fix | Delete
[272] Fix | Delete
[273] Fix | Delete
def quit(self):
[274] Fix | Delete
"""Signoff: commit changes on server, unlock mailbox, close connection."""
[275] Fix | Delete
resp = self._shortcmd('QUIT')
[276] Fix | Delete
self.close()
[277] Fix | Delete
return resp
[278] Fix | Delete
[279] Fix | Delete
def close(self):
[280] Fix | Delete
"""Close the connection without assuming anything about it."""
[281] Fix | Delete
try:
[282] Fix | Delete
file = self.file
[283] Fix | Delete
self.file = None
[284] Fix | Delete
if file is not None:
[285] Fix | Delete
file.close()
[286] Fix | Delete
finally:
[287] Fix | Delete
sock = self.sock
[288] Fix | Delete
self.sock = None
[289] Fix | Delete
if sock is not None:
[290] Fix | Delete
try:
[291] Fix | Delete
sock.shutdown(socket.SHUT_RDWR)
[292] Fix | Delete
except OSError as exc:
[293] Fix | Delete
# The server might already have closed the connection.
[294] Fix | Delete
# On Windows, this may result in WSAEINVAL (error 10022):
[295] Fix | Delete
# An invalid operation was attempted.
[296] Fix | Delete
if (exc.errno != errno.ENOTCONN
[297] Fix | Delete
and getattr(exc, 'winerror', 0) != 10022):
[298] Fix | Delete
raise
[299] Fix | Delete
finally:
[300] Fix | Delete
sock.close()
[301] Fix | Delete
[302] Fix | Delete
#__del__ = quit
[303] Fix | Delete
[304] Fix | Delete
[305] Fix | Delete
# optional commands:
[306] Fix | Delete
[307] Fix | Delete
def rpop(self, user):
[308] Fix | Delete
"""Not sure what this does."""
[309] Fix | Delete
return self._shortcmd('RPOP %s' % user)
[310] Fix | Delete
[311] Fix | Delete
[312] Fix | Delete
timestamp = re.compile(br'\+OK.[^<]*(<.*>)')
[313] Fix | Delete
[314] Fix | Delete
def apop(self, user, password):
[315] Fix | Delete
"""Authorisation
[316] Fix | Delete
[317] Fix | Delete
- only possible if server has supplied a timestamp in initial greeting.
[318] Fix | Delete
[319] Fix | Delete
Args:
[320] Fix | Delete
user - mailbox user;
[321] Fix | Delete
password - mailbox password.
[322] Fix | Delete
[323] Fix | Delete
NB: mailbox is locked by server from here to 'quit()'
[324] Fix | Delete
"""
[325] Fix | Delete
secret = bytes(password, self.encoding)
[326] Fix | Delete
m = self.timestamp.match(self.welcome)
[327] Fix | Delete
if not m:
[328] Fix | Delete
raise error_proto('-ERR APOP not supported by server')
[329] Fix | Delete
import hashlib
[330] Fix | Delete
digest = m.group(1)+secret
[331] Fix | Delete
digest = hashlib.md5(digest).hexdigest()
[332] Fix | Delete
return self._shortcmd('APOP %s %s' % (user, digest))
[333] Fix | Delete
[334] Fix | Delete
[335] Fix | Delete
def top(self, which, howmuch):
[336] Fix | Delete
"""Retrieve message header of message number 'which'
[337] Fix | Delete
and first 'howmuch' lines of message body.
[338] Fix | Delete
[339] Fix | Delete
Result is in form ['response', ['line', ...], octets].
[340] Fix | Delete
"""
[341] Fix | Delete
return self._longcmd('TOP %s %s' % (which, howmuch))
[342] Fix | Delete
[343] Fix | Delete
[344] Fix | Delete
def uidl(self, which=None):
[345] Fix | Delete
"""Return message digest (unique id) list.
[346] Fix | Delete
[347] Fix | Delete
If 'which', result contains unique id for that message
[348] Fix | Delete
in the form 'response mesgnum uid', otherwise result is
[349] Fix | Delete
the list ['response', ['mesgnum uid', ...], octets]
[350] Fix | Delete
"""
[351] Fix | Delete
if which is not None:
[352] Fix | Delete
return self._shortcmd('UIDL %s' % which)
[353] Fix | Delete
return self._longcmd('UIDL')
[354] Fix | Delete
[355] Fix | Delete
[356] Fix | Delete
def utf8(self):
[357] Fix | Delete
"""Try to enter UTF-8 mode (see RFC 6856). Returns server response.
[358] Fix | Delete
"""
[359] Fix | Delete
return self._shortcmd('UTF8')
[360] Fix | Delete
[361] Fix | Delete
[362] Fix | Delete
def capa(self):
[363] Fix | Delete
"""Return server capabilities (RFC 2449) as a dictionary
[364] Fix | Delete
>>> c=poplib.POP3('localhost')
[365] Fix | Delete
>>> c.capa()
[366] Fix | Delete
{'IMPLEMENTATION': ['Cyrus', 'POP3', 'server', 'v2.2.12'],
[367] Fix | Delete
'TOP': [], 'LOGIN-DELAY': ['0'], 'AUTH-RESP-CODE': [],
[368] Fix | Delete
'EXPIRE': ['NEVER'], 'USER': [], 'STLS': [], 'PIPELINING': [],
[369] Fix | Delete
'UIDL': [], 'RESP-CODES': []}
[370] Fix | Delete
>>>
[371] Fix | Delete
[372] Fix | Delete
Really, according to RFC 2449, the cyrus folks should avoid
[373] Fix | Delete
having the implementation split into multiple arguments...
[374] Fix | Delete
"""
[375] Fix | Delete
def _parsecap(line):
[376] Fix | Delete
lst = line.decode('ascii').split()
[377] Fix | Delete
return lst[0], lst[1:]
[378] Fix | Delete
[379] Fix | Delete
caps = {}
[380] Fix | Delete
try:
[381] Fix | Delete
resp = self._longcmd('CAPA')
[382] Fix | Delete
rawcaps = resp[1]
[383] Fix | Delete
for capline in rawcaps:
[384] Fix | Delete
capnm, capargs = _parsecap(capline)
[385] Fix | Delete
caps[capnm] = capargs
[386] Fix | Delete
except error_proto as _err:
[387] Fix | Delete
raise error_proto('-ERR CAPA not supported by server')
[388] Fix | Delete
return caps
[389] Fix | Delete
[390] Fix | Delete
[391] Fix | Delete
def stls(self, context=None):
[392] Fix | Delete
"""Start a TLS session on the active connection as specified in RFC 2595.
[393] Fix | Delete
[394] Fix | Delete
context - a ssl.SSLContext
[395] Fix | Delete
"""
[396] Fix | Delete
if not HAVE_SSL:
[397] Fix | Delete
raise error_proto('-ERR TLS support missing')
[398] Fix | Delete
if self._tls_established:
[399] Fix | Delete
raise error_proto('-ERR TLS session already established')
[400] Fix | Delete
caps = self.capa()
[401] Fix | Delete
if not 'STLS' in caps:
[402] Fix | Delete
raise error_proto('-ERR STLS not supported by server')
[403] Fix | Delete
if context is None:
[404] Fix | Delete
context = ssl._create_stdlib_context()
[405] Fix | Delete
resp = self._shortcmd('STLS')
[406] Fix | Delete
self.sock = context.wrap_socket(self.sock,
[407] Fix | Delete
server_hostname=self.host)
[408] Fix | Delete
self.file = self.sock.makefile('rb')
[409] Fix | Delete
self._tls_established = True
[410] Fix | Delete
return resp
[411] Fix | Delete
[412] Fix | Delete
[413] Fix | Delete
if HAVE_SSL:
[414] Fix | Delete
[415] Fix | Delete
class POP3_SSL(POP3):
[416] Fix | Delete
"""POP3 client class over SSL connection
[417] Fix | Delete
[418] Fix | Delete
Instantiate with: POP3_SSL(hostname, port=995, keyfile=None, certfile=None,
[419] Fix | Delete
context=None)
[420] Fix | Delete
[421] Fix | Delete
hostname - the hostname of the pop3 over ssl server
[422] Fix | Delete
port - port number
[423] Fix | Delete
keyfile - PEM formatted file that contains your private key
[424] Fix | Delete
certfile - PEM formatted certificate chain file
[425] Fix | Delete
context - a ssl.SSLContext
[426] Fix | Delete
[427] Fix | Delete
See the methods of the parent class POP3 for more documentation.
[428] Fix | Delete
"""
[429] Fix | Delete
[430] Fix | Delete
def __init__(self, host, port=POP3_SSL_PORT, keyfile=None, certfile=None,
[431] Fix | Delete
timeout=socket._GLOBAL_DEFAULT_TIMEOUT, context=None):
[432] Fix | Delete
if context is not None and keyfile is not None:
[433] Fix | Delete
raise ValueError("context and keyfile arguments are mutually "
[434] Fix | Delete
"exclusive")
[435] Fix | Delete
if context is not None and certfile is not None:
[436] Fix | Delete
raise ValueError("context and certfile arguments are mutually "
[437] Fix | Delete
"exclusive")
[438] Fix | Delete
if keyfile is not None or certfile is not None:
[439] Fix | Delete
import warnings
[440] Fix | Delete
warnings.warn("keyfile and certfile are deprecated, use a "
[441] Fix | Delete
"custom context instead", DeprecationWarning, 2)
[442] Fix | Delete
self.keyfile = keyfile
[443] Fix | Delete
self.certfile = certfile
[444] Fix | Delete
if context is None:
[445] Fix | Delete
context = ssl._create_stdlib_context(certfile=certfile,
[446] Fix | Delete
keyfile=keyfile)
[447] Fix | Delete
self.context = context
[448] Fix | Delete
POP3.__init__(self, host, port, timeout)
[449] Fix | Delete
[450] Fix | Delete
def _create_socket(self, timeout):
[451] Fix | Delete
sock = POP3._create_socket(self, timeout)
[452] Fix | Delete
sock = self.context.wrap_socket(sock,
[453] Fix | Delete
server_hostname=self.host)
[454] Fix | Delete
return sock
[455] Fix | Delete
[456] Fix | Delete
def stls(self, keyfile=None, certfile=None, context=None):
[457] Fix | Delete
"""The method unconditionally raises an exception since the
[458] Fix | Delete
STLS command doesn't make any sense on an already established
[459] Fix | Delete
SSL/TLS session.
[460] Fix | Delete
"""
[461] Fix | Delete
raise error_proto('-ERR TLS session already established')
[462] Fix | Delete
[463] Fix | Delete
__all__.append("POP3_SSL")
[464] Fix | Delete
[465] Fix | Delete
if __name__ == "__main__":
[466] Fix | Delete
import sys
[467] Fix | Delete
a = POP3(sys.argv[1])
[468] Fix | Delete
print(a.getwelcome())
[469] Fix | Delete
a.user(sys.argv[2])
[470] Fix | Delete
a.pass_(sys.argv[3])
[471] Fix | Delete
a.list()
[472] Fix | Delete
(numMsgs, totalSize) = a.stat()
[473] Fix | Delete
for i in range(1, numMsgs + 1):
[474] Fix | Delete
(header, msg, octets) = a.retr(i)
[475] Fix | Delete
print("Message %d:" % i)
[476] Fix | Delete
for line in msg:
[477] Fix | Delete
print(' ' + line)
[478] Fix | Delete
print('-----------------------')
[479] Fix | Delete
a.quit()
[480] Fix | Delete
[481] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function