@codebrainz  Just make it work on windows with command only without script file 
as suggested.

**Commands:**

* lower
        `python -c "import sys; sys.stdout.write(sys.stdin.read().lower())"`
* upper
        `python -c "import sys; sys.stdout.write(sys.stdin.read().upper())"`
* capital
        `python -c "import sys; sys.stdout.write(sys.stdin.read().title())"`

**But it's a bit different from linux**, to make it work need to make sure 
following tips are applied.

**Tips:**

- Make sure **python** is in `PATH`.
  Refer: 
https://stackoverflow.com/questions/11439607/geany-unable-to-execute-python
- In the script line, need to use double quote, other than single quote, 
otherwise will get error.
  e.g `python -c "import sys; sys.stdout.write(sys.stdin.read().lower())"`
  Refer: https://stackoverflow.com/a/39401530

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1929#issuecomment-416446747

Reply via email to