Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Latest commit

 

History

History
executable file
·
28 lines (19 loc) · 698 Bytes

README.md

File metadata and controls

executable file
·
28 lines (19 loc) · 698 Bytes

wslpy

pypi

wslpy is far from complete. the API will change frequently.

This is a Python3 library for WSL specific tasks, and you can use it to do something amazing:

>>> import wslpy as wp
>>> wp.is_wsl()
True
>>> wp.exec.cmd('ver')
Microsoft Windows [Version 10.0.18219.1000]
>>> wp.convert.to('/mnt/c/Windows/')
'c:\\Windows\\'
>>>

Installation

you can install from pypi using pip install wslpy, or install from source using python3 setup.py install

License

This project uses GPLv3 License.