P2E-2T
P2E-2T explains Python source code in plain English. It includes a terminal learning mode and a Tkinter GUI with editor tabs, lessons, project saving/loading, and error-help features.
P2E explains code; it does not execute the user's Python program.
Install from PyPI
py -m pip install p2e-2t
Launch terminal mode
p2e
Launch the GUI
p2e-gui
On Windows, use a Python installation that includes Tcl/Tk for the GUI. If p2e is not found immediately after installation, close and reopen CMD so it refreshes PATH.
Terminal commands
help— show commandstranslate print('hello')— translate one linetranslate— enter multiline mode; typeENDon its own line to finishexplain <code>— show a step-by-step explanationlesson list— list built-in lessonslesson 1throughlesson 8— show a lessonquit/exit— leave terminal mode
Development
From this folder:
py -m pip install --upgrade build twine
py -m build
py -m twine check dist\*
Upload to TestPyPI first if desired, then publish to PyPI using an account and API token you control:
py -m twine upload --repository testpypi dist\*
py -m twine upload dist\*
Do not share your PyPI password or API token with anyone. Package name availability must be checked on PyPI before publishing.
Metadata
Release files for p2e-2t 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| p2e_2t-2.0.0.tar.gz | 19.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| p2e_2t-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.0 kB
Release files / p2e_2t-2.0.0.tar.gz
| Download URL | p2e_2t-2.0.0.tar.gz |
|---|---|
| Size | 19.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
148e346a32dc3553faf84dbd10d8e8ca526c1eb370f469ca9347fed90502e1ae
|
|
BLAKE2b-256 checksum How to use checksums |
9a195f41f1eb47f0875ce0321231f4821a73117724f376e7f59344f6af1c4808
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.8
|
Release files / p2e_2t-2.0.0-py3-none-any.whl
| Download URL | p2e_2t-2.0.0-py3-none-any.whl |
|---|---|
| Size | 19.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff3b6718922d36e03dbcdfc92905602c8c51ccc6508e0636c214547ba552219f
|
|
BLAKE2b-256 checksum How to use checksums |
5e445ec2b61bf925404ee41eb7d529d5fb306a3268661b58feff85c80e917c6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.8
|