Skip to main content

一些常用函数

Project description

stv_utils

一个包含常用实用函数的Python库。

功能列表

  • is_ch()
    检测当前系统是否为Windows且中文环境。
    返回类型: bool

  • system_check()
    检查当前操作系统是否为Windows。
    返回类型: bool

  • is_idle()
    判断当前是否在IDLE环境中运行。
    返回类型: bool

  • system_clear()
    根据系统执行清屏命令(Windows使用cls,其他系统使用clear),若在IDLE中则跳过。

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

stv_utils-0.0.2.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stv_utils-0.0.2-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

Details for the file stv_utils-0.0.2.tar.gz.

File metadata

  • Download URL: stv_utils-0.0.2.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for stv_utils-0.0.2.tar.gz
Algorithm Hash digest
SHA256 60cf061cbcd7c9cd39c0c801648b6552725e530d0801305de395a2411c1bf9ae
MD5 888fc0fdf97a40f3baaf6a878670814a
BLAKE2b-256 0e6f24a87cec614455c974efb18dbb225b31dd9e0a4c4ac46a44024017ddb5be

See more details on using hashes here.

File details

Details for the file stv_utils-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: stv_utils-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for stv_utils-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 38e73032b4751d3a56224f23a83106d4d2d45a688f15a5aa5347fb41e8b5ae55
MD5 38ef01383c7a758ce6c46c56cb8b276b
BLAKE2b-256 59aea2a833ded6b1f2674fc46e67b33ddf0f0f2a39b78187f488e9f9093bf872

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