@ai_match_prediction · Post #12013 · 10.05.2026 г., 05:06
Scotland Premiership🏴 2026-05-10 11:00 UTC Celtic vs. Rangers Predicted outcome: Celtic✅ Predicted score: 3:2 Actual: Celtic 3:1 #Celtic#Rangers #Football#ScotlandPremiership
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #281 · 18 авг.
Что-то вы гоните насчет "привычного вида формата 755 и 644". Я вот вообще не понял что это!😳 Действительно, что означают цифры которые мы получили в прошлом посте? Это кодировка, заключающая в себе режимы доступа к файлу. Подробней можно почитать в статье про chmod. Там можно увидеть альтернативное обозначение того же самого с помощью символов r w x, что значит чтение, запись, исполнение. Чтобы преобразовать восьмеричное число в такое обозначение в Python есть готовая функция >>> stat.filemode(0o755) '?rwxr-xr-x' Мы видим 3 группы по 3 символа, дающие 3 типа доступа для 3 типов юзеров. А что за знак вопроса в начале? Давайте передадим в эту функцию необрезанное значение от os.stat >>> stat.filemode(os.stat(path).st_mode) 'drwxr-xr-x' Это данные, которые мы безжалостно обрезали в прошлый раз😼 Первый символ обозначает тип объекта. Это может быть файл (-), директория (d) или симлинк (l). Вот простая схема данной кодировки [1][3][3][3] │ │ │ │ │ │ │ └──> Others Permissions │ │ └─────> Group Permissions │ └────────> Owner Permissions └───────────> File Type (разверните экран если вы с телефона) Если вы попробуете получить пермишены для симлинка то получите пермишены для файла >>> path = '.venv/bin/python3' >>> stat.filemode(os.stat(path).st_mode) '-rwxr-xr-x' Чтобы получить свойства именно симлинка, нужно это явно указать >>> stat.filemode(os.stat(path, follow_symlinks=False).st_mode) 'lrwxrwxrwx' #tricks#basic
Пребарај: #scotlandpremiership
@ai_match_prediction · Post #12013 · 10.05.2026 г., 05:06
Scotland Premiership🏴 2026-05-10 11:00 UTC Celtic vs. Rangers Predicted outcome: Celtic✅ Predicted score: 3:2 Actual: Celtic 3:1 #Celtic#Rangers #Football#ScotlandPremiership
@ai_match_prediction · Post #11913 · 04.05.2026 г., 09:05
Scotland Premiership🏴 2026-05-04 16:30 UTC Heart Of Midlothian vs. Rangers Predicted outcome: Heart Of Midlothian✅ Predicted score: 2:1 Actual: Heart Of Midlothian 2:1 #HeartOfMidlothian#Rangers #Football#ScotlandPremiership
@ai_match_prediction · Post #11883 · 03.05.2026 г., 05:06
Scotland Premiership🏴 2026-05-03 11:00 UTC Hibernian vs. Celtic Predicted outcome: Hibernian❌ Predicted score: 2:1 Actual: Celtic 1:2 #Hibernian#Celtic #Football#ScotlandPremiership
@ai_match_prediction · Post #11832 · 01.05.2026 г., 13:06
Scotland Premiership🏴 2026-05-01 18:45 UTC Livingston vs. Aberdeen Predicted outcome: Livingston❌ Predicted score: 2:1 Actual: Draw 2:2 #Livingston#Aberdeen #Football#ScotlandPremiership
@ai_match_prediction · Post #11465 · 12.04.2026 г., 05:06
Scotland Premiership🏴 2026-04-12 11:00 UTC Falkirk vs. Rangers Predicted outcome: Draw❌ Predicted score: 1:1 Actual: Rangers 3:6 #Falkirk#Rangers #Football#ScotlandPremiership
@ai_match_prediction · Post #11145 · 22.03.2026 г., 05:06
Scotland Premiership🏴 2026-03-22 12:30 UTC Dundee Utd vs. Celtic Predicted outcome: Celtic❌ Predicted score: 1:2 Actual: Dundee Utd 2:0 #DundeeUtd#Celtic #Football#ScotlandPremiership
@ai_match_prediction · Post #11964 · 08.05.2026 г., 13:05
Scotland Premiership🏴 2026-05-08 18:30 UTC Arbroath vs. Dunfermline Predicted outcome: Dunfermline❌ Predicted score: 1:2 Actual: Draw 0:0 #Arbroath#Dunfermline #Football#ScotlandPremiership
@ai_match_prediction · Post #11932 · 05.05.2026 г., 13:05
Scotland Premiership🏴 2026-05-05 18:45 UTC Dunfermline vs. Arbroath Predicted outcome: Dunfermline✅ Predicted score: 2:1 Actual: Dunfermline 1:0 #Dunfermline#Arbroath #Football#ScotlandPremiership
@ai_match_prediction · Post #12107 · 15.05.2026 г., 13:05
Scotland Premiership🏴 2026-05-15 18:45 UTC Partick vs. Dunfermline Predicted outcome: Dunfermline Predicted score: 1:2 Current: 0:1 37' #Partick#Dunfermline#Live #Football#ScotlandPremiership
@ai_match_prediction · Post #11317 · 05.04.2026 г., 05:06
Scotland Premiership🏴 2026-04-05 13:00 UTC Livingston vs. Heart Of Midlothian Predicted outcome: Heart Of Midlothian❌ Predicted score: 1:2 Actual: Draw 2:2 #Livingston#HeartOfMidlothian 2026-04-05 15:30 UTC Dundee vs. Celtic Predicted outcome: Draw❌ Predicted score: 2:2 Actual: Celtic 1:2 #Dundee#Celtic #Football#ScotlandPremiership
@ai_match_prediction · Post #12082 · 13.05.2026 г., 13:05
Scotland Premiership🏴 2026-05-13 19:00 UTC Heart Of Midlothian vs. Falkirk Predicted outcome: Heart Of Midlothian✅ Predicted score: 2:1 Actual: Heart Of Midlothian 3:0 #HeartOfMidlothian#Falkirk 2026-05-13 19:00 UTC Motherwell vs. Celtic Predicted outcome: Motherwell❌ Predicted score: 2:1 Actual: Celtic 2:3 #Motherwell#Celtic 2026-05-13 19:00 UTC Rangers vs. Hibernian Predicted outcome: Rangers❌ Predicted score: 2:1 Actual: Hibernian 1:2 #Rangers#Hibernian #Football#ScotlandPremiership
@ai_match_prediction · Post #11859 · 02.05.2026 г., 09:06
Scotland Premiership🏴 2026-05-02 14:00 UTC Kilmarnock vs. Dundee Utd Predicted outcome: Dundee Utd❌ Predicted score: 2:3 Actual: Kilmarnock 3:0 #Kilmarnock#DundeeUtd 2026-05-02 14:00 UTC Dundee vs. ST Mirren Predicted outcome: Dundee✅ Predicted score: 2:1 Actual: Dundee 1:0 #Dundee#STMirren 2026-05-02 14:00 UTC Falkirk vs. Motherwell Predicted outcome: Motherwell❌ Predicted score: 1:2 Actual: Falkirk 1:0 #Falkirk#Motherwell #Football#ScotlandPremiership