clear-2.0.0
توضیحات
A cross-platform Python module that provides a clear() function which clears the terminal. That's all.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | clear-2.0.0 |
| نام | clear |
| نسخه کتابخانه | 2.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Al Sweigart |
| ایمیل نویسنده | al@inventwithpython.com |
| آدرس صفحه اصلی | https://github.com/asweigart/clear |
| آدرس اینترنتی | https://pypi.org/project/clear/ |
| مجوز | - |
clear
======
A cross-platform Python module that provides a clear() function which clears the terminal. That's all.
To install with pip, run:
pip install clear
You can then clear the screen by running:
from clear import clear
clear()
This function runs the one-liner: `os.system('cls' if os.name == 'nt' else 'clear')`
This module exists as a simpler alternative to defining this function on your own.
Special thanks to David George for allowing me to use the Clear name on PyPI. The original Clear module ("Command-Line Extract And Rename utility. This provides a media library manager that allows extraction and renaming of media files.") can still be found in the previous releases of this project on PyPI.
نحوه نصب
نصب پکیج whl clear-2.0.0:
pip install clear-2.0.0.whl
نصب پکیج tar.gz clear-2.0.0:
pip install clear-2.0.0.tar.gz