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

Резултати

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

Пребарај: #schedule

当前筛选 #schedule清除筛选
America 🇺🇸 News & Politics

@America · Post #10204 · 10.12.2025 г., 02:34

😄Schedule ➖➖➖➖➖➖ 🔘Schedule as a noun can be a plan or list of when things happen. 🔜 According to the schedule we start at 9 tomorrow. 🔘A schedule can tell when planes, trains and buses are planned to arrive at and depart from different places. 🔜The flight schedule says that we should be leaving at 1015. 🔘As a verb, schedule means to plan to for something to happen at a certain time. It’s often used in the passive to talk about when things will or should happen. 🔜The meeting was scheduled for 9:30, but everyone was late. #Schedule👨‍🏫@America ➖➖➖➖➖➖➖➖➖➖➖➖ 🆕 Crypto News @Money 😁 Crypto Game @Egame 🇺🇸 US News @America 🇯🇵 Japan News @Japan 🇦🇪 UAE News @Dubai ▶️ Popular Movies @Videos 😜 Best Funny Video @Funnys

Hashtags

😄Schedule ➖➖➖➖➖➖ 🔘Schedule as a noun can be a plan or list of when things happen. 🔜 According to the schedule we start at 9 tomorrow. 🔘A schedule can tell when planes, trains and buses are planned to arrive at and depart from different places. 🔜The flight schedule says that we should be leaving at 1015. 🔘As a verb, schedule means to plan to for something to happen at a certain time. It’s often used in the passive to talk about when things will or should happen. 🔜The meeting was scheduled for 9:30, but everyone was late. #Schedule👨‍🏫@America ➖➖➖➖➖➖➖➖➖➖➖➖ 🆕 Crypto News @Money 😁 Crypto Game @Egame 🇺🇸 US News @America 🇯🇵 Japan News @Japan 🇦🇪 UAE News @Dubai ▶️ Popular Movies @Videos 😜 Best Funny Video @Funnys

Hashtags

Doniyor Olimjonov English | IELTS

@doniyorieltss · Post #1884 · 28.01.2024 г., 17:58

IELTS BAND8.5+ #Schedule ✅A - READING! Make sure that you spend at least 1 hour a day on the following (don’t forget to record vocab, underline useful collocations, copy them into your vocab book... if you have one): ✅ B - WATCHING Don't watch your content passively with the video/radio etc. playing in the background. You need to listen attentively since you'll need to do the same in the exam. Train your ear at an early stage and make life easier for yourself down the line. Oh, and if watching something.... subtitles OFF! 1 hour a day, too. 📆 MONDAY 📖National Geographic: select THEMES and randomly read an article whether science, travel, adventure, animals etc. 💻Documentary: think about what you might have read and type the theme into YouTube 📆 TUESDAY 📖Time Magazine: click the box top left next to TIME and randomly read an article whether politics, business, tech, health etc. 💻YouTube Videos: I have put together a number of YouTube channels I enjoy in a post. 📆WEDNESDAY 📖 The Guardian: Randomly select different themes and select an article at random to read 💻BBC World service is a good one. Loads of different themes for background listening: https://www.bbc.co.uk/sounds/play/live:bbc_world_serv.. 📆THURSDAY 📖Scientific American : randomly select a news article to read. 💻 Documentary: Curiosity Stream is a good one, but it's a paid website. 📆FRIDAY (Entertainment) 📖 Continue reading a book of your choice PROVIDING it’s not a classic (continue with that after your course) 💻 Watch a film of your choice but still have pen and paper ready! Subtitles off!!! 📆SATURDAYS AND SUNDAYS Focus on doing your grammar and vocab exercises, practice tests as well as go over the vocab and things you have recorded during the week. Use the weekend to write your essays. My guidelines: 📌 It doesn't matter if you're interested in the themes or not. In the exam you don't have a choice. So stop being selective. Move beyond Friends and The Big Bang Theory. 📌 Record "chunks of language". Once you've done the article or video, summarize it out aloud recycling that language you have just jotted down. Maybe even write a small summary. 📌 Less is more! Do one article or video a day. That's enough. Better do one, learn and recycle the language rather than watch/read too many and remember nothing. ⚡️@ieltsulugbeks⚡️

Hashtags

Doniyor Olimjonov English | IELTS

@doniyorieltss · Post #703 · 30.01.2023 г., 15:16

IELTS BAND8.5+ #Schedule ✅A - READING! Make sure that you spend at least 1 hour a day on the following (don’t forget to record vocab, underline useful collocations, copy them into your vocab book... if you have one): ✅ B - WATCHING Don't watch your content passively with the video/radio etc. playing in the background. You need to listen attentively since you'll need to do the same in the exam. Train your ear at an early stage and make life easier for yourself down the line. Oh, and if watching something.... subtitles OFF! 1 hour a day, too. 📆 MONDAY 📖National Geographic: select THEMES and randomly read an article whether science, travel, adventure, animals etc. 💻Documentary: think about what you might have read and type the theme into YouTube 📆 TUESDAY 📖Time Magazine: click the box top left next to TIME and randomly read an article whether politics, business, tech, health etc. 💻YouTube Videos: I have put together a number of YouTube channels I enjoy in a post. 📆WEDNESDAY 📖 The Guardian: Randomly select different themes and select an article at random to read 💻BBC World service is a good one. Loads of different themes for background listening: https://www.bbc.co.uk/sounds/play/live:bbc_world_serv.. 📆THURSDAY 📖Scientific American : randomly select a news article to read. 💻 Documentary: Curiosity Stream is a good one, but it's a paid website. 📆FRIDAY (Entertainment) 📖 Continue reading a book of your choice PROVIDING it’s not a classic (continue with that after your course) 💻 Watch a film of your choice but still have pen and paper ready! Subtitles off!!! 📆SATURDAYS AND SUNDAYS Focus on doing your grammar and vocab exercises, practice tests as well as go over the vocab and things you have recorded during the week. Use the weekend to write your essays. My guidelines: 📌 It doesn't matter if you're interested in the themes or not. In the exam you don't have a choice. So stop being selective. Move beyond Friends and The Big Bang Theory. 📌 Record "chunks of language". Once you've done the article or video, summarize it out aloud recycling that language you have just jotted down. Maybe even write a small summary. 📌 Less is more! Do one article or video a day. That's enough. Better do one, learn and recycle the language rather than watch/read too many and remember nothing. ⚡️@ieltsulugbeks⚡️

Hashtags

Doniyor Olimjonov English | IELTS

@doniyorieltss · Post #561 · 22.01.2023 г., 17:26

IELTS BAND8.5+ #Schedule ✅A - READING! Make sure that you spend at least 1 hour a day on the following (don’t forget to record vocab, underline useful collocations, copy them into your vocab book... if you have one): ✅ B - WATCHING Don't watch your content passively with the video/radio etc. playing in the background. You need to listen attentively since you'll need to do the same in the exam. Train your ear at an early stage and make life easier for yourself down the line. Oh, and if watching something.... subtitles OFF! 1 hour a day, too. 📆 MONDAY 📖National Geographic: select THEMES and randomly read an article whether science, travel, adventure, animals etc. 💻Documentary: think about what you might have read and type the theme into YouTube 📆 TUESDAY 📖Time Magazine: click the box top left next to TIME and randomly read an article whether politics, business, tech, health etc. 💻YouTube Videos: I have put together a number of YouTube channels I enjoy in a post. 📆WEDNESDAY 📖 The Guardian: Randomly select different themes and select an article at random to read 💻BBC World service is a good one. Loads of different themes for background listening: https://www.bbc.co.uk/sounds/play/live:bbc_world_serv.. 📆THURSDAY 📖Scientific American : randomly select a news article to read. 💻 Documentary: Curiosity Stream is a good one, but it's a paid website. 📆FRIDAY (Entertainment) 📖 Continue reading a book of your choice PROVIDING it’s not a classic (continue with that after your course) 💻 Watch a film of your choice but still have pen and paper ready! Subtitles off!!! 📆SATURDAYS AND SUNDAYS Focus on doing your grammar and vocab exercises, practice tests as well as go over the vocab and things you have recorded during the week. Use the weekend to write your essays. My guidelines: 📌 It doesn't matter if you're interested in the themes or not. In the exam you don't have a choice. So stop being selective. Move beyond Friends and The Big Bang Theory. 📌 Record "chunks of language". Once you've done the article or video, summarize it out aloud recycling that language you have just jotted down. Maybe even write a small summary. 📌 Less is more! Do one article or video a day. That's enough. Better do one, learn and recycle the language rather than watch/read too many and remember nothing. ⚡️@ieltsulugbeks⚡️

Hashtags

JIFAR CAREER

@JIFAR1 · Post #178 · 29.06.2025 г., 20:28

#ESSLCE#Schedule ነገ የሚጀመረው የ2017 ዓ.ም ሀገር አቀፍ የሁለተኛ ደረጃ ትምህርት መልቀቂያ ፈተና የተፈጥሮ ሳይንስ ተማሪዎች የመጀመሪያ እና የሁለተኛ ዙር የፈተና መርሐግብር በወረቀት እና በኦንላይን የሚሰጠው ብሔራዊ ፈተና ከሰኔ 23 እስከ ሐምሌ 08/2017 ዓ.ም ይቆያል። ፈተናውን ለመውሰድ 608 ሺህ ተማሪዎች የተመዘገቡ ሲሆን፤ 150 ሺህ የሚሆኑት በበይነ መረብ የሚፈተኑ ናቸው። ለሁሉም የ 12ተኛ ክፍል ተማሪዎች መልካም ፈተና ይሁንላችሁ ሲል JIFAR CAREER ልባዊ ምኞቱን ይገልፃል

JIFAR CAREER

@JIFAR1 · Post #181 · 07.07.2025 г., 21:45

#ESSLCE #SocialScience #Schedule የ2017 ዓ.ም ሀገር አቀፍ የሁለተኛ ደረጃ ትምህርት መልቀቂያ ፈተና የማኀበራዊ ሳይንስ ተማሪዎች የፈተና መርሐግብር: በወጣው መርሐግብር መሰረት ነገ ሐምሌ 01/2017 ዓ.ም የእንግሊዝኛ እና የሒሳብ ትምህርት ፈተናዎች በጠዋት እና በከሰዓት ፈረቃዎች ይሰጣሉ። በወረቀት እና በኦንላይን የሚሰጠው የማኀበራዊ ሳይንስ ተማሪዎች ፈተና፤ ከሐምሌ 01-08/2017 ዓ.ም ይቆያል።

djangoproject

@djangoproject · Post #262 · 16.02.2017 г., 07:24

http://masnun.com/2015/11/20/python-asyncio-future-task-and-the-event-loop.html On any platform, when we want to do something #asynchronously, it usually involves an #event loop. An event loop is a loop that can register #tasks to be executed, execute them, delay or even cancel them and handle different events related to these operations. Generally, we #schedule multiple async functions to the event loop. The loop runs one function, while that function waits for #IO, it pauses it and runs another. When the first function completes IO, it is resumed. Thus two or more functions can #co_operatively run together. This the main goal of an event loop.

Уважаемые пассажиры, Рейс Улан Батор - Улан Удэ - Улан Батор будет выполняться согласно расписанию, по вторникам и субботам. Желающие приобрести билеты на апрель могут обратиться по эл.адресу [email protected]. Также билеты из Улан Удэ в Улан Батор можно купить в кассе аэропорта Байкал. Дни рейсов: 02, 05, 09, 12, 16, 19, 23, 26, 30-ое апреля. Номер телефона нашего представителя в Улан Удэ: +7 950 388 22 20 #Hunnu_Air#Ulan_Ude#Ulaanbaatar#Tuesday#Saturday#Schedule#Flight#April_2022

Venture Village Wall 🦄

@venturevillagewall · Post #3857 · 12.01.2025 г., 16:00

FTX Announces Preliminary Fund Distribution Schedule 🔵 FTX reveals a preliminary payment distribution schedule for creditors. 🔵 Claims under $50k total $1.2 billion. 🔴 By January 20: Preliminary claims must be met. 🔴February 25 - March 4: Expected period for fund distribution begins. 🤔 Will this bring additional liquidity to the market? Read more #FTX#Crypto#Market#Liquidity#Payments#Claims#Finance#Investments#Bitcoin#News#Updates#Distribution#Schedule#CryptoTwitter#Investors#Creditors#Funds#Return#January#February#March

12
ПретходнаСтраница 1 од 2Следна