Help - Search - Members - Calendar
Full Version: How To Use Python Online
Zymic Webmaster Forums > Web Design & Development > Server Side Scripting > Python
Boopathi
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 ???
vruttimehta
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.
akonmask
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.
sspmb
Im also new to python

Wanna learn something about Python

Hope will help me regarding this
mattsteve
Python is simply the programming language used to make this, I havent actually named ... For other OS,
miajohnson
Bhoopati..
You can use either PHP or Python for writing server side programs, as they both are server side scripting languages.
hellio1
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
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.