- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to do CGI programming in Python?
CGI Programming
The Common Gateway Interface, or CGI, is a set of standards that define how information is exchanged between a web server and a custom script.
Python CGI Programming is about running our Python Scripts on the web. For that we have to learn how Python can be executed as a CGI Script. We must know first how to configure our web server to make Python run as CGI. We then see how a simple Python CGI Script looks like and what are the different components of the CGI script. We also familiarise ourselves with the kind of errors we may find while running CGI script and their fixes. We also debug the script wherever necessary, and learn about locking, sessions, cookies, generating HTML, and some basic issues about performance.

Advertisements