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.
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
Built Distribution
Close
Hashes for universal-startfile-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe7d0d88c017b1a68ad05e4ea024036e44771173f93f00f79b72fe2cbaa8b573 |
|
MD5 | c9f882d1cbf54ecda9701dd8bf26b53f |
|
BLAKE2b-256 | b0fd26e6057d10499a8550b53dd59a7132ecf3b3b2b05042b0f3226b61f8cd16 |
Close
Hashes for universal_startfile-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 676ca05f56ad469ebd76d593c2531b1a1371c186e9c98beb00fed886b2fb56d1 |
|
MD5 | 85a4a92517b3fc3a3584ea91282efe98 |
|
BLAKE2b-256 | 62317efe38d4ac3d221f9abd803e85a50ecf9390de027fac3e2e1ad89e3787bd |