Skip to main content

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

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)

Source distribution for cmdw 0.30
File Size Uploaded
cmdw-0.30.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cmdw 0.30
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.30 This release

2 release files

0.29

2 release files

0.28

2 release files

0.27

2 release files

0.26

2 release files

0.24

2 release files

0.23

2 release files

0.22

2 release files

0.19

2 release files

0.17

1 release file

0.16

1 release file

0.15

1 release file

0.13

1 release file

0.12

1 release file

0.11

1 release file

0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page