python server side scripting with apache2

2008-04-18 Thread syed mehdi
Hi Guys, I want to do server side scripting in python for one of my applications. So after installing apache2, python lib for apache2 (libapache2), and doing some changes in default file in /etc/apache2/sites-available i was able to execute python scripts in /var/www/ directory from client side

argument to python cgi script

2008-04-09 Thread syed mehdi
Hi Guys, If someone can help me in telling how can i pass arguments to python cgi script then that will be good. like if i want to pass "some argument" to my remote python script, by calling something like: http://localhost/cgi-bin/test.py?some\ argument. What is the correct way of sending argument

Re: ImportError: No module named MySQLdb

2008-04-07 Thread syed mehdi
Thanks Gabriel, it worked after installing MySQL (database engine). Regards Syed On Tue, Apr 8, 2008 at 10:23 AM, Gabriel Genellina <[EMAIL PROTECTED]> wrote: > En Tue, 08 Apr 2008 00:35:29 -0300, syed mehdi <[EMAIL PROTECTED]> > escribió: > > > I have been working i

ImportError: No module named MySQLdb

2008-04-07 Thread syed mehdi
Hi Guys, I have been working in python from some time now, while writing a python script i used: import MySQLdb in my script to do some database related operations. When i tried to execute the same script on another system it gave me an error as: "ImportError: No module named MySQLdb" though mysqld