Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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: .