If I use command line scripts within my scripts like so:
@ trace
def play(self, event = None, text = None):
if event == None:
self.textlist = []
for item in text.split(' '):
self.textlist.append(item)
print self.textlist
for word in self.textlist:
self.espeak = subprocess.Popen(['espeak', word], stdout =
subprocess.PIPE).communicate()[0]
if event != None:
self.textlist = []
for item in self.text2speech.GetValue().split(' '):
self.textlist.append(item)
print self.textlist
for word in self.textlist:
self.espeak = subprocess.Popen(['espeak', word], stdout =
subprocess.PIPE).communicate()[0]
Is this a reduction in my app comprehension, or is it normally used?
Secondly, How does this reduce my apps portability?
Thanks,
David Hutto
···
--
Sometimes...my mama...says I get over excited about technology.
If I use command line scripts within my scripts like so:
@ trace
def play\(self, event = None, text = None\):
if event == None:
self\.textlist = \[\]
for item in text\.split\(' '\):
self\.textlist\.append\(item\)
print self\.textlist
for word in self\.textlist:
self\.espeak = subprocess\.Popen\(\['espeak', word\], stdout =
subprocess.PIPE).communicate()[0]
if event \!= None:
self\.textlist = \[\]
for item in self\.text2speech\.GetValue\(\)\.split\(' '\):
self\.textlist\.append\(item\)
print self\.textlist
for word in self\.textlist:
self\.espeak = subprocess\.Popen\(\['espeak', word\], stdout =
subprocess.PIPE).communicate()[0]
Is this a reduction in my app comprehension,
Meaning, should i use another method, other than command line usage
through the python subprocess module?
or is it normally used?
···
On Fri, Jan 7, 2011 at 11:22 PM, David Hutto <smokefloat@gmail.com> wrote:
Secondly, How does this reduce my apps portability?
Thanks,
David Hutto
This is the wxpython-users list, your question is not specific for this list.
···
–
Hi, I will kill all ads in google gmail.
They will all be dead and gone for all my emails to you. HA HA bye bye ads I just massacred you!!!