/
Timur0603
/
rust
Обзор
Документация
Войти
/
Timur0603
/
rust
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
main.py
29 строк
695 B
Alex
index.html is ready
07 май 2026, 18:45
07 май 2026, 18:45
37c036f
Код
Авторство
О чём код?
from flask import Flask, render_template app = Flask(__name__) @app.route('/') def index(): """Главная страница""" return render_template('index.html', title='RUST', active_page='home') @app.route('/cameras/') def camers(): """Камеры""" return render_template('camers.html', title='Камеры', active_page='home') @app.route('/craft/') def craft(): """Камеры""" return render_template('craft.html', title='Крафт-калькулятор', active_page='home') if __name__ == '__main__': app.run(debug=True, port=5000)