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

2013-04-04 Thread Terry Jan Reedy
On 4/4/2013 3:08 PM, Satabdi Mukherjee wrote: i have written this code and i need to run this file def CreateEvent(str): Using the builtin name 'str' as a parameter name is a bad idea. Use 's' or 'string' or something instead. "This prints a passed string into this function"; The line abov

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