can anyone help me in developing a simple webpage in jinja2

2013-04-05 Thread Satabdi Mukherjee
i am a rookie in python and i am trying to develop a simple webpage using jinja2. can anyone please help me how to do that i am trying in this way but showing invalid syntax error My Webpage {% for item in navigation %} {{ item.caption }} {% endfor %} My W

problem in running a basic code in python 3.3.0 that includes HTML file

2013-04-04 Thread Satabdi Mukherjee
i have written this code and i need to run this file def CreateEvent(str): "This prints a passed string into this function"; print str; return; CreateEvent (print''' content-type: text/html the list of all possible events that can be notified by our system tsunami earth