Улучшение навигации и директорий

This commit is contained in:
sergey
2025-02-11 02:56:46 +07:00
parent 77b87088dc
commit 69b51ab5e8
7 changed files with 3 additions and 3 deletions

View File

@@ -31,8 +31,8 @@ class BotVariables:
prefixs = ('$', '!', '.', '%', '&', ':', '|', '+', '-', '/', '~', '?') prefixs = ('$', '!', '.', '%', '&', ':', '|', '+', '-', '/', '~', '?')
# Загружаем переменные из файла .env # Загружаем переменные из файла ProjectsFile/.env
load_dotenv(".env") load_dotenv("ProjectsFile/.env")
bot_token = getenv("BOT_TOKEN") bot_token = getenv("BOT_TOKEN")
bot1_token = getenv("BOT1_TOKEN") bot1_token = getenv("BOT1_TOKEN")

View File

@@ -37,7 +37,7 @@ def count_lines_in_python_files(directory):
return total_lines, total_files return total_lines, total_files
# Задайте путь к вашей директории # Задайте путь к вашей директории
directory_path = r'./' directory_path = r'../'
lines_count, files_count = count_lines_in_python_files(directory_path) lines_count, files_count = count_lines_in_python_files(directory_path)
print(f"Общее количество строк в файлах .py: {lines_count}") print(f"Общее количество строк в файлах .py: {lines_count}")