.py or .cgi extensions are available for Python script files.
- The .cgi extension is used for Python CGI script files which deliver publicly accessible web output.
- The .py extension should be used for Python scripts that are only meant to be run from the command line and for scripts that don't provide web output.