mirror of
https://github.com/opentx/opentx.git
synced 2025-07-21 15:25:17 +03:00
Instructions and software requirements added to header of script.
This commit is contained in:
parent
b9a74b0f89
commit
17945fc24f
1 changed files with 17 additions and 1 deletions
18
util/tts.py
18
util/tts.py
|
@ -1,6 +1,22 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
|
||||
# To use this script you need the following installed
|
||||
# Python 2.5 http://www.python.org/download/releases/2.5.4/
|
||||
# Python 2.7 http://www.python.org/download/releases/2.7.3/
|
||||
# PyTTS http://pypi.python.org/pypi/pyTTS
|
||||
#
|
||||
# Note
|
||||
# At the moment, pyTTS is only available for Python 2.3, 2.4 and 2.5. To use it for later versions without having to
|
||||
# recompile it, a quick and dirty solution is to:
|
||||
# copy the entire pyTTS directory from Python25\Lib\site-packages to Python26 or Python27
|
||||
# replace TTSFast.py with an empty file. This way the version-dependent pyd file isn't loaded.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
import os, sys, shutil, platform, subprocess, wave, zipfile
|
||||
|
||||
def generate(str, idx):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue