Re: Problem combining python code and html

2005-05-12 Thread Hansan
Hi all and thanks for the help, With help from Fredrik I got the code working, I will also look into the links you guys have suggested. Hope you all are feeling well and happy. "has" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hansan wrote: > >> And is there a nother way to c

Re: Problem combining python code and html

2005-05-12 Thread has
Hansan wrote: > And is there a nother way to combine python code and html templates? There's a decent list of Python templating engines at: http://www.python.org/moin/WebProgramming Look about a third of the way down down under "Variable Insertion-Replacement Templating Applications (Pre-proces

Re: Problem combining python code and html

2005-05-12 Thread Fredrik Lundh
"Hansan" wrote: > The change did remove the error message, and I can see what was wrong. > However there is now a new problem, the only thing that is displayed is one > single character and that is: < > > Do you or anyone else have a suggestion to what the cause to this new > problem is ? my faul

Re: Problem combining python code and html

2005-05-12 Thread Hansan
Any suggestions to the problem with only one character being displayed? Thanks Thanks for your time "Bruno Desthuilliers" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hansan a écrit : >> Hi all, I hope you have time to help me out a little. My problem is that >> I want to combi

Re: Problem combining python code and html

2005-05-11 Thread Bruno Desthuilliers
Hansan a écrit : > Hi all, I hope you have time to help me out a little. My problem is that I > want to combine some python code I have made with some html templates, I > found a tutorial at dev shed: (snip a whole lot of code) > But I get the error message: > error: multiple repeat > arg

Re: Problem combining python code and html

2005-05-11 Thread Hansan
Thanks for you reply and Help Fredrik Lundh The change did remove the error message, and I can see what was wrong. However there is now a new problem, the only thing that is displayed is one single character and that is: < Do you or anyone else have a suggestion to what the cause to this new pr

Re: Problem combining python code and html

2005-05-11 Thread Fredrik Lundh
Hansan wrote: > I used the same code they use for making the two display functions and the > same template for the html form. I even tried using the form template they > use too, but it still dosnt work. I will now show how the functions and > templates look like. > > The two display functions are

Problem combining python code and html

2005-05-11 Thread Hansan
Hi all, I hope you have time to help me out a little. My problem is that I want to combine some python code I have made with some html templates, I found a tutorial at dev shed: http://devshed.spunge.org/Server_Side/Python/CGI/page6.html and : http://devshed.spunge.org/Server_Side/Python/CGI/pag