Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/cherrypy/tutorial/__pycache__/tut05_derived_objects.cpython-39.pyc
Ðазад
a v�h] � @ st d Z ddlZddlZG dd� d�ZG dd� de�ZG dd� de�Zej�ej� e �d �Zed krpej e� ed� dS )a, Tutorial - Object inheritance You are free to derive your request handler classes from any base class you wish. In most real-world applications, you will probably want to create a central base class used for all your pages, which takes care of things like printing a common page header and footer. � Nc @ s e Zd ZdZdd� Zdd� ZdS )�Pagez Untitled Pagec C s d| j | j f S )Nz� <html> <head> <title>%s</title> <head> <body> <h2>%s</h2> )�title��self� r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/cherrypy/tutorial/tut05_derived_objects.py�header s �zPage.headerc C s dS )Nz1 </body> </html> r r r r r �footer s zPage.footerN)�__name__� __module__�__qualname__r r r r r r r r s r c @ s&