just get info of length and width of terminal/console/cmd
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cmdw-0.30.tar.gz.
File metadata
- Download URL: cmdw-0.30.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
263f9dfa06bd2dffd09610171a7e09e7bde3b2e118432b4cf61608c4c6d3ec52
|
|
| MD5 |
150853d8ae648ce9880fc793a60e91bb
|
|
| BLAKE2b-256 |
86be5e4018e713dfd3e03a0145fbe28305ca07e44bd8d4004b2ca17cfc159bd7
|
File details
Details for the file cmdw-0.30-py3-none-any.whl.
File metadata
- Download URL: cmdw-0.30-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
292bf0164f4dc182c0ee7a800bf4d4fa918e5c6f872ed18bd24d71a6256bf998
|
|
| MD5 |
bfb27f3a9c73d5170469090d0d85756b
|
|
| BLAKE2b-256 |
e38e4ac68dc9c3b38addff3dce8870e064947f1f4ee24b8435b9e5196bde0def
|