Configuraion to run pyhton script on ubuntu 12.04

2013-07-28 Thread Jaiky
want to run a python script which contains simple form of html on firefox browser , but dont know what should be the configuration on ubuntu 12.04 to run this script i.e cgi configuration My code is ubder in /var/www/cgi-bin/forms__.py #!/usr/bin/env python import webapp2 form ="""

Re: Configuraion to run pyhton script on ubuntu 12.04

2013-07-28 Thread Jaiky
Sir i already tried this "Alias" concept I did the following steps === Step 1: added "ScriptAlias /cgi-bin/ /var/www/cgi-bin/" in /etc/apache2/sites-available/default ==

Re: Configuraion to run pyhton script on ubuntu 12.04

2013-07-29 Thread Jaiky
Problem solved regarding cgi configuration on ubuntu 12.04 lts Concept:-) file used:-) /etc/apache2/httpd.conf /etc/apache2/sites-available/default steps done 1:-) in /etc/apache2/httpd.conf added line

AssertionError: Headers already set! Status: 500 Internal Server Error Content-Type: text/plain Content-Length: 59

2013-07-29 Thread Jaiky
learning web concpt in python wrote code in /usr/lib/cgi-bin/hello_world.py ### #!/usr/bin/env python import webapp2 form =""" http://www/google.com/search";> """ class MainPage(webapp2.RequestHa

ImportError: No module named appengine.ext

2013-07-31 Thread Jaiky
hey learning python problem facing is under when typing on interpreter >>> from google.appengine.ext import db Traceback (most recent call last): File "", line 1, in ImportError: No module named appengine.ext what to do please help . -- http://mail.python.org/mailman/listinfo/python-l

Re: ImportError: No module named appengine.ext

2013-07-31 Thread Jaiky
you mean to say SDK for python ?/ -- http://mail.python.org/mailman/listinfo/python-list

How to install googleapp engine on ubuntu 12.04 already downloads google_appengine_1.8.2.zip

2013-08-01 Thread Jaiky
How to install googleapp engine on ubuntu 12.04 already did: downloaded google_appengine_1.8.2.zip unziped it now?/ please help -- http://mail.python.org/mailman/listinfo/python-list

os.system() not responding on django... any reason?

2013-03-01 Thread Jaiky
import sys,os sys.stderr = open('/dev/null') import paramiko sys.stderr = sys.__stderr__ os.system("echo \'s3\' >> myfile.txt ") #debug first in ssh2 def ssh2_connect(host, user, pswd, port=22): try: ssh = paramiko.SSHClient() ssh.load_system_host_keys() ssh.set_missin

Re: os.system() not responding on django... any reason?

2013-03-01 Thread Jaiky
it is running in view.. -- http://mail.python.org/mailman/listinfo/python-list

Re: os.system() not responding on django... any reason?

2013-03-01 Thread Jaiky
in django inviroment.. -- http://mail.python.org/mailman/listinfo/python-list