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
-----

* 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


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

Uploaded Source

File details

Details for the file cmdw-0.16.tar.gz.

File metadata

  • Download URL: cmdw-0.16.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for cmdw-0.16.tar.gz
Algorithm Hash digest
SHA256 094d8db1ffb01673f0e3f4f5c2e2ffab6a762ede7f87326fc9380c25ac357903
MD5 d56a428ac376c82d7b232013184b4d87
BLAKE2b-256 ea86115271aa3c676d156228aa113823d36d0c323b7c3d48bcfe7622c76d5f10

See more details on using hashes here.

Supported by

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