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.

Source Distribution

pyescape-2019.10.16.8.31.59.29937.tar.gz (1.9 kB view hashes)

Uploaded Source

Built Distribution

pyescape-2019.10.16.8.31.59.29937-py2.py3-none-any.whl (6.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page