

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- 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.
- Related Questions & Answers
- How do cookies work in Python CGI Programming?
- How do we do a file upload using Python CGI Programming?
- How to setup cookies in Python CGI Programming?
- How to retrieve cookies in Python CGI Programming?
- How to configure Apache for Python CGI Programming?
- How to download image using Python CGI Programming?
- How to write first Hello World program using CGI programming in Python?
- What are environment variables available in Python CGI Programming?
- What are the modules required for CGI programming in Python?
- What are good modules to be used for Python CGI Programming?
- How to raise a "File Download" Dialog Box in Python CGI Programming?
- How to pass variable in one Python CGI script to other Python CGI script?
- What folder permission I should use to work with Python CGI Programming?
- What are important HTTP headers to be frequently used in Python CGI Programming?
- What is the difference between GET and POST in Python CGI Programming?
Advertisements