escape characters functions and utilities
Project description
Escape
Escape
is a package handling characters
that should be escaped such as: '" \n\t.
Installation
pip install pyescape -U
Requirements
- Python 3.6+
Features
- Escape class
Usage
from os import system
from escape import Escape
from sys import executable
escape = Escape('"\' ')
executable = '"'+executable+'"' # python executable with special characters
system(executable+' -c "print(\'hello world\')"')
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file pyescape-2019.10.16.8.31.59.29937.tar.gz
.
File metadata
- Download URL: pyescape-2019.10.16.8.31.59.29937.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 718ad7f507c991523bdb027a99f550b6f10145aae27abd0f550a0643ffeb60f1 |
|
MD5 | 18cd642e45edd2eedfeb3efd0bb86187 |
|
BLAKE2b-256 | 11de78db8bc5625cda0918dd8eac18ec376c43c589b252cc8ad0208bd9332eca |
File details
Details for the file pyescape-2019.10.16.8.31.59.29937-py2.py3-none-any.whl
.
File metadata
- Download URL: pyescape-2019.10.16.8.31.59.29937-py2.py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17531976bac1c89f02f92f1cdf330b333b7b045cbfa28e6bdd681f516f91f6ce |
|
MD5 | 6ea3084a9876bd4fd2c547c7e833ebeb |
|
BLAKE2b-256 | 250434615f5fd6bcd321e7ea7572ea5f0398b014fc01b6f0629868156a9bdb5a |