universal-startfile-0.4


توضیحات

A cross-platform version of 'os.startfile' from the standard library.
ویژگی مقدار
سیستم عامل OS Independent
نام فایل universal-startfile-0.4
نام universal-startfile
نسخه کتابخانه 0.4
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Jace Browning
ایمیل نویسنده jacebrowning@gmail.com
آدرس صفحه اصلی https://pypi.org/project/universal-startfile
آدرس اینترنتی https://pypi.org/project/universal-startfile/
مجوز MIT
# Overview This is a cross-platform version of the [os.startfile](https://docs.python.org/3/library/os.html#os.startfile) function in the Python standard library. It emulates the following actions in an operating system's UI: - double-clicking a file - single-clicking a URL which will open the default program associated with that type. [![Unix Build Status](https://img.shields.io/github/actions/workflow/status/jacebrowning/universal-startfile/main.yml?branch=main&label=linux)](https://github.com/jacebrowning/universal-startfile/actions) [![Windows Build Status](https://img.shields.io/appveyor/ci/jacebrowning/universal-startfile.svg?label=windows)](https://ci.appveyor.com/project/jacebrowning/universal-startfile) [![Coverage Status](https://img.shields.io/codecov/c/gh/jacebrowning/universal-startfile)](https://codecov.io/gh/jacebrowning/universal-startfile) [![PyPI License](https://img.shields.io/pypi/l/universal-startfile.svg)](https://pypi.org/project/universal-startfile) [![PyPI Version](https://img.shields.io/pypi/v/universal-startfile.svg)](https://pypi.org/project/universal-startfile) [![PyPI Downloads](https://img.shields.io/pypi/dm/universal-startfile.svg?color=orange)](https://pypistats.org/packages/universal-startfile) ## Setup ### Requirements * Python 3.9+ ### Installation Install it directly into an activated virtual environment: ```text $ pip install universal-startfile ``` or add it to your [Poetry](https://poetry.eustace.io/) project: ```text $ poetry add universal-startfile ``` ## Usage After installation, import the `startfile` function: ```python from startfile import startfile startfile("~/Downloads/example.png") startfile("http://example.com") ```


زبان مورد نیاز

مقدار نام
<4.0,>=3.9 Python


نحوه نصب


نصب پکیج whl universal-startfile-0.4:

    pip install universal-startfile-0.4.whl


نصب پکیج tar.gz universal-startfile-0.4:

    pip install universal-startfile-0.4.tar.gz