TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #239 · 3 мај

Один из самых удобных способов записать данные это использование готовых форматов, такие как JSON или YAML. Из плюсов такого подхода стоит отметить вот что: 🔸 готовый, повсеместно используемый и поддерживаемый формат 🔸 простой и понятный файл, удобочитаемый для человека 🔸 можно легко редактировать в любом текстовом редакторе без специальных программ и библиотек Но есть и минусы 🔹 затраты времени при записи файла (кодирование данных в нужный формат строки) 🔹 затраты времени при чтении файла (декодирование данных в Python объекты) 🔹 размер файла увеличивается из-за разметки данных (скобки, запятые, переносы, отступы...) 🔹 перед записью все данные должны быть помещены в память в полном объёме (не всегда) 🔹 при чтении необходимо считать весь файл в память и только потом декодировать данные Если нужно писать немного данных в несколько файлов, то затраты по времени не ощутимы. Обычно это файлы конфига или какие-либо метаданные. Это отличный вариант под такие задачи. Есть и другой поход к записи файлов - это бинарные файлы. Используется, когда данных достаточно много и никто их не собирается читать глазками😳. 🔸 очень быстрая запись 🔸 чтение значительно быстрей чем JSON, YAML итд 🔸 размер файла значительно меньше, так как нет разметки 🔸 можно записывать данные по мере поступления не загружая всё в память 🔸 можно извлечь любую часть данных независимо Из минусов 🔹 нужно определить свой формат записи данных (если не используете готовую спецификацию определённого формата) 🔹 не получится открыть файл и визуально понять что там записано, а для чтения файла потребуется знать его спецификацию. 🔹 не так-то просто создать такой файл без специальной библиотеки В таком виде удобно записывать большой массив любых однородных данных. Например, мониторинг валютной биржи или кэшированная анимация 3D геометрии. (Это не означает что нельзя записать данные разного типа, просто это будет не так удобно) Представьте себе JPG-картинку. По сути это немного мета-информации и большой массив пикселей. Тоже самое со звуком или видео файлом. Поэтому, если вы попробуете открыть картинку в текстовом редакторе вы увидите что-то вроде такого f15d cd29 a564 4578 ... 09e2 9bc4 a696 1253 ... 84e9 4de1 3b23 c24a ... 2534 5161 28e0 709d ... ... Это и есть записанные байтики. И для их чтения требуется определённый софт который знает что с ними делать. Под каждый тип файла. К чему это я? Читайте в следующем посте... #tricks#basic

Резултати

Пронајдени 135 слични објави

Пребарај: #bishkek

当前筛选 #bishkek清除筛选

всё, лайнап внутри 🌐28.03 | QQ bar двери 22:00 · музыка 00:00 LINEUP: 00:00X-WAVE 01:30Summer Of Haze[invite] 03:00XAPALb2bVDNK93😎 04:30ROMA SZ — afterparty, 1st floor witchhouse → индастриал → вольный выход в рассвет. четыре сета. один танцпол. и тот самый звук, ради которого сюда идут. 🌐👽🌐👽🌐 Предпродажа в Директ: 700 до 23:59 27.03 800 до 21:59 28.03 вход в день движа: 800с до 00:00 с репостом у вас в сторис 1000с после 00:00 с репостом 1200с без репоста фейсконтроль · 19+ · паспорт / ID / Түндүк Пис. Лав. Юнити. Респект. _ #bishkek #rave#dj#тусовка @BishDvizh

@RusEmbMalta Press release 🇷🇺🎙️President Vladimir Putin’s Answers to Media Questions Following the State Visit to Kyrgyzstan and the CSTO Summit Bishkek, 27 November 2025 The President of Russia commented on the outcome of discussions held in Bishkek, addressing the current negotiation track with the United States, the military situation in Ukraine, and broader international issues. 🔹On the draft “peace treaty” The President underlined that there was no draft treaty as such – only a set of issues proposed for discussion and subsequent formalisation. Prior to his visit to the United States, including the trip to Alaska, these matters were examined with American negotiators. It was in the course of those consultations that a detailed list of potential understandings was shaped and later passed to Russia through established channels, after which it was carefully reviewed. 🔹On the negotiation process President emphasized that it is necessary to sit down and discuss specific elements seriously, translating all positions into diplomatic language. Russia has never planned and does not intend to “attack Europe” – “this sounds ridiculous to us” – but if partners want this formalized in writing, Russia is ready to do so. The President confirmed that Russia is fully prepared for substantive discussion. An American delegation is expected to arrive in Moscow next week. Russian negotiators are led by the Ministry of Foreign Affairs. From the Presidential Administration, Aide to the President Vladimir Medinsky continues to oversee the process from the outset, while Aide Yury Ushakov has also been instructed to coordinate the ongoing work and maintain contact with U.S. counterparts. 🔹On the situation in Ukraine Ukrainian forces must withdraw from the territories they occupy – only then will hostilities cease. If they do not withdraw, Russia will achieve this militarily. Across all sectors of the front, the President noted a positive dynamic. Moreover, the pace of advance by Russian forces is increasing significantly. The main problem for the Ukrainian military, according to the President, is the growing gap between losses and the number of troops they are capable of sending to the line of contact. In October alone, Ukraine suffered 47,500 losses, while mobilization yielded only around 16,500, with a further 14,500–15,000 returning from hospitals. The monthly deficit is therefore around 15,000, following a deficit of 10,000 the previous month. This gap continues to widen. High levels of desertion in the Ukrainian forces are reported not only by Russian sources but also by Western media, which the President stressed is impossible for Kiev’s partners to conceal. 🔹On the EU initiative for asset confiscation Hungary, as an EU member state, is fully aware of the consequences. The Hungarian Prime Minister, the President noted, understands how such actions would affect the European currency. Any move to confiscate Russian assets will have serious negative consequences for the global financial system, sharply reducing trust in the eurozone. This comes at a time when the locomotive of the European economy – Germany – has been in recession for the third consecutive year. 🔹On the Ukrainian leadership and legitimacy Signing documents with the current Ukrainian leadership is, in the President’s words, meaningless. He reiterated that Kiev committed a fundamental strategic mistake by refusing to hold presidential elections, leading to the loss of legitimacy. Russia itself, despite being in an armed conflict, held presidential elections as well as municipal and regional elections – “we do all this, and they, for some reason, do not”. Russia ultimately seeks to reach an agreement with Ukraine, but at present this is legally impossible. Whoever in Kiev is willing or able to negotiate may do so – but Russia needs its decisions to be recognized by the principal international actors. 📄Full text. #Russia#Putin#CSTO#Bishkek#Ukraine🇷🇺🌍

🇺🇿O‘zbekistonning qattiq maishiy chiqindilarni qayta ishlash sohasidagi siyosati 2024-yil 23-24-oktabr kunlari Bishkekda (Qirg‘iziston)🇰🇬"Yashil iqtisodiyot – 2024" mintaqaviy forumi va Bishkek investitsiya forumi – 2024 bo‘lib o‘tdi. Forumlarning ko‘zlangan maqsadi-yashil iqtisodiyotni rivojlantirish va qo‘shma tashabbuslarni ishlab chiqish uchun davlat organlari va Markaziy Osiyo mamlakatlari biznesi o‘rtasida sheriklik o‘rnatish edi. 🔹Policy of Uzbekistan in the field of solid waste recycling🇬🇧 On October 23-24, 2024, the Regional Forum "Green Economy – 2024" and the Bishkek Investment Forum – 2024 took place in Bishkek (Kyrgyzstan). The forums aimed to establish partnerships between government bodies and the business sector of Central Asian countries for the development of a green economy and to formulate joint initiatives. 🇷🇺Политика Узбекистана в сфере переработки твердых бытовых отходов🖥 🇰🇬23-24 октября 2024 года в Бишкеке (Кыргызстан) прошли Региональный Форум «Зеленая экономика – 2024» и Бишкекский Инвестиционный Форум – 2024. Целью форумов было установление партнерства между государственными органами и бизнесом стран Центральной Азии для развития зеленой экономики и выработки совместных инициатив. #GraduateSchool#Forum2024#Bishkek#Economy 🔝Web-site |🔝Facebook | 🔝Instagram | 🔝Youtube

Манба / Источник

@manbaofficial · Post #6251 · 13.10.2023 г., 12:11

Бишкек. 2023 йил, октябрь. МДҲ Давлат раҳбарлари кенгаши. 🇦🇿🇧🇾🇰🇿🇰🇬🇷🇺🇹🇯🇹🇲🇺🇿 Бишкек. Октябрь 2023 года. Совет глав государств СНГ. #CIS#Bishkek#Uzbekistan#President #2023

TezJet

@flytezjet · Post #2681 · 27.04.2026 г., 11:44

🇷🇺 Каждый маршрут начинается в Бишкеке. www.flytezjet.com 🇰🇬 Ар бир маршрут Бишкектен башталат. www.flytezjet.com 🇬🇧 Every route begins in Bishkek. www.flytezjet.com #FlyTezJet#TezJet#Bishkek#TezJetRoutes#TravelWithTezJet

123•••101112
ПретходнаСтраница 1 од 12Следна