Apr 6 2010, 09:57 AM
Im a beginner ..
just learned python scripting basics ..
i know serverside scripting language - php
im interested in using it online
have no idea of how to use it online .. !
can someone explain how to use it with a server .. !
is it used like an executable where you send data from php
or can be used instead of php ???
Apr 24 2011, 05:30 AM
When a user enters a web site, their browser makes a connection to the site’s web server (this is called the request). The server looks up the file in the file system and sends it back to the user’s browser, which displays it (this is the response). This is roughly how the underlying protocol, HTTP, works.
Dynamic web sites are not based on files in the file system, but rather on programs which are run by the web server when a request comes in, and which generate the content that is returned to the user. They can do all sorts of useful things, like display the postings of a bulletin board, show your email, configure software, or just display the current time. These programs can be written in any programming language the server supports. Since most servers support Python, it is easy to use Python to create dynamic web sites.
Most HTTP servers are written in C or C++, so they cannot execute Python code directly – a bridge is needed between the server and the program. These bridges, or rather interfaces, define how programs interact with the server. There have been numerous attempts to create the best possible interface, but there are only a few worth mentioning.
Not every web server supports every interface. Many web servers only support old, now-obsolete interfaces; however, they can often be extended using third-party modules to support newer ones.
May 9 2011, 04:31 PM
First in which server you have to use Python is needed, And all the Server connectivity is different from other ones. In HTTP server or FTP server has local connectivity and no more difficulties in it, But in advance you have to facing major problems.
Jul 7 2011, 11:04 AM
Im also new to python
Wanna learn something about Python
Hope will help me regarding this
Apr 2 2012, 08:50 PM
Python is simply the programming language used to make this, I havent actually named ... For other OS,
Apr 3 2012, 06:43 AM
You can use either PHP or Python for writing server side programs, as they both are server side scripting languages.
Oct 25 2012, 09:11 PM
QUOTE(kbken @ Oct 22 2012, 09:28 AM)
you can learn some python based web application framework like django etc.
.. see here https://docs.djangoproject.com/en/dev/intro/tutorial01/
for the django documentation of writing an app