Skip to main content

A cross-platform version of `os.startfile` from the standard library.

Project description

Overview

A cross-platform version of os.startfile from the standard library.

Unix Build Status Windows Build Status Coverage Status Scrutinizer Code Quality PyPI License PyPI Version PyPI Downloads

Setup

Requirements

  • Python 3.7+

Installation

Install it directly into an activated virtual environment:

$ pip install universal-startfile

or add it to your Poetry project:

$ poetry add universal-startfile

Usage

After installation, import the startfile function:

from startfile import startfile

startfile("~/Downloads/example.png")
startfile("http://example.com")

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

universal-startfile-0.0.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

universal_startfile-0.0.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file universal-startfile-0.0.1.tar.gz.

File metadata

  • Download URL: universal-startfile-0.0.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.9 Darwin/21.6.0

File hashes

Hashes for universal-startfile-0.0.1.tar.gz
Algorithm Hash digest
SHA256 fe7d0d88c017b1a68ad05e4ea024036e44771173f93f00f79b72fe2cbaa8b573
MD5 c9f882d1cbf54ecda9701dd8bf26b53f
BLAKE2b-256 b0fd26e6057d10499a8550b53dd59a7132ecf3b3b2b05042b0f3226b61f8cd16

See more details on using hashes here.

File details

Details for the file universal_startfile-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for universal_startfile-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 676ca05f56ad469ebd76d593c2531b1a1371c186e9c98beb00fed886b2fb56d1
MD5 85a4a92517b3fc3a3584ea91282efe98
BLAKE2b-256 62317efe38d4ac3d221f9abd803e85a50ecf9390de027fac3e2e1ad89e3787bd

See more details on using hashes here.

Supported by

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