

- 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
What Content-type is required to write Python CGI program?
If we run simple scripts like hello.py, its output is written on the STDOUT file, i.e., screen.
There is one important and extra feature available which is the first line to be printed Content-type:text/html\r\n\r\n. This line is sent back to the browser and it specifies the content type to be displayed on the browser screen.
We can write advanced CGI programs using Python. This script can interact with any other external system and even exchange information with RDBMS.
- Related Questions & Answers
- How to write Python CGI program to interact with MySQL?
- What are the modules required for CGI programming in Python?
- What is CGI in Python?
- How to write first Hello World program using CGI programming in Python?
- First CGI Program in Python
- Type of Software Testing Required?
- Passing Checkbox Data to CGI Program in Python
- What is Web content mining?
- How to use Matplotlib and Pylab Python CGI program?
- Passing Radio Button Data to CGI Program in Python
- Passing Text Area Data to CGI Program in Python
- How to detect the http request type (GET, HEAD, etc) in Python CGI script?
- Passing Drop Down Box Data to CGI Program in Python
- How to pass variable in one Python CGI script to other Python CGI script?
- What is the difference between GET and POST in Python CGI Programming?
Advertisements