Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/cherrypy/scaffold/__pycache__/__init__.cpython-39.pyc
Ðазад
a v�h� � @ sj d Z ddlZddlmZmZ ddlZej�e�� ej�e ��Z ejf i ddi��G dd� d��Ze� Z dS )a� <MyProject>, a CherryPy application. Use this as a base for creating new CherryPy applications. When you want to make a new app, copy and paste this folder to some other location (maybe site-packages) and rename it to the name of your project, then tweak as desired. Even before any tweaking, this should serve a few demonstration pages. Change to this directory and run: cherryd -c site.conf � N)�tools�urlztools.log_tracebacks.onTc @ sX e Zd ZdZejdd� �Zejdd� �Zejdd d ��Ze j jdej �ed�d d�ZdS )�Rootz.Declaration of the CherryPy app URI structure.c C s dt d�t d�t d�f S )z5Render HTML-template at the root path of the web-app.z�<html> <body>Try some <a href='%s?a=7'>other</a> path, or a <a href='%s?n=14'>default</a> path.<br /> Or, just look at the pretty picture:<br /> <img src='%s' /> </body></html>�other�elsez"files/made_with_cherrypy_small.png)r )�self� r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/cherrypy/scaffold/__init__.py�index s ��z Root.indexc O s d||f S )z!Render catch-all args and kwargs.zargs: %s kwargs: %sr )r �args�kwargsr r r �default% s zRoot.default� �bananasNc C s: dt jjd<