# Brython distribution vs CPython 3.8 表示Brython版本与CPython不同
目录 两者共有 Brython独有 CPython独有
Lib _collections_abc.py _compat_pickle.py _dummy_thread.py _markupbase.py pydecimal.py pyabc.py _threading_local.py _weakrefset.py __future.py abc.py antigravity.py argparse.py base64.py bdb.py bisect.py calendar.py cmd.py code.py codecs.py codeop.py colorsys.py configparser.py contextlib.py contextvars.py copy.py copyreg.py csv.py dataclasses.py datetime.py decimal.py difflib.py doctest.py enum.py fnmatch.py formatter.py fractions.py functools.py genericpath.py getopt.py gettext.py glob.py heapq.py hmac.py imp.py inspect.py io.py ipaddress.py keyword.py linecache.py locale.py mimetypes.py nntplib.py ntpath.py numbers.py opcode.py operator.py optparse.py os.py pathlib.py pdb.py pickle.py pkgutil.py platform.py posixpath.py pprint.py profile.py pydoc.py py_compile.py queue.py quopri.py re.py reprlib.py selectors.py shlex.py shutil.py signal.py site.py socket.py sre_compile.py sre_constants.py sre_parse.py stat.py string.py stringprep.py struct.py subprocess.py sysconfig.py tarfile.py tempfile.py textwrap.py this.py threading.py timeit.py token.py tokenize.py traceback.py turtle.py types.py typing.py uu.py uuid.py warnings.py weakref.py webbrowser.py zipfile.py zipimport.py _abcoll.py _codecs.py _collections.py _contextvars.py _csv.py _frozen_importlib.py _frozen_importlib_external.py _functools.py _imp.py _io.py _operator.py _pydecimal.py _queue.py _random.py _socket.py _sre.py _struct.py _sysconfigdata.py _sysconfigdata_0_brython.py testcapi.py thread.py weakref.py .bundle-ignore atexit.py binascii.py cmath.py code.py dataclasses.py errno.py externalimport.py faulthandler.py gc.py heapq.py interpreter.py itertools.py os.py pdb.py pickle.py pkgutil.py platform.py pwd.py select.py signal.py stat.py string.py sys.py tb.py time.py turtle.py typing.py VFSimport.py webbrowser.py zlib.py aifc.py ast.py asynchat.py asyncore.py binhex.py bz2.py cgi.py cgitb.py chunk.py compileall.py cProfile.py crypt.py dis.py dummythreading.py filecmp.py fileinput.py ftplib.py getpass.py gzip.py hashlib.py imaplib.py imghdr.py lzma.py mailbox.py mailcap.py module1.py modulefinder.py netrc.py nturl2path.py pickletools.py pipes.py plistlib.py poplib.py pstats.py pty.py pyclbr.py random.py rlcompleter.py runpy.py sched.py secrets.py shelve.py smtpd.py smtplib.py sndhdr.py socketserver.py ssl.py statistics.py sunau.py symbol.py symtable.py tabnanny.py telnetlib.py trace.py tracemalloc.py tty.py wave.py xdrlib.py zipapp.py bootlocale.py compression.py osxsupport.py pyio.py sitebuiltins.py strptime.py phello.foo.py
Lib\browser aio.py ajax.py highlight.py html.py indexeddb.py localstorage.py markdown.py objectstorage.py sessionstorage.py svg.py template.py timer.py webcomponent.py websocket.py webworker.py worker.py
Lib\browser\widgets init.py dialog.py menu.py
Lib\collections init.py abc.py
Lib\concurrent init.py
Lib\concurrent\futures _base.py init.py process.py thread.py base.py init.py process.py thread.py webworker.py
Lib\email encodedwords.py _header_value_parser.py _parseaddr.py _policybase.py init.py architecture.rst base64mime.py charset.py contentmanager.py encoders.py errors.py feedparser.py generator.py header.py headerregistry.py iterators.py message.py parser.py policy.py quoprimime.py utils.py headervalueparser.py _init.py base64mime.py
Lib\email\mime __init.py application.py audio.py base.py image.py message.py multipart.py nonmultipart.py text.py
Lib\encodings init.py aliases.py cp037.py cp1006.py cp1026.py cp1125.py cp1140.py cp1250.py cp1251.py cp1252.py cp1253.py cp1254.py cp1255.py cp1256.py cp1257.py cp1258.py cp273.py cp424.py cp437.py cp500.py cp720.py cp737.py cp775.py cp850.py cp852.py cp855.py cp856.py cp857.py cp858.py cp860.py cp861.py cp862.py cp863.py cp864.py cp865.py cp866.py cp869.py cp874.py cp875.py hproman8.py idna.py iso88591.py iso885910.py iso885911.py iso885913.py iso885914.py iso885915.py iso885916.py iso88592.py iso88593.py iso88594.py iso88595.py iso88596.py iso88597.py iso88598.py iso88599.py koi8r.py koi8u.py macarabic.py maccenteuro.py maccroatian.py maccyrillic.py mac_farsi.py mac_greek.py mac_iceland.py mac_latin2.py mac_roman.py mac_romanian.py mac_turkish.py palmos.py ptcp154.py punycode.py tis_620.py utf_8.py __init.py aliases.py hp_roman8.py ascii.py base64_codec.py big5.py big5hkscs.py bz2_codec.py charmap.py cp932.py cp949.py cp950.py euc_jisx0213.py euc_jis_2004.py euc_jp.py euc_kr.py gb18030.py gb2312.py gbk.py hex_codec.py hz.py iso2022_jp.py iso2022_jp_1.py iso2022_jp_2.py iso2022_jp_2004.py iso2022_jp_3.py iso2022_jp_ext.py iso2022_kr.py johab.py koi8_t.py kz1048.py latin_1.py mbcs.py oem.py quopri_codec.py raw_unicode_escape.py rot_13.py shift_jis.py shift_jisx0213.py shift_jis_2004.py undefined.py unicode_escape.py utf_16.py utf_16_be.py utf_16_le.py utf_32.py utf_32_be.py utf_32_le.py utf_7.py utf_8_sig.py uu_codec.py zlib_codec.py
Lib\html *__init.py entities.py parser.py __init.py entities.py parser.py
Lib\http *__init.py client.py *cookies.py __init.py cookies.py cookiejar.py server.py
Lib\importlib _bootstrap.py _bootstrap_external.py __init.py abc.py machinery.py resources.py util.py _bootstrap.py _bootstrap_external.py basehook.py metadata.py
Lib\json __init.py decoder.py encoder.py scanner.py tool.py
Lib\logging *__init.py config.py handlers.py __init.py brython_handlers.py config.py handlers.py
Lib\multiprocessing *__init.py connection.py pool.py process.py util.py __init.py connection.py pool.py process.py util.py context.py forkserver.py heap.py managers.py popen_fork.py popen_forkserver.py popen_spawn_posix.py popen_spawn_win32.py queues.py reduction.py resource_sharer.py resource_tracker.py sharedctypes.py shared_memory.py spawn.py synchronize.py
Lib\multiprocessing\dummy *__init.py *connection.py __init.py connection.py
Lib\pydoc_data _pydoc.css __init.py *topics.py topics.py
Lib\unittest __init.py __main.py async_case.py case.py loader.py main.py mock.py *result.py runner.py signals.py suite.py util.py async_case.py case.py result.py
Lib\unittest\test _test_warnings.py __init.py dummy.py support.py test_assertions.py test_break.py test_case.py test_discovery.py test_functiontestcase.py test_loader.py test_program.py test_result.py test_runner.py test_setups.py test_skipping.py test_suite.py test_async_case.py __main.py
Lib\unittest\test\testmock __init.py support.py testcallable.py testhelpers.py testmagicmethods.py testmock.py testpatch.py testsentinel.py testwith.py testasync.py testsealable.py __main.py
Lib\urllib __init.py error.py parse.py *request.py error.py parse.py request.py response.py robotparser.py
libs _aio.js _ajax.js _base64.js _binascii.js _io_classes.js _jsre.js _locale.js _multiprocessing.js _posixsubprocess.js _profile.js _sre_utils.js _string.js _strptime.js _svg.js _warnings.js _webcomponent.js _webworker.js _zlib_utils.js array.js builtins.js dis.js hashlib.js long_int.js marshal.js math.js modulefinder.js posix.js random.js unicodedata.js python3.lib python38.lib _tkinter.lib
libs\crypto_js\rollups aes.js hmac-md5.js hmac-ripemd160.js hmac-sha1.js hmac-sha224.js hmac-sha256.js hmac-sha3.js hmac-sha384.js hmac-sha512.js md5.js pbkdf2.js rabbit-legacy.js rabbit.js rc4.js ripemd160.js sha1.js sha224.js sha256.js sha3.js sha384.js sha512.js tripledes.js
web_workers import.js test_rpc.py test_worker.py worker.js

CPython独有的目录(Brython中不含)

  • DLLs
  • Doc
  • include
  • Lib\asyncio
  • Lib\ctypes
  • Lib\curses
  • Lib\dbm
  • Lib\distutils
  • Lib\ensurepip
  • Lib\idlelib
  • Lib\lib2to3
  • Lib\msilib
  • Lib\sqlite3
  • Lib\test\dtracedata
  • Lib\test\eintrdata
  • Lib\test\imghdrdata
  • Lib\test\libregrtest
  • Lib\test\test_asyncio
  • Lib\test\test_import
  • Lib\test\test_importlib\data
  • Lib\test\test_importlib\data01
  • Lib\test\test_importlib\data02
  • Lib\test\test_importlib\data03
  • Lib\test\test_importlib\namespace_pkgs
  • Lib\test\test_importlib\zipdata01
  • Lib\test\test_importlib\zipdata02
  • Lib\test\test_tools
  • Lib\test\test_warnings
  • Lib\test\xmltestdata\c14n-20
  • Lib\test\ziptestdata
  • Lib\tkinter
  • Lib\turtledemo
  • Lib\venv
  • Lib\wsgiref
  • Lib\xml
  • Lib\xmlrpc
  • Scripts
  • share
  • tcl
  • Tools