Apache2 module that embeds Python within the server.
Mod_python is an Apache 2 module that embeds the Python interpreter within the server. With mod_python you can write web-based applications in Python that will run many times faster than traditional CGI and will have access to advanced features such as ability to retain database connections and other data between hits and access to Apache internals.
Mod_python is an Apache 2 module that embeds the Python interpreter within the server. With mod_python you can write web-based applications in Python that will run many times faster than traditional CGI and will have access to advanced features such as ability to retain database connections and other data between hits and access to Apache internals.
To install mod_python27, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install mod_python27
To see what files were installed by mod_python27, run:
port contents mod_python27
To later upgrade mod_python27, run:
sudo port selfupdate && sudo port upgrade mod_python27
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.