reverse() is not working

2011-12-28 Thread Nirmal Kumar
I am trying to pass the id to thanks view through reverse. But it's not working. I'm getting this error Reverse for 'reg.views.thanks' with arguments '(20,)' and keyword arguments '{}' not found. I posted the question with the code in stackoverflow: http://stackoverflow.com/questions/8648196/r

return codes from os.spawn

2007-09-17 Thread Nirmal
code >>> os.spawnv(os.P_WAIT, '$JAVA_HOME/bin', ('java', '$JAVA_HOME/bin/java ex3178 true)) 127 >>> os.spawnv(os.P_WAIT, '$JAVA_HOME/bin', ('java', '$JAVA_HOME/bin/java ex3178')) 127 please let me know how can we identify that the process is completed successfully or not ? Thanks, Nirmal -- http://mail.python.org/mailman/listinfo/python-list