cmdw
just get info of length and width of terminal/console/cmd
Installing
Install and update using pip_:
.. code-block:: text
$ pip install cmd
cmdw supports Python 2 and newer, Python 3 and newer, and PyPy.
.. _pip: https://pip.pypa.io/en/stable/quickstart/
A Simple Example
What does it look like? Here is an example of a cmdw:
.. code-block:: python
>>> import cmdw
>>> cmdw.getWidth()
>>> 164
>>> cmdw.getHeight()
>>> 26
>>> cmdw.getWidth() * "#"
>>> ###############################################################################
....
Support
- Python 2.7 +, Python 3.x
- Windows, Linux
Links
- License:
BSD <https://github.com/licface/cmdw/blob/master/LICENSE.rst>_ - Code: https://github.com/licface/cmdw
- Issue tracker: https://github.com/licface/cmdw/issues
Metadata
Release files for cmdw 0.30
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cmdw-0.30.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cmdw-0.30-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.1 kB
Release files / cmdw-0.30.tar.gz
| Download URL | cmdw-0.30.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
263f9dfa06bd2dffd09610171a7e09e7bde3b2e118432b4cf61608c4c6d3ec52
|
|
BLAKE2b-256 checksum How to use checksums |
86be5e4018e713dfd3e03a0145fbe28305ca07e44bd8d4004b2ca17cfc159bd7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / cmdw-0.30-py3-none-any.whl
| Download URL | cmdw-0.30-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
292bf0164f4dc182c0ee7a800bf4d4fa918e5c6f872ed18bd24d71a6256bf998
|
|
BLAKE2b-256 checksum How to use checksums |
e38e4ac68dc9c3b38addff3dce8870e064947f1f4ee24b8435b9e5196bde0def
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|