Re: Form processing using bash script

2009-10-06 Thread Carlos Gustavo
Brilliant! Just what I needed to hear. :-) Thanks, Kevin. -Carlos. On Tue, Oct 6, 2009 at 3:56 PM, Kevin Teague wrote: > > > > On Oct 6, 12:02 pm, Carlos Gustavo wrote: > > Thanks Kevin, > > > > I would give it a shot. Doesn't sound as easy as I had

Re: Form processing using bash script

2009-10-06 Thread Kevin Teague
On Oct 6, 12:02 pm, Carlos Gustavo wrote: > Thanks Kevin, > > I would give it a shot. Doesn't sound as easy as I had hoped. :-) > To make things even harder, keep in mind that any data gotten from the HTTP request which is passed on to a shell call as an argument must

Re: Form processing using bash script

2009-10-06 Thread Carlos Gustavo
Thanks Kevin, I would give it a shot. Doesn't sound as easy as I had hoped. :-) -Carlos. On Tue, Oct 6, 2009 at 2:55 PM, Kevin Teague wrote: > > Use the os.subprocess module in the python standard library to invoke > the bash script from your django view code: > >

Re: Form processing using bash script

2009-10-06 Thread Kevin Teague
Use the os.subprocess module in the python standard library to invoke the bash script from your django view code: http://docs.python.org/library/subprocess.html Although in my experience, when there is a bash script wrapping a number of calls to other programs, I tend to find it easier to work

Re: Form processing using bash script

2009-10-06 Thread Carlos Gustavo
Hi Daniel, Thanks for the response to my mail. These input values are used by a bash script containing various C programs and the processing results in graph that needs to be displayed as an image plot on the response form. Thanks again. -Carlos On Tue, Oct 6, 2009 at 2:01 PM, Daniel Roseman

Re: Form processing using bash script

2009-10-06 Thread Daniel Roseman
On Oct 6, 6:01 pm, Carlos Gustavo wrote: > Hi Everyone, > > I am Django newbie and the experience has been exciting. > > I want some help with the ff. challenge I am now facing: > > How can I get a Django form to process a bash script executing a bunch of C > programs

Form processing using bash script

2009-10-06 Thread Carlos Gustavo
Hi Everyone, I am Django newbie and the experience has been exciting. I want some help with the ff. challenge I am now facing: How can I get a Django form to process a bash script executing a bunch of C programs running on linux. Any pointers or suggestions would be deeply appreciated. Thanks