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
Close
Hashes for pyescape-2019.10.16.7.48.18.38427.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f76a710b77447bd93a8ad89003fc7a3341ba37a0a67d97af3ccb24b7c60f300 |
|
MD5 | 66a01298b001775f5186cb1d90a34180 |
|
BLAKE2b-256 | 3f60884e22e46a85e156ce0fc216d85d5b1a4eb403557d783e8fe4d0060d9ec1 |
Close
Hashes for pyescape-2019.10.16.7.48.18.38427-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a677ece4a402b36cefc5e496c7c705f476e57567be2d6d104c4ffaeb77d73f3 |
|
MD5 | 5ae61ee0e26968f0fd289bf173db369d |
|
BLAKE2b-256 | 8b73fbcc7bf7b4f8b204ab0a71430fe5749dbf2ee15435acb95c09d7aee3e7ca |