example lython code
def test(num)
for i in range(num) do
if i == 0 then
print("zero")
elif i % 2 == 1 then
print("odd")
else
print("even")
end # if else
end # for
end # def
test(10)
Note:
-
The indentation in the code above is just to make the code look pretty and has no effect on the parser.
-
you cant use
then,do,endas name variable, function and class in lython.
github: guangrei/lython
Metadata
Release files for programminglython 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| programminglython-0.2.2.tar.gz | 10.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| programminglython-0.2.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 24.1 kB
Release files / programminglython-0.2.2.tar.gz
| Download URL | programminglython-0.2.2.tar.gz |
|---|---|
| Size | 10.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ac523520dfcf3e946d6d21f09349cba162628e7fcef32e1bbb30137c4b6b31f
|
|
BLAKE2b-256 checksum How to use checksums |
1f7346b9484af1c4d12140a2d4b3a93daa3597d204ba7ec77b84e7c73ea7d483
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.14
|
Release files / programminglython-0.2.2-py2.py3-none-any.whl
| Download URL | programminglython-0.2.2-py2.py3-none-any.whl |
|---|---|
| Size | 13.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
00fa342f0a04e0b2b6529c09dad35879701512f61533aafef39171132faab7a6
|
|
BLAKE2b-256 checksum How to use checksums |
901615c5f4c2f04fb6453022175f544f5f45e268d91f7b28f889bb4fe0297ab1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.14
|
Security for programminglython 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.