html tags and python

2005-03-25 Thread Hansan
Hi all I am making something for my webpage Where the user can choose a month: I have made that with a dropdown box. January February March April May June July August September October November Dece

Re: html tags and python

2005-03-25 Thread Hansan
Thanks. Do you know what I should google after, which key words ? regards... "Kane" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > If I understand what you are asking then Python & CGI are a poor > solution. It would be easy to have one page ask for the month, click > submit, t

Re: html tags and python

2005-03-26 Thread Hansan
int "Arrangemenetet er nu oprettet." print " " Im which scritp, and how do I make an error message if the day is out of range. It is prolly something like: if month = 1 then days have to be >1 and < 32 else print " day entered out of range" if month = 2 and

Re: html tags and python

2005-03-26 Thread Hansan
Hi and thanks for the replies. It is starting to make a little sense. But its still not that clear... If I import the DateTime or install and import the mx package. Where should I then change something in my code? I guess that I will have to see if the entered number is valid when the user click

Re: html tags and python

2005-03-28 Thread Hansan
Hi and thanks for your replies. Will one still tell me how I use the timedate modul with my form print ''' Day (1-31): Month (1-12): print '' -- It is starting to make a little sense. B

Re: html tags and python

2005-03-28 Thread Hansan
I figured it out with a lot of if else statements, but still if one have time to explain how the time/date modul works with forms, I will be more than happy to lear. Thanks "Hansan" wrote in message news:[EMAIL PROTECTED] > Hi and thanks for your replies. > > Will one

Problem with sending a variable(python) while using html

2005-04-27 Thread Hansan
Hi all. I am working on a webpage where I use python and html. When I want to send one variable to a new script/page I use the following code: 0) print '' This works fine, the problem occurs when I want to send a variable to a page while using a 1)meta refresh or a 2)Href. 1) and 2) works

Re: Problem with sending a variable(python) while using html

2005-04-27 Thread Hansan
I want to send both the first variable called variable and the second one(variable_name) to the script (script.py) Hope that makes some sense :) "Jaime Wyant" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On 4/27/05, Hansan <[EMAIL PROTECTED]> wrote: >

Re: Problem with sending a variable(python) while using html

2005-04-28 Thread Hansan
Thanks for you help, it is working now :D Take care "Kent Johnson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hansan wrote: >> Hi. >> >> Sorry forgot to post a "non-working" example >> >> That could be >>

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

Re: Problem combining python code and html

2005-05-11 Thread Hansan
new problem is ? Thanks for your time "Fredrik Lundh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hansan wrote: > >> I used the same code they use for making the two display functions and >> the >> same template for the html form. I

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 prob

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: > >>