pathwin 1.0.1

Creator: railscoder56

Last updated:

Add to Cart

Description:

pathwin 1.0.1

pathwin
setPath is a library for easy manipulation of the Windows environment variable Path.
import pathwin

examplePath = "C:\\example\\"

# Manipulation of system environment variables
pathwin = Path(True)

# Manipulation of user environment variables
pathwin = Path(False)

# get Path
existPath = pathwin.getPath()
# -> "C:\\example;C:\\example2"

existPathList = pathwin.getPathList()
# -> ["C:\\example", "C:\\example2"]

# Path Override
pathwin.setPath(existPath + ";" + examplePath)

# Add to top
pathwin.addPath(examplePath)

# Fourth Add to
pathwin.addPath(examplePath, 3)

# delete path
pathwin.removePath(examplePath)

Installing pathwin and Supported Versions
pip install pathwin

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.