multiple replace
Project description
Installation
$ [sudo] pip install replace
Examples
import replace
>>> replace.replace(["3.6","3.7","3.8"], {"3.7": "3.7-dev", "3.8": "3.8-dev"})
["3.6","3.7-dev","3.8-dev""3.8"]
>>> replace.replace("package/module.py", {"/": ".", ".py": ""})
"package.module"
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
replace-2020.12.3.tar.gz
(1.3 kB
view hashes)