Re: to execute executable.py from view.py

2011-01-03 Thread gintare
One more related question. Is it possible to use string in views.py as a function ( string from textarea (in search.html )) i.e. # search.html input function name this search.html after being registered in urls.py shows input text area. I prompt to write the name of function. I get this

to execute executable.py from view.py

2010-12-29 Thread gintare
I would like by using #in views.py def myfnc(): subprocess.Popen( '/polls/executable.py', executable='/usr/lib/ python') execute executable.py from views.py function. I am getting error that terminal is already taken. This is true - django manage.py runserver keeps django webpages ON.