Re: Python as a scripting language. Alternative to bash script?

2010-06-29 Thread eric dexter
On Jun 28, 5:48 am, Dave Pawson wrote: > I've a fairly long bash script and I'm wondering > how easy it would be to port to Python. > > Main queries are: > Ease of calling out to bash to use something like imageMagick or Java? > Ease of grabbing return parameters? E.g. convert can return both > he

Re: problems getting os.system and wxmenu to read options from a file and then execute

2010-06-27 Thread eric dexter
On Jun 27, 8:18 pm, MRAB wrote: > eric dexter wrote: > > On Jun 27, 5:56 pm, MRAB wrote: > >> eric_dex...@msn.com wrote: > >>> I managed to get the program running and the menu options are > >>> appearing on the list but the programs are not running.

Re: Why Python3

2010-06-27 Thread eric dexter
On Jun 27, 7:46 pm, MRAB wrote: > Stephen Hansen wrote: > > On 6/27/10 6:09 PM, MRAB wrote: > >> Terry Reedy wrote: > >>> Another would have been to add but never remove anthing, with the > >>> consequence that Python would become increasingly difficult to learn > >>> and the interpreter increasin

Re: problems getting os.system and wxmenu to read options from a file and then execute

2010-06-27 Thread eric dexter
On Jun 27, 5:56 pm, MRAB wrote: > eric_dex...@msn.com wrote: > > I managed to get the program running and the menu options are > > appearing on the list but the programs are not running.  I suspect it > > is my onexecutemethod > > [snip] > > >         #add execute files from the text file list > >