Instructions and software requirements added to header of script.
This commit is contained in:
+17
-1
@@ -1,6 +1,22 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- 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
|
import os, sys, shutil, platform, subprocess, wave, zipfile
|
||||||
|
|
||||||
def generate(str, idx):
|
def generate(str, idx):
|
||||||
|
|||||||
Reference in New Issue
Block a user