forked from stud179125/Together_Project
Added files data.txt, script.py, output.txt
This commit is contained in:
parent
ff08b4f77b
commit
d3c21cb936
1
output.txt
Normal file
1
output.txt
Normal file
@ -0,0 +1 @@
|
||||
АБВ ABC
|
288
requirements.txt
Normal file
288
requirements.txt
Normal file
@ -0,0 +1,288 @@
|
||||
absl-py==2.1.0
|
||||
aiofiles==23.2.1
|
||||
aiogram==3.13.1
|
||||
aiohttp==3.9.5
|
||||
aiosignal==1.3.1
|
||||
altgraph==0.17.4
|
||||
annotated-types==0.7.0
|
||||
anyio==4.4.0
|
||||
argon2-cffi==23.1.0
|
||||
argon2-cffi-bindings==21.2.0
|
||||
arrow==1.3.0
|
||||
asgiref==3.8.1
|
||||
asttokens==3.0.0
|
||||
astunparse==1.6.3
|
||||
async-lru==2.0.4
|
||||
async-timeout==4.0.3
|
||||
attrs==23.2.0
|
||||
Automat==24.8.1
|
||||
awscli==1.36.31
|
||||
babel==2.17.0
|
||||
backports.tarfile==1.2.0
|
||||
beautifulsoup4==4.12.3
|
||||
binaryornot==0.4.4
|
||||
bleach==6.2.0
|
||||
boto3==1.35.8
|
||||
botocore==1.35.90
|
||||
bottle==0.13.1
|
||||
bottle-websocket==0.2.9
|
||||
certifi==2024.7.4
|
||||
cffi==1.17.0
|
||||
chardet==5.2.0
|
||||
charset-normalizer==3.3.2
|
||||
chromedriver-py==129.0.6668.100
|
||||
click==8.1.7
|
||||
colorama==0.4.6
|
||||
comm==0.2.2
|
||||
config==0.5.1
|
||||
constantly==23.10.4
|
||||
contourpy==1.3.0
|
||||
cookiecutter==2.6.0
|
||||
cryptography==43.0.0
|
||||
cssselect==1.2.0
|
||||
cx_Logging==3.2.0
|
||||
cycler==0.12.1
|
||||
darkdetect==0.8.0
|
||||
debugpy==1.8.12
|
||||
decorator==5.2.1
|
||||
defusedxml==0.7.1
|
||||
distro==1.9.0
|
||||
Django==4.2.16
|
||||
django-jazzmin==3.0.0
|
||||
docker==7.1.0
|
||||
docutils==0.16
|
||||
Eel==0.17.0
|
||||
exceptiongroup==1.2.2
|
||||
executing==2.2.0
|
||||
fake-agent==0.1.4
|
||||
fake-useragent==2.0.3
|
||||
Faker==36.1.1
|
||||
fastapi==0.114.1
|
||||
fastjsonschema==2.21.1
|
||||
filelock==3.16.1
|
||||
flatbuffers==24.3.25
|
||||
flet-core==0.24.1
|
||||
flet-runtime==0.24.1
|
||||
fonttools==4.55.0
|
||||
fqdn==1.5.1
|
||||
frozenlist==1.4.1
|
||||
fsspec==2024.12.0
|
||||
future==1.0.0
|
||||
futures==3.0.5
|
||||
gast==0.6.0
|
||||
gevent==24.2.1
|
||||
gevent-websocket==0.10.1
|
||||
google-pasta==0.2.0
|
||||
greenlet==3.0.3
|
||||
grpcio==1.66.1
|
||||
h11==0.14.0
|
||||
h5py==3.11.0
|
||||
httpcore==1.0.5
|
||||
httptools==0.6.1
|
||||
httpx==0.27.2
|
||||
hyperlink==21.0.0
|
||||
idna==3.7
|
||||
imageai==3.0.3
|
||||
importlib_metadata==8.5.0
|
||||
importlib_resources==6.4.5
|
||||
incremental==24.7.2
|
||||
ipykernel==6.29.5
|
||||
ipython==8.18.1
|
||||
ipywidgets==8.1.5
|
||||
isoduration==20.11.0
|
||||
itemadapter==0.11.0
|
||||
itemloaders==1.3.2
|
||||
jaraco.classes==3.4.0
|
||||
jaraco.context==6.0.1
|
||||
jedi==0.19.2
|
||||
Jinja2==3.1.4
|
||||
jiter==0.5.0
|
||||
jmespath==1.0.1
|
||||
json5==0.10.0
|
||||
jsonpointer==3.0.0
|
||||
jsonschema==4.23.0
|
||||
jsonschema-specifications==2024.10.1
|
||||
jupyter==1.1.1
|
||||
jupyter-console==6.6.3
|
||||
jupyter-events==0.12.0
|
||||
jupyter-lsp==2.2.5
|
||||
jupyter_client==8.6.3
|
||||
jupyter_core==5.7.2
|
||||
jupyter_server==2.15.0
|
||||
jupyter_server_terminals==0.5.3
|
||||
jupyterlab==4.3.5
|
||||
jupyterlab_pygments==0.3.0
|
||||
jupyterlab_server==2.27.3
|
||||
jupyterlab_widgets==3.0.13
|
||||
keras==3.5.0
|
||||
keyboard==0.13.5
|
||||
keyring==8.7
|
||||
keyrings.alt==5.0.2
|
||||
kivy-deps.angle==0.4.0
|
||||
kivy-deps.glew==0.3.1
|
||||
kivy-deps.sdl2==0.7.0
|
||||
Kivy-Garden==0.1.5
|
||||
kiwisolver==1.4.7
|
||||
libclang==18.1.1
|
||||
libretranslatepy==2.1.1
|
||||
lief==0.15.1
|
||||
lxml==5.3.0
|
||||
magic-filter==1.0.12
|
||||
Markdown==3.7
|
||||
markdown-it-py==3.0.0
|
||||
MarkupSafe==2.1.5
|
||||
matplotlib==3.9.2
|
||||
matplotlib-inline==0.1.7
|
||||
mdurl==0.1.2
|
||||
mistune==3.1.2
|
||||
ml-dtypes==0.4.1
|
||||
more-itertools==10.5.0
|
||||
MouseInfo==0.1.3
|
||||
mpmath==1.3.0
|
||||
multidict==6.0.5
|
||||
namex==0.0.8
|
||||
nbclient==0.10.2
|
||||
nbconvert==7.16.6
|
||||
nbformat==5.10.4
|
||||
nest-asyncio==1.6.0
|
||||
networkx==3.2.1
|
||||
notebook==7.3.2
|
||||
notebook_shim==0.2.4
|
||||
numpy==2.0.2
|
||||
oauthlib==3.2.2
|
||||
opencv-python==4.10.0.84
|
||||
opt-einsum==3.3.0
|
||||
optree==0.12.1
|
||||
outcome==1.3.0.post0
|
||||
overrides==7.7.0
|
||||
packaging==24.1
|
||||
pandas==2.2.3
|
||||
pandocfilters==1.5.1
|
||||
parsel==1.10.0
|
||||
parso==0.8.4
|
||||
pefile==2024.8.26
|
||||
pillow==10.4.0
|
||||
playwright==1.47.0
|
||||
prometheus_client==0.21.1
|
||||
prompt_toolkit==3.0.50
|
||||
Protego==0.4.0
|
||||
protobuf==4.25.5
|
||||
psutil==6.0.0
|
||||
pure_eval==0.2.3
|
||||
py-cpuinfo==9.0.0
|
||||
pyasn1==0.6.1
|
||||
pyasn1_modules==0.4.1
|
||||
PyAudio==0.2.14
|
||||
PyAutoGUI==0.9.54
|
||||
pycparser==2.22
|
||||
pydantic==2.8.2
|
||||
pydantic_core==2.20.1
|
||||
PyDispatcher==2.0.7
|
||||
pyee==12.0.0
|
||||
PyGetWindow==0.0.9
|
||||
Pygments==2.18.0
|
||||
pyinstaller==6.10.0
|
||||
pyinstaller-hooks-contrib==2024.8
|
||||
PyMsgBox==1.0.9
|
||||
pyOpenSSL==25.0.0
|
||||
pyparsing==3.1.4
|
||||
pyperclip==1.9.0
|
||||
pypiwin32==223
|
||||
pypng==0.20220715.0
|
||||
PyQt5-Qt5==5.15.2
|
||||
PyQt5_sip==12.15.0
|
||||
PyRect==0.2.0
|
||||
PyScreeze==0.1.30
|
||||
PySocks==1.7.1
|
||||
pyTelegramBotAPI==4.21.0
|
||||
python-dateutil==2.9.0.post0
|
||||
python-docx==1.1.2
|
||||
python-dotenv==1.0.1
|
||||
python-json-logger==3.2.1
|
||||
python-slugify==8.0.4
|
||||
pytweening==1.2.0
|
||||
pytz==2024.2
|
||||
pywin32==306
|
||||
pywin32-ctypes==0.2.3
|
||||
pywinpty==2.0.15
|
||||
PyYAML==6.0.2
|
||||
pyzmq==26.2.1
|
||||
qrcode==7.4.2
|
||||
queuelib==1.7.0
|
||||
referencing==0.36.2
|
||||
repath==0.9.0
|
||||
requests==2.32.3
|
||||
requests-file==2.1.0
|
||||
rfc3339-validator==0.1.4
|
||||
rfc3986-validator==0.1.1
|
||||
rich==13.8.1
|
||||
rpds-py==0.23.1
|
||||
rsa==4.7.2
|
||||
ruamel.yaml==0.18.7
|
||||
ruamel.yaml.clib==0.2.12
|
||||
s3transfer==0.10.2
|
||||
scipy==1.13.1
|
||||
Scrapy==2.12.0
|
||||
seaborn==0.13.2
|
||||
selectolax==0.3.28
|
||||
selenium==4.25.0
|
||||
Send2Trash==1.8.3
|
||||
service-identity==24.2.0
|
||||
six==1.16.0
|
||||
sniffio==1.3.1
|
||||
sortedcontainers==2.4.0
|
||||
soupsieve==2.6
|
||||
SpeechRecognition==3.10.4
|
||||
sqlparse==0.5.1
|
||||
stack-data==0.6.3
|
||||
starlette==0.38.5
|
||||
sympy==1.13.1
|
||||
tabulate==0.9.0
|
||||
tensorboard==2.17.1
|
||||
tensorboard-data-server==0.7.2
|
||||
tensorflow==2.17.0
|
||||
tensorflow-intel==2.17.0
|
||||
tensorflow-io-gcs-filesystem==0.31.0
|
||||
termcolor==2.4.0
|
||||
terminado==0.18.1
|
||||
text-unidecode==1.3
|
||||
tinycss2==1.4.0
|
||||
tldextract==5.1.3
|
||||
tomli==2.0.1
|
||||
torch==2.5.1
|
||||
torchvision==0.20.1
|
||||
tornado==6.4.2
|
||||
tqdm==4.66.5
|
||||
traitlets==5.14.3
|
||||
translate==3.6.1
|
||||
trio==0.26.2
|
||||
trio-websocket==0.11.1
|
||||
Twisted==24.11.0
|
||||
types-python-dateutil==2.9.0.20240906
|
||||
typing_extensions==4.12.2
|
||||
tzdata==2024.1
|
||||
ultralytics==8.3.56
|
||||
ultralytics-thop==2.0.13
|
||||
undetected-chromedriver==3.5.5
|
||||
uri-template==1.3.0
|
||||
urllib3==1.26.19
|
||||
uvicorn==0.30.6
|
||||
voluptuous==0.15.2
|
||||
w3lib==2.3.1
|
||||
watchdog==4.0.2
|
||||
watchfiles==0.24.0
|
||||
wcwidth==0.2.13
|
||||
webcolors==24.11.1
|
||||
webdriver-manager==4.0.2
|
||||
webencodings==0.5.1
|
||||
websocket-client==1.8.0
|
||||
websockets==13.0.1
|
||||
Werkzeug==3.0.4
|
||||
whichcraft==0.6.1
|
||||
widgetsnbextension==4.0.13
|
||||
wrapt==1.16.0
|
||||
wsproto==1.2.0
|
||||
yarl==1.9.4
|
||||
zipp==3.20.2
|
||||
zope.event==5.0
|
||||
zope.interface==7.0.3
|
19
script_work_with_files.py
Normal file
19
script_work_with_files.py
Normal file
@ -0,0 +1,19 @@
|
||||
# script.py
|
||||
try:
|
||||
# Чтение данных с указанием кодировки
|
||||
with open('data.txt', 'r', encoding='utf-8') as f_in:
|
||||
lines = [line.strip() for line in f_in.readlines()]
|
||||
|
||||
# Преобразование с учётом русских букв
|
||||
processed_data = [line.upper() for line in lines]
|
||||
|
||||
# Запись с сохранением кириллицы
|
||||
with open('output.txt', 'w', encoding='utf-8') as f_out:
|
||||
f_out.write('\n'.join(processed_data))
|
||||
|
||||
print("Данные обработаны! Результат в output.txt")
|
||||
|
||||
except FileNotFoundError:
|
||||
print("Ошибка: Файл data.txt не найден!")
|
||||
except Exception as e:
|
||||
print(f"Ошибка: {str(e)}")
|
Loading…
Reference in New Issue
Block a user