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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe7d0d88c017b1a68ad05e4ea024036e44771173f93f00f79b72fe2cbaa8b573
|
|
| MD5 |
c9f882d1cbf54ecda9701dd8bf26b53f
|
|
| BLAKE2b-256 |
b0fd26e6057d10499a8550b53dd59a7132ecf3b3b2b05042b0f3226b61f8cd16
|
File details
Details for the file universal_startfile-0.0.1-py3-none-any.whl.
File metadata
- Download URL: universal_startfile-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.9 Darwin/21.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
676ca05f56ad469ebd76d593c2531b1a1371c186e9c98beb00fed886b2fb56d1
|
|
| MD5 |
85a4a92517b3fc3a3584ea91282efe98
|
|
| BLAKE2b-256 |
62317efe38d4ac3d221f9abd803e85a50ecf9390de027fac3e2e1ad89e3787bd
|