Introduction

Installation

Questions fréquemment posées

Syntaxe, mots-clés et fonctions intégrées

Distribution standard

Implémentation de import

Interface avec le navigateur

Modules intégrés propres à Brython

Travailler avec Brython

Recettes

 

Comparaison des distributions Brython et CPython 3.6

Répertoire Fichiers communs aux deux distributions Spécifiques à Brython Dans CPython mais pas (encore) dans Brython
Lib _dummy_thread.py
_markupbase.py
_strptime.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
copy.py
copyreg.py
csv.py
datetime.py
decimal.py
difflib.py
doctest.py
fnmatch.py
formatter.py
fractions.py
functools.py
genericpath.py
getopt.py
gettext.py
glob.py
heapq.py
imp.py
inspect.py
io.py
keyword.py
linecache.py
locale.py
numbers.py
opcode.py
operator.py
optparse.py
os.py
pdb.py
pickle.py
platform.py
posixpath.py
pprint.py
profile.py
pydoc.py
queue.py
re.py
reprlib.py
shutil.py
signal.py
site.py
socket.py
sre_compile.py
sre_constants.py
sre_parse.py
stat.py
string.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
uuid.py
warnings.py
weakref.py
webbrowser.py
zipfile.py
_abcoll.py
_codecs.py
_collections.py
_csv.py
_functools.py
_imp.py
_io.py
_random.py
_socket.py
_sre.py
_string.py
_struct.py
_sysconfigdata.py
_testcapi.py
_thread.py
_warnings.py
_weakref.py
.bundle-ignore
atexit.py
binascii.py
cmath.py
errno.py
external_import.py
gc.py
itertools.py
marshal.py
posix.py
pwd.py
select.py
sys.py
time.py
VFS_import.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
dummy_threading.py
enum.py
filecmp.py
fileinput.py
ftplib.py
getpass.py
gzip.py
hashlib.py
hmac.py
imaplib.py
imghdr.py
ipaddress.py
lzma.py
macpath.py
macurl2path.py
mailbox.py
mailcap.py
mimetypes.py
modulefinder.py
netrc.py
nntplib.py
ntpath.py
nturl2path.py
pathlib.py
pickletools.py
pipes.py
pkgutil.py
plistlib.py
poplib.py
pstats.py
pty.py
pyclbr.py
py_compile.py
quopri.py
random.py
rlcompleter.py
runpy.py
sched.py
secrets.py
selectors.py
shelve.py
shlex.py
smtpd.py
smtplib.py
sndhdr.py
socketserver.py
ssl.py
statistics.py
stringprep.py
sunau.py
symbol.py
symtable.py
tabnanny.py
telnetlib.py
trace.py
tracemalloc.py
tty.py
typing.py
uu.py
wave.py
xdrlib.py
zipapp.py
_bootlocale.py
_collections_abc.py
_compat_pickle.py
_compression.py
_osx_support.py
_pydecimal.py
_pyio.py
_sitebuiltins.py
__phello__.foo.py
Lib\asyncio __init__.py
coroutines.py
events.py
futures.py
locks.py
queues.py
_utils.py
fs.py
http.py
objects.py
base_events.py
base_futures.py
base_subprocess.py
base_tasks.py
compat.py
constants.py
log.py
proactor_events.py
protocols.py
selector_events.py
sslproto.py
streams.py
subprocess.py
tasks.py
test_utils.py
transports.py
unix_events.py
windows_events.py
windows_utils.py
Lib\browser __init__.py
ajax.py
highlight.py
html.py
indexed_db.py
local_storage.py
markdown.py
object_storage.py
session_storage.py
svg.py
template.py
timer.py
websocket.py
webworker.py
Lib\collections __init__.py
abc.py
Lib\concurrent __init__.py
Lib\concurrent\futures _base.py
__init__.py
process.py
thread.py
webworker.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
hp_roman8.py
iso8859_1.py
iso8859_10.py
iso8859_11.py
iso8859_13.py
iso8859_14.py
iso8859_15.py
iso8859_16.py
iso8859_2.py
iso8859_3.py
iso8859_4.py
iso8859_5.py
iso8859_6.py
iso8859_7.py
iso8859_8.py
iso8859_9.py
koi8_r.py
koi8_u.py
mac_arabic.py
mac_centeuro.py
mac_croatian.py
mac_cyrillic.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
tis_620.py
ascii.py
base64_codec.py
big5.py
big5hkscs.py
bz2_codec.py
charmap.py
cp65001.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
idna.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
punycode.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
unicode_internal.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.py
utf_8_sig.py
uu_codec.py
zlib_codec.py
Lib\html __init__.py
entities.py
parser.py
Lib\http __init__.py
cookies.py
client.py
cookiejar.py
server.py
Lib\importlib _bootstrap.py
__init__.py
abc.py
machinery.py
util.py
basehook.py _bootstrap_external.py
Lib\jqueryui __init__.py
jquery-1.11.2.min.js
jquery-ui.min.js
Lib\jqueryui\css\smoothness jquery-ui-1.10.3.custom.css
jquery-ui-1.10.3.custom.min.css
jquery-ui.css
Lib\jqueryui\css\smoothness\images animated-overlay.gif
ui-bg_flat_0_aaaaaa_40x100.png
ui-bg_flat_75_ffffff_40x100.png
ui-bg_glass_55_fbf9ee_1x400.png
ui-bg_glass_65_ffffff_1x400.png
ui-bg_glass_75_dadada_1x400.png
ui-bg_glass_75_e6e6e6_1x400.png
ui-bg_glass_95_fef1ec_1x400.png
ui-bg_highlight-soft_75_cccccc_1x100.png
ui-icons_222222_256x240.png
ui-icons_2e83ff_256x240.png
ui-icons_454545_256x240.png
ui-icons_888888_256x240.png
ui-icons_cd0a0a_256x240.png
Lib\logging __init__.py
config.py
handlers.py
brython_handlers.py
Lib\multiprocessing __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
semaphore_tracker.py
sharedctypes.py
spawn.py
synchronize.py
Lib\multiprocessing\dummy __init__.py
connection.py
Lib\pydoc_data _pydoc.css
__init__.py
topics.py
Lib\unittest __init__.py
__main__.py
case.py
loader.py
main.py
mock.py
result.py
runner.py
signals.py
suite.py
util.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
__main__.py
Lib\unittest\test\testmock __init__.py
support.py
testcallable.py
testhelpers.py
testmagicmethods.py
testmock.py
testpatch.py
testsentinel.py
testwith.py
__main__.py
Lib\urllib __init__.py
error.py
parse.py
request.py
response.py
robotparser.py
Lib\xml __init__.py
Lib\xml\etree __init__.py
cElementTree.py
ElementInclude.py
ElementPath.py
ElementTree.py
Lib\xml\parsers __init__.py
expat.py
Lib\xml\sax _exceptions.py
__init__.py
expatreader.py
handler.py
saxutils.py
xmlreader.py
libs _ajax.js
_base64.js
_jsre.js
_multiprocessing.js
_posixsubprocess.js
_profile.js
_svg.js
_sys.js
builtins.js
dis.js
hashlib.js
json.js
long_int.js
math.js
modulefinder.js
random.js
libpython36.a
python3.lib
python36.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

Répertoires de la distribution CPython absents de Brython

  • DLLs
  • Doc
  • include
  • Lib\ctypes
  • Lib\curses
  • Lib\dbm
  • Lib\distutils
  • Lib\email
  • Lib\ensurepip
  • Lib\idlelib
  • Lib\json
  • 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\namespace_pkgs
  • Lib\test\test_tools
  • Lib\test\test_warnings
  • Lib\tkinter
  • Lib\turtledemo
  • Lib\venv
  • Lib\wsgiref
  • Lib\xml\dom
  • Lib\xmlrpc
  • man
  • Scripts
  • tcl
  • Tools