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
cmdw-0.29.tar.gz
(4.5 kB
view details)
Built Distribution
cmdw-0.29-py3-none-any.whl
(6.5 kB
view details)
File details
Details for the file cmdw-0.29.tar.gz
.
File metadata
- Download URL: cmdw-0.29.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cf0499e3c83292cebf7bd7616ac00437834cc5afda65fc1e6dbaf7fb62b616a |
|
MD5 | 5bfa1e71a3bc5695b03fb5941cde1ebe |
|
BLAKE2b-256 | 4ed8668637ceea19f53e67157845168c4cfecb79d1742beb7cc25fc46acc20e7 |
File details
Details for the file cmdw-0.29-py3-none-any.whl
.
File metadata
- Download URL: cmdw-0.29-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 | 422bcf7e2e67e49dd44fb37427da1a83438f270a1dee7b7f9cf5871fd6d06ec8 |
|
MD5 | 2ab58c77bee0a86ba9f181296c7b026c |
|
BLAKE2b-256 | cbe3cc11d875e8b513901700ae95f34dafe5cf4543750aea0f481b80384c4114 |