Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/epeios-q37/term2web-python-stub
A stub for the 'term2web' Python library
https://github.com/epeios-q37/term2web-python-stub
Last synced: 24 days ago
JSON representation
A stub for the 'term2web' Python library
- Host: GitHub
- URL: https://github.com/epeios-q37/term2web-python-stub
- Owner: epeios-q37
- License: mit
- Created: 2020-01-17T12:18:37.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-31T05:51:35.000Z (2 months ago)
- Last Synced: 2024-11-18T02:44:35.055Z (about 2 months ago)
- Language: Python
- Homepage: https://q37.info/s/dh9gpjft
- Size: 98.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Stub for the *term2web* *Python* library.
[![Run on Repl.it](https://q37.info/s/kpm7xhfm.png)](https://q37.info/s/7jqrdgnx) [![About online demonstrations](https://img.shields.io/badge/about-online%20demonstrations-informational)](https://q37.info/s/sssznrb4)
[![license: MIT](https://img.shields.io/github/license/epeios-q37/term2web-python-stub?color=yellow&style=for-the-badge)](https://github.com/epeios-q37/term2web-python-stub/blob/master/LICENSE)
The *term2web* library redirects `print(…)` and `input(…)` to a web page, and so allows to use CSS to format the displayed text. See https://q37.info/s/dh9gpjft for details.
To use this library, you can:
- install the *Pypi* package (`pip install term2web`) and the import it in your source files (`import * from time2web`),
- clone this repository (`git clone https://github.com/epeios-q37/term2web-python-stub`):
- and put your source code in the `main.py` file,
- or copy the beginning of the `main.py` up to the `import…` line at the beginning of your existing source code,
- do the same using this [ZIP file](https://q37.info/s/pkcp7qxh), which stores the content of this repository,
- do the same in an online IDE, with nothing to install: .