Excel faylini ochish uchun quyidagi kodni ishlating: ``` pip install openpyxl ``` Keyin Excel faylini quyidagi kod bilan oching: ``` import openpyxl # Excel faylini ochish workbook = openpyxl.load_workbook' ((example.xlsx') # jadvalni ochish worksheet = workbook['Sheet1'] # Katak qiymatlarini o'qish cell_value = worksheet.cell.(row=1, column=1).value # Katak qiymatlarini bosib chiqarish print ((cell_value) `` Yuqoridagi kodda biz avval Excel_loadworkbook () usuli bilan faylni ochamiz va jadvalni tanlaymiz keyin biz Excel usuli bilan o'qishimiz kerak bo'lgan 1-satrdagi katak qiymatlarini o'qib chiqamiz va uni bosib chiqaramiz.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence