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 ="""
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
==
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
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
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
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 did:
downloaded google_appengine_1.8.2.zip
unziped it
now?/ please help
--
http://mail.python.org/mailman/listinfo/python-list
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
it is running in view..
--
http://mail.python.org/mailman/listinfo/python-list
in django inviroment..
--
http://mail.python.org/mailman/listinfo/python-list
10 matches
Mail list logo