-
Notifications
You must be signed in to change notification settings - Fork 3
/
Pythron
39 lines (28 loc) · 867 Bytes
/
Pythron
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
from config import Config
# Initialize configuration
Config.initialize()
# Access configuration values
print(f"Bot Name: {Config.BOT_NAME}")
print(f"Current Time (UTC): {Config.get_current_time()}")
# Check file type
filename = "example.mp4"
if Config.is_valid_file_type(filename):
file_type = Config.get_file_type(filename)
print(f"File type: {file_type}")
import requests
import aiohttp
import bs4
import dotenv
import vlc
import tqdm
import colorama
print("All required packages are installed successfully!")
Additional Notes
Make sure you have pip updated:
python -m pip install --upgrade pip
If you encounter any installation issues:
pip install --upgrade --force-reinstall -r requirements.txt
For Windows users, you might need to install Visual C++ build tools:
pip install wheel
pip list --outdated
pip install -r requirements.txt --upgrade