Skip to main content

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

Project details


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)

Uploaded Source

Built Distribution

cmdw-0.29-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

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

Hashes for cmdw-0.29.tar.gz
Algorithm Hash digest
SHA256 9cf0499e3c83292cebf7bd7616ac00437834cc5afda65fc1e6dbaf7fb62b616a
MD5 5bfa1e71a3bc5695b03fb5941cde1ebe
BLAKE2b-256 4ed8668637ceea19f53e67157845168c4cfecb79d1742beb7cc25fc46acc20e7

See more details on using hashes here.

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

Hashes for cmdw-0.29-py3-none-any.whl
Algorithm Hash digest
SHA256 422bcf7e2e67e49dd44fb37427da1a83438f270a1dee7b7f9cf5871fd6d06ec8
MD5 2ab58c77bee0a86ba9f181296c7b026c
BLAKE2b-256 cbe3cc11d875e8b513901700ae95f34dafe5cf4543750aea0f481b80384c4114

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page