1

I am following this post. I have to send a dynamic html such that its content would change similiar to JSPs. How can that be achieved using shell scripts?

Abhishek Singh
  • 9,749
  • 20
  • 71
  • 102

1 Answers1

1

I would recommend using python, if you want dynamic content, means you will store variables, which means you may eventually need a db or you can access csv from python, you can simply call the process shell from python by

from subprocess import call
print subprocess.Popen("echo Hello World", shell=True, stdout=subprocess.PIPE).stdout.read()

now you can simple compose the command from python, and accessing db becomes easy, multi-threading and etc... i would have made this a comment but i can't comment

zero
  • 162
  • 1
  • 5