From 5b591b79c67d95d4200d7c90b4b7150e111635eb Mon Sep 17 00:00:00 2001 From: Matthijs van der Burgh Date: Mon, 22 Jul 2024 11:46:21 +0200 Subject: [PATCH] (rwc2024) Use env python (#25) Use env python --- scripts/play.py | 2 +- src/google_tts.py | 2 +- src/sing.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/play.py b/scripts/play.py index 91fe74f..ea3fde0 100755 --- a/scripts/play.py +++ b/scripts/play.py @@ -1,4 +1,4 @@ -#! /usr/bin/python +#! /usr/bin/env python from text_to_speech.srv import Play, PlayRequest diff --git a/src/google_tts.py b/src/google_tts.py index 37bbc5c..b494560 100755 --- a/src/google_tts.py +++ b/src/google_tts.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#! /usr/bin/env python '''Adapted from http://glowingpython.blogspot.nl/2012/11/text-to-speech-with-correct-intonation.html''' import roslib; roslib.load_manifest('text_to_speech_google') diff --git a/src/sing.py b/src/sing.py index 53b6af5..0c30f35 100755 --- a/src/sing.py +++ b/src/sing.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#! /usr/bin/env python import os TTS_EXE_FILE = "../exec/ptts_v911.exe" filename = "/tmp/speech.wav"