Skip to content

Jeje2201/Python-String-Replace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Introducing Python String Replacer: Customize Your Text, Your Way!

Tired of being limited by manual text editing? Say hello to String Replacer, your ultimate tool for on-the-fly text customization!

You found an issue or have an idea ? Here

What is String Replacer?

String Replacer is a dynamic Python script that empowers you to replace any string as you type, anywhere on your device. Whether you're composing an email, writing code, or updating a document, String Replacer puts the power of text manipulation at your fingertips.

Key Features:

  1. Real-Time Editing: Seamlessly replace text as you type, regardless of the application or platform you're using. No need to pause or switch between programs – String Replacer works wherever you do.

  2. Custom Replacement: Tailor your text to your exact specifications by replacing strings with the phrases, words, or characters of your choice. With String Replacer, your text reflects your unique style and preferences.

  3. Offline and Secure: Enjoy uninterrupted editing sessions without the need for an internet connection. String Replacer operates locally on your device, ensuring your data stays private and secure. Nothing is sent anywhere – everything is stored safely on your computer.

How Does it Work?

Using String Replacer is effortless:

  1. Type Anywhere: Start typing as you normally would, in any application or window on your device.

  2. Replace on the Fly: Whenever you want to replace a string, simply edit the current script code to what you want

  3. Instant Transformation: Watch as String Replacer instantly updates your text, seamlessly integrating your changes without interrupting your workflow.

Get Started Today!

Ready to streamline your text editing experience? Download String Replacer now and discover the freedom of real-time text customization.

Open Source and Free: String Replacer's code is open source and free to use, so you can customize it to suit your needs or contribute to its development.

Don't let manual editing slow you down. With String Replacer, every word is yours to command!

How to run it

  1. Install Python: If you haven't already, ensure Python is installed on your computer. You can download it from the official Python website.
  2. Download the Script: Download the script.py file to your computer
  3. Edit the Script: Open script.py in a text editor and customize the word_replacements dictionary with the strings you want to find and their corresponding replacements. For example:
    word_replacements = {
        "(joy)": "πŸ˜‚",
        "(sob)": "😭",
        "(angel)": "πŸ˜‡"
    }
  4. Install Required Module: Execute the following command in your terminal or command prompt to install the keyboard module, which is required for keyboard interaction:
    pip install keyboard
    
  5. Run the Script: Navigate to the directory where script.py is located and run the following command:
    python script.py
    
  6. Enjoy: Start typing anywhere, and watch as String Replacer dynamically replaces the specified strings with their replacements.
  7. Stop it: You can stop it by press alt+p

About

A python script that allow the user to replace a text typed by an other one.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages