Re: [Tutor] Command line scripts

2011-01-13 Thread David Hutto
On Thu, Jan 13, 2011 at 8:41 AM, David Hutto wrote: > As you can tell, I was excited, and impressed by my own work, and > therefore thought you should follow my wise and almighty work. On the flip side, it's like being an electrician, and seeing the lights come on when you hook the box up. _

Re: [Tutor] Command line scripts

2011-01-13 Thread David Hutto
As you can tell, I was excited, and impressed by my own work, and therefore thought you should follow my wise and almighty work. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo

Re: [Tutor] Command line scripts

2011-01-12 Thread David Hutto
Although, you did just that, didn't pay attention to the whole thing. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Command line scripts

2011-01-12 Thread David Hutto
Although, I'd just go with a function that gets passed the text, that way it was reusable, like the one I gave. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Command line scripts

2011-01-12 Thread David Hutto
I think it works great as an easy integration for the blind(although I'm sure there is already a python module for that somewhere), as long as they have espeak(or it can be easily adapted), but also if you just like the ai feel of a voice in your apps. __

Re: [Tutor] Command line scripts

2011-01-12 Thread David Abbott
On Wed, Jan 12, 2011 at 9:29 PM, David Hutto wrote: > On Sun, Jan 9, 2011 at 9:03 AM, ALAN GAULD wrote: >> >> >>> The following line is what I mean by calling a  command line from within the >>>app >>> using subprocess. >>> >>> self.espeak =  subprocess.Popen(['espeak', word],stdout  = >>> subpro

Re: [Tutor] Command line scripts

2011-01-12 Thread David Hutto
On Sun, Jan 9, 2011 at 9:03 AM, ALAN GAULD wrote: > > >> The following line is what I mean by calling a  command line from within the >>app >> using subprocess. >> >> self.espeak =  subprocess.Popen(['espeak', word],stdout  = >> subprocess.PIPE).communicate()[0] > > OK, Now I understand. > You wan

Re: [Tutor] Command line scripts

2011-01-09 Thread ALAN GAULD
> The following line is what I mean by calling a command line from within the >app > using subprocess. > > self.espeak = subprocess.Popen(['espeak', word],stdout = > subprocess.PIPE).communicate()[0] OK, Now I understand. You want to call an external application from within your code via

Re: [Tutor] Command line scripts

2011-01-09 Thread David Hutto
On Sat, Jan 8, 2011 at 9:10 AM, Alan Gauld wrote: > "David Hutto" wrote > >> If I use as command line script, is there any disruption in the >> execution of the code using wxpython. > > I don't understand the question. > wxPython is a GUI toolkit so how would you have a command > line script usin

Re: [Tutor] Command line scripts

2011-01-08 Thread Alan Gauld
"David Hutto" wrote If I use as command line script, is there any disruption in the execution of the code using wxpython. I don't understand the question. wxPython is a GUI toolkit so how would you have a command line script using wxPython? Or do you mean running a wxPython GUI program from t

[Tutor] Command line scripts

2011-01-08 Thread David Hutto
This is somewhat of a cross post,but I think it applies here as well. If I use as command line script, is there any disruption in the execution of the code using wxpython. In other words, is a command line app different from bindings in a compiled app? @ trace def play(self, event =