[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.19
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
lib64
/
python3.12
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
π __pycache__
SET
[ DEL ]
π asyncio
SET
[ DEL ]
π collections
SET
[ DEL ]
π concurrent
SET
[ DEL ]
π config-3.12-x86_64-linux-gnu
SET
[ DEL ]
π ctypes
SET
[ DEL ]
π curses
SET
[ DEL ]
π dbm
SET
[ DEL ]
π email
SET
[ DEL ]
π encodings
SET
[ DEL ]
π ensurepip
SET
[ DEL ]
π html
SET
[ DEL ]
π http
SET
[ DEL ]
π importlib
SET
[ DEL ]
π json
SET
[ DEL ]
π lib-dynload
SET
[ DEL ]
π lib2to3
SET
[ DEL ]
π logging
SET
[ DEL ]
π multiprocessing
SET
[ DEL ]
π pydoc_data
SET
[ DEL ]
π re
SET
[ DEL ]
π site-packages
SET
[ DEL ]
π sqlite3
SET
[ DEL ]
π tomllib
SET
[ DEL ]
π unittest
SET
[ DEL ]
π urllib
SET
[ DEL ]
π venv
SET
[ DEL ]
π wsgiref
SET
[ DEL ]
π xml
SET
[ DEL ]
π xmlrpc
SET
[ DEL ]
π zipfile
SET
[ DEL ]
π zoneinfo
SET
[ DEL ]
π LICENSE.txt
13,936 B
SET
[ EDIT ]
|
[ DEL ]
π __future__.py
5,218 B
SET
[ EDIT ]
|
[ DEL ]
π __hello__.py
227 B
SET
[ EDIT ]
|
[ DEL ]
π _aix_support.py
4,021 B
SET
[ EDIT ]
|
[ DEL ]
π _collections_abc.py
32,089 B
SET
[ EDIT ]
|
[ DEL ]
π _compat_pickle.py
8,761 B
SET
[ EDIT ]
|
[ DEL ]
π _compression.py
5,681 B
SET
[ EDIT ]
|
[ DEL ]
π _markupbase.py
14,653 B
SET
[ EDIT ]
|
[ DEL ]
π _osx_support.py
22,023 B
SET
[ EDIT ]
|
[ DEL ]
π _py_abc.py
6,189 B
SET
[ EDIT ]
|
[ DEL ]
π _pydatetime.py
92,087 B
SET
[ EDIT ]
|
[ DEL ]
π _pydecimal.py
227,283 B
SET
[ EDIT ]
|
[ DEL ]
π _pyio.py
93,593 B
SET
[ EDIT ]
|
[ DEL ]
π _pylong.py
10,790 B
SET
[ EDIT ]
|
[ DEL ]
π _sitebuiltins.py
3,128 B
SET
[ EDIT ]
|
[ DEL ]
π _strptime.py
28,393 B
SET
[ EDIT ]
|
[ DEL ]
π _sysconfigdata__linux_x86_64-linux-gnu.py
72,132 B
SET
[ EDIT ]
|
[ DEL ]
π _threading_local.py
7,220 B
SET
[ EDIT ]
|
[ DEL ]
π _weakrefset.py
5,893 B
SET
[ EDIT ]
|
[ DEL ]
π abc.py
6,538 B
SET
[ EDIT ]
|
[ DEL ]
π aifc.py
34,211 B
SET
[ EDIT ]
|
[ DEL ]
π antigravity.py
500 B
SET
[ EDIT ]
|
[ DEL ]
π argparse.py
101,155 B
SET
[ EDIT ]
|
[ DEL ]
π ast.py
64,452 B
SET
[ EDIT ]
|
[ DEL ]
π base64.py
20,634 B
SET
[ EDIT ]
|
[ DEL ]
π bdb.py
33,573 B
SET
[ EDIT ]
|
[ DEL ]
π bisect.py
3,423 B
SET
[ EDIT ]
|
[ DEL ]
π bz2.py
11,847 B
SET
[ EDIT ]
|
[ DEL ]
π cProfile.py
6,555 B
SET
[ EDIT ]
|
[ DEL ]
π calendar.py
25,864 B
SET
[ EDIT ]
|
[ DEL ]
π cgi.py
34,418 B
SET
[ EDIT ]
|
[ DEL ]
π cgitb.py
12,421 B
SET
[ EDIT ]
|
[ DEL ]
π chunk.py
5,500 B
SET
[ EDIT ]
|
[ DEL ]
π cmd.py
14,873 B
SET
[ EDIT ]
|
[ DEL ]
π code.py
10,962 B
SET
[ EDIT ]
|
[ DEL ]
π codecs.py
36,870 B
SET
[ EDIT ]
|
[ DEL ]
π codeop.py
5,908 B
SET
[ EDIT ]
|
[ DEL ]
π colorsys.py
4,062 B
SET
[ EDIT ]
|
[ DEL ]
π compileall.py
20,507 B
SET
[ EDIT ]
|
[ DEL ]
π configparser.py
53,789 B
SET
[ EDIT ]
|
[ DEL ]
π contextlib.py
27,637 B
SET
[ EDIT ]
|
[ DEL ]
π contextvars.py
129 B
SET
[ EDIT ]
|
[ DEL ]
π copy.py
8,412 B
SET
[ EDIT ]
|
[ DEL ]
π copyreg.py
7,614 B
SET
[ EDIT ]
|
[ DEL ]
π crypt.py
3,913 B
SET
[ EDIT ]
|
[ DEL ]
π csv.py
16,386 B
SET
[ EDIT ]
|
[ DEL ]
π dataclasses.py
62,085 B
SET
[ EDIT ]
|
[ DEL ]
π datetime.py
268 B
SET
[ EDIT ]
|
[ DEL ]
π decimal.py
2,805 B
SET
[ EDIT ]
|
[ DEL ]
π difflib.py
83,368 B
SET
[ EDIT ]
|
[ DEL ]
π dis.py
30,227 B
SET
[ EDIT ]
|
[ DEL ]
π doctest.py
106,749 B
SET
[ EDIT ]
|
[ DEL ]
π enum.py
81,540 B
SET
[ EDIT ]
|
[ DEL ]
π filecmp.py
10,381 B
SET
[ EDIT ]
|
[ DEL ]
π fileinput.py
15,714 B
SET
[ EDIT ]
|
[ DEL ]
π fnmatch.py
5,999 B
SET
[ EDIT ]
|
[ DEL ]
π fractions.py
38,147 B
SET
[ EDIT ]
|
[ DEL ]
π ftplib.py
34,735 B
SET
[ EDIT ]
|
[ DEL ]
π functools.py
37,940 B
SET
[ EDIT ]
|
[ DEL ]
π genericpath.py
5,572 B
SET
[ EDIT ]
|
[ DEL ]
π getopt.py
7,488 B
SET
[ EDIT ]
|
[ DEL ]
π getpass.py
5,990 B
SET
[ EDIT ]
|
[ DEL ]
π gettext.py
21,320 B
SET
[ EDIT ]
|
[ DEL ]
π glob.py
8,732 B
SET
[ EDIT ]
|
[ DEL ]
π graphlib.py
9,648 B
SET
[ EDIT ]
|
[ DEL ]
π gzip.py
25,402 B
SET
[ EDIT ]
|
[ DEL ]
π hashlib.py
9,683 B
SET
[ EDIT ]
|
[ DEL ]
π heapq.py
23,024 B
SET
[ EDIT ]
|
[ DEL ]
π hmac.py
8,043 B
SET
[ EDIT ]
|
[ DEL ]
π imaplib.py
54,209 B
SET
[ EDIT ]
|
[ DEL ]
π imghdr.py
4,398 B
SET
[ EDIT ]
|
[ DEL ]
π inspect.py
127,125 B
SET
[ EDIT ]
|
[ DEL ]
π io.py
3,582 B
SET
[ EDIT ]
|
[ DEL ]
π ipaddress.py
81,414 B
SET
[ EDIT ]
|
[ DEL ]
π keyword.py
1,073 B
SET
[ EDIT ]
|
[ DEL ]
π linecache.py
5,800 B
SET
[ EDIT ]
|
[ DEL ]
π locale.py
78,599 B
SET
[ EDIT ]
|
[ DEL ]
π lzma.py
13,277 B
SET
[ EDIT ]
|
[ DEL ]
π mailbox.py
78,911 B
SET
[ EDIT ]
|
[ DEL ]
π mailcap.py
9,333 B
SET
[ EDIT ]
|
[ DEL ]
π mimetypes.py
23,037 B
SET
[ EDIT ]
|
[ DEL ]
π modulefinder.py
23,699 B
SET
[ EDIT ]
|
[ DEL ]
π netrc.py
6,922 B
SET
[ EDIT ]
|
[ DEL ]
π nntplib.py
41,087 B
SET
[ EDIT ]
|
[ DEL ]
π ntpath.py
32,324 B
SET
[ EDIT ]
|
[ DEL ]
π nturl2path.py
2,374 B
SET
[ EDIT ]
|
[ DEL ]
π numbers.py
11,467 B
SET
[ EDIT ]
|
[ DEL ]
π opcode.py
13,174 B
SET
[ EDIT ]
|
[ DEL ]
π operator.py
10,965 B
SET
[ EDIT ]
|
[ DEL ]
π optparse.py
60,369 B
SET
[ EDIT ]
|
[ DEL ]
π os.py
40,821 B
SET
[ EDIT ]
|
[ DEL ]
π pathlib.py
51,052 B
SET
[ EDIT ]
|
[ DEL ]
π pdb.py
70,297 B
SET
[ EDIT ]
|
[ DEL ]
π pickle.py
66,911 B
SET
[ EDIT ]
|
[ DEL ]
π pickletools.py
94,052 B
SET
[ EDIT ]
|
[ DEL ]
π pipes.py
8,978 B
SET
[ EDIT ]
|
[ DEL ]
π pkgutil.py
18,281 B
SET
[ EDIT ]
|
[ DEL ]
π platform.py
43,388 B
SET
[ EDIT ]
|
[ DEL ]
π plistlib.py
28,342 B
SET
[ EDIT ]
|
[ DEL ]
π poplib.py
14,742 B
SET
[ EDIT ]
|
[ DEL ]
π posixpath.py
17,483 B
SET
[ EDIT ]
|
[ DEL ]
π pprint.py
24,158 B
SET
[ EDIT ]
|
[ DEL ]
π profile.py
23,092 B
SET
[ EDIT ]
|
[ DEL ]
π pstats.py
29,289 B
SET
[ EDIT ]
|
[ DEL ]
π pty.py
6,137 B
SET
[ EDIT ]
|
[ DEL ]
π py_compile.py
7,837 B
SET
[ EDIT ]
|
[ DEL ]
π pyclbr.py
11,396 B
SET
[ EDIT ]
|
[ DEL ]
π pydoc.py
113,508 B
SET
[ EDIT ]
|
[ DEL ]
π queue.py
11,496 B
SET
[ EDIT ]
|
[ DEL ]
π quopri.py
7,183 B
SET
[ EDIT ]
|
[ DEL ]
π random.py
34,689 B
SET
[ EDIT ]
|
[ DEL ]
π reprlib.py
7,148 B
SET
[ EDIT ]
|
[ DEL ]
π rlcompleter.py
7,827 B
SET
[ EDIT ]
|
[ DEL ]
π runpy.py
12,885 B
SET
[ EDIT ]
|
[ DEL ]
π sched.py
6,351 B
SET
[ EDIT ]
|
[ DEL ]
π secrets.py
1,984 B
SET
[ EDIT ]
|
[ DEL ]
π selectors.py
19,671 B
SET
[ EDIT ]
|
[ DEL ]
π shelve.py
8,560 B
SET
[ EDIT ]
|
[ DEL ]
π shlex.py
13,353 B
SET
[ EDIT ]
|
[ DEL ]
π shutil.py
56,762 B
SET
[ EDIT ]
|
[ DEL ]
π signal.py
2,495 B
SET
[ EDIT ]
|
[ DEL ]
π site.py
23,439 B
SET
[ EDIT ]
|
[ DEL ]
π smtplib.py
43,531 B
SET
[ EDIT ]
|
[ DEL ]
π sndhdr.py
7,448 B
SET
[ EDIT ]
|
[ DEL ]
π socket.py
37,815 B
SET
[ EDIT ]
|
[ DEL ]
π socketserver.py
28,065 B
SET
[ EDIT ]
|
[ DEL ]
π sre_compile.py
231 B
SET
[ EDIT ]
|
[ DEL ]
π sre_constants.py
232 B
SET
[ EDIT ]
|
[ DEL ]
π sre_parse.py
229 B
SET
[ EDIT ]
|
[ DEL ]
π ssl.py
50,904 B
SET
[ EDIT ]
|
[ DEL ]
π stat.py
5,485 B
SET
[ EDIT ]
|
[ DEL ]
π statistics.py
50,227 B
SET
[ EDIT ]
|
[ DEL ]
π string.py
11,786 B
SET
[ EDIT ]
|
[ DEL ]
π stringprep.py
12,917 B
SET
[ EDIT ]
|
[ DEL ]
π struct.py
257 B
SET
[ EDIT ]
|
[ DEL ]
π subprocess.py
88,747 B
SET
[ EDIT ]
|
[ DEL ]
π sunau.py
18,478 B
SET
[ EDIT ]
|
[ DEL ]
π symtable.py
12,477 B
SET
[ EDIT ]
|
[ DEL ]
π sysconfig.py
33,773 B
SET
[ EDIT ]
|
[ DEL ]
π tabnanny.py
11,531 B
SET
[ EDIT ]
|
[ DEL ]
π tarfile.py
114,250 B
SET
[ EDIT ]
|
[ DEL ]
π telnetlib.py
23,334 B
SET
[ EDIT ]
|
[ DEL ]
π tempfile.py
32,386 B
SET
[ EDIT ]
|
[ DEL ]
π textwrap.py
19,718 B
SET
[ EDIT ]
|
[ DEL ]
π this.py
1,003 B
SET
[ EDIT ]
|
[ DEL ]
π threading.py
59,742 B
SET
[ EDIT ]
|
[ DEL ]
π timeit.py
13,463 B
SET
[ EDIT ]
|
[ DEL ]
π token.py
2,511 B
SET
[ EDIT ]
|
[ DEL ]
π tokenize.py
21,570 B
SET
[ EDIT ]
|
[ DEL ]
π trace.py
29,352 B
SET
[ EDIT ]
|
[ DEL ]
π traceback.py
46,393 B
SET
[ EDIT ]
|
[ DEL ]
π tracemalloc.py
18,047 B
SET
[ EDIT ]
|
[ DEL ]
π tty.py
2,035 B
SET
[ EDIT ]
|
[ DEL ]
π types.py
10,993 B
SET
[ EDIT ]
|
[ DEL ]
π typing.py
118,836 B
SET
[ EDIT ]
|
[ DEL ]
π uu.py
7,341 B
SET
[ EDIT ]
|
[ DEL ]
π uuid.py
29,656 B
SET
[ EDIT ]
|
[ DEL ]
π warnings.py
21,909 B
SET
[ EDIT ]
|
[ DEL ]
π wave.py
22,769 B
SET
[ EDIT ]
|
[ DEL ]
π weakref.py
21,513 B
SET
[ EDIT ]
|
[ DEL ]
π webbrowser.py
24,141 B
SET
[ EDIT ]
|
[ DEL ]
π xdrlib.py
5,942 B
SET
[ EDIT ]
|
[ DEL ]
π zipapp.py
7,543 B
SET
[ EDIT ]
|
[ DEL ]
π zipimport.py
27,840 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: decimal.py
"""Decimal fixed-point and floating-point arithmetic. This is an implementation of decimal floating-point arithmetic based on the General Decimal Arithmetic Specification: http://speleotrove.com/decimal/decarith.html and IEEE standard 854-1987: http://en.wikipedia.org/wiki/IEEE_854-1987 Decimal floating point has finite precision with arbitrarily large bounds. The purpose of this module is to support arithmetic using familiar "schoolhouse" rules and to avoid some of the tricky representation issues associated with binary floating point. The package is especially useful for financial applications or for contexts where users have expectations that are at odds with binary floating point (for instance, in binary floating point, 1.00 % 0.1 gives 0.09999999999999995 instead of 0.0; Decimal('1.00') % Decimal('0.1') returns the expected Decimal('0.00')). Here are some examples of using the decimal module: >>> from decimal import * >>> setcontext(ExtendedContext) >>> Decimal(0) Decimal('0') >>> Decimal('1') Decimal('1') >>> Decimal('-.0123') Decimal('-0.0123') >>> Decimal(123456) Decimal('123456') >>> Decimal('123.45e12345678') Decimal('1.2345E+12345680') >>> Decimal('1.33') + Decimal('1.27') Decimal('2.60') >>> Decimal('12.34') + Decimal('3.87') - Decimal('18.41') Decimal('-2.20') >>> dig = Decimal(1) >>> print(dig / Decimal(3)) 0.333333333 >>> getcontext().prec = 18 >>> print(dig / Decimal(3)) 0.333333333333333333 >>> print(dig.sqrt()) 1 >>> print(Decimal(3).sqrt()) 1.73205080756887729 >>> print(Decimal(3) ** 123) 4.85192780976896427E+58 >>> inf = Decimal(1) / Decimal(0) >>> print(inf) Infinity >>> neginf = Decimal(-1) / Decimal(0) >>> print(neginf) -Infinity >>> print(neginf + inf) NaN >>> print(neginf * inf) -Infinity >>> print(dig / 0) Infinity >>> getcontext().traps[DivisionByZero] = 1 >>> print(dig / 0) Traceback (most recent call last): ... ... ... decimal.DivisionByZero: x / 0 >>> c = Context() >>> c.traps[InvalidOperation] = 0 >>> print(c.flags[InvalidOperation]) 0 >>> c.divide(Decimal(0), Decimal(0)) Decimal('NaN') >>> c.traps[InvalidOperation] = 1 >>> print(c.flags[InvalidOperation]) 1 >>> c.flags[InvalidOperation] = 0 >>> print(c.flags[InvalidOperation]) 0 >>> print(c.divide(Decimal(0), Decimal(0))) Traceback (most recent call last): ... ... ... decimal.InvalidOperation: 0 / 0 >>> print(c.flags[InvalidOperation]) 1 >>> c.flags[InvalidOperation] = 0 >>> c.traps[InvalidOperation] = 0 >>> print(c.divide(Decimal(0), Decimal(0))) NaN >>> print(c.flags[InvalidOperation]) 1 >>> """ try: from _decimal import * from _decimal import __version__ from _decimal import __libmpdec_version__ except ImportError: from _pydecimal import * from _pydecimal import __version__ from _pydecimal import __libmpdec_version__