Skip to main content

escape characters functions and utilities

Project description

Escape

logo
version license open issues downloads code size

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyescape, version 2019.10.16.8.31.59.29937
Filename, size File type Python version Upload date Hashes
Filename, size pyescape-2019.10.16.8.31.59.29937-py2.py3-none-any.whl (6.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size pyescape-2019.10.16.8.31.59.29937.tar.gz (1.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page