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.30.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for cmdw-0.30.tar.gz
Algorithm Hash digest
SHA256 263f9dfa06bd2dffd09610171a7e09e7bde3b2e118432b4cf61608c4c6d3ec52
MD5 150853d8ae648ce9880fc793a60e91bb
BLAKE2b-256 86be5e4018e713dfd3e03a0145fbe28305ca07e44bd8d4004b2ca17cfc159bd7

See more details on using hashes here.

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

Hashes for cmdw-0.30-py3-none-any.whl
Algorithm Hash digest
SHA256 292bf0164f4dc182c0ee7a800bf4d4fa918e5c6f872ed18bd24d71a6256bf998
MD5 bfb27f3a9c73d5170469090d0d85756b
BLAKE2b-256 e38e4ac68dc9c3b38addff3dce8870e064947f1f4ee24b8435b9e5196bde0def

See more details on using hashes here.

Supported by

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