Один из самых удобных способов записать данные это использование готовых форматов, такие как 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
https://x.com/priceactiongann/status/1876209418213237011
#niftycrash#nifty
We Just hit Double Jackpot!
576 points at least from 24150!
with price 23990 were warned clearly!
First day few will troll
Next day these few will listen and be calm
The third day u will be my fan or follower!
so don't waste Your energy just hit my follow button and learn already!
keep calm and show results "consistently"
focus on your work and trust in ur skills always!
https://x.com/priceactiongann/status/1858813006051774858
#nifty50#niftycrash
23747 Exact Top and Drop as mentioned!
was given weeks ago This exact level!
instant drop almost 300 points!
Nothing I give is random here!
"We are what we repeatedly do. Excellence, then, is not an act, but a habit."
follow on x posted there and support more on x
https://x.com/priceactiongann/status/1858813006051774858
https://x.com/priceactiongann/status/1851096661407514967
Brace for Impact: The Market's Set to Plunge! 🚨
🔴 Red Alert: Today's market is poised for a significant downturn.
💰 Precious Metals Surge: With gold and silver leading the charge, now might be the moment for investors to pivot.
🇺🇸 U.S. Markets Under Strain: Stocks are still navigating through critical cycles, and with elections just around the corner, expect volatility.
Stay Prepared!
#NiftyCrash#StockMarketCrash#EconomicForecast
https://x.com/priceactiongann/status/1897597854828671104?t=
#niftycrash#nifty50
Historic significant price:
All based on historic old price alone
(No current market price I have used here)
ALL TIME HIGH:
26277 from there we derived 21957
(21957+720=22677)
Crucial zone:
157.5 x 144 =22680
156.5x144= 22536
History price 22222:
22222+432
22,654
ALL TIME HIGH:
26,277-4464
31x144
21,813
Numbers don't lie
History in the making 👌❤️👌
Bookmark this and repost for maximum reach.
#nifty#stockmarketcrash
https://x.com/priceactiongann/status/1897597854828671104?t=
https://x.com/priceactiongann/status/1897597854828671104?t=
#niftycrash#nifty50
Historic significant price:
All based on historic old price alone
(No current market price I have used here)
ALL TIME HIGH:
26277 from there we derived 21957
(21957+720=22677)
Crucial zone:
157.5 x 144 =22680
156.5x144= 22536
History price 22222:
22222+432
22,654
ALL TIME HIGH:
26,277-4464
31x144
21,813
Numbers don't lie
History in the making 👌❤️👌
Bookmark this and repost for maximum reach.
#nifty#stockmarketcrash
https://x.com/priceactiongann/status/1897597854828671104?t=
https://x.com/priceactiongann/status/1870452149886533702
#Nifty50#NiftyCrash
How Many of u Gearing up for Nifty new Jackpot?
The Nifty is currently shaping a fascinating pattern!
Prepare for action!
#nifty#stockmarketcrash
https://x.com/priceactiongann/status/1870452149886533702
https://x.com/priceactiongann/status/1852701540017987967
#nifty50#stockmarketcrash
Nifty 50 Using Squares and Square Root:
Recent cycle ends at 81 this is 2 times 81 which is 162
Time vibrations with price hidden.
Starting Value:
Square root of 26,277.35 ≈ 162.1028
Step 1:
162.1028 - 4 = 158.1028
Square of 158.1028 ≈ 24,996.52
Step 2:
158.1028 - 4 = 154.1028
Square of 154.1028 ≈ 23,747.703
Step 3:
154.1028 - 4 = 150.1028
Square of 150.1028 ≈ 22,530.880
Step 4:
150.1028 - 4 = 146.1028
Square of 146.1028 ≈ 21,346.057
can use as mentioned and check the circle perfection below!!
#niftycrash#nifty
https://x.com/priceactiongann/status/1852701540017987967
https://x.com/priceactiongann/status/1852214204679242145
"Look deep into nature, and then you will understand everything better." — Albert Einstein
#Nifty50#stockmarketcrash
Nifty 50 Calculation Analysis and Cycles Recall:
1440+1440+1440=4320
Holy Trinity 3x144=432
26277-1440=24,837
26277-2880=23397
26277-4320=21,957!
4320 points from top is expected!
Major high and low were given well in advance including long term cycles and short term as well.
can check these and older posts!
23535 and 22222 is next and already 2000 plus points from top so expect more!
#nifty#niftycrash
https://x.com/priceactiongann/status/1850744650472071270
#NIFTY#niftycrash
Most important Historic Update:
Nifty 50, 23949 and 23767 will be Historic,
24335 holds barrier on top!
432% Must hold levels and Deciding Given!
Future Market will should and Must hold and Decide 23949 and 23767 only!
Can have bounce and then it will Decide!
If broken and retest will be here and This changes Everything.
if not holding this would take the price to 22222 only!
#stocks#stockmarket#gann
https://x.com/priceactiongann/status/1850744650472071270
Do Follow and Support More on x!
https://x.com/priceactiongann/status/1875125790271996020
#NIFTY#NIFTY50
✅Nifty 50 Exact closing price of weekly and daily!
23990 holds there perfectly.
✅High where drop started was 24150!
✅Always know the levels and keep it!
✅Don't get trapped in intraday waves, always beware of big waves and travel in that direction and stay safer!
✅My Ustad (Mentor) always says.
"Learn to see".
#stockmarketcrash#niftycrash#stockmarketsindia
https://x.com/priceactiongann/status/1875125790271996020
https://x.com/priceactiongann/status/1977235073016484225
#nifty#niftycrash
Traders and Investors Buckle Up – GET READY!
The storm is brewing, and it's going to be EPIC.
Previous cycles have played out like clockwork,
The next jackpot is locked and loaded previous one will also be complete.
The next big move is locked in, and it’s going to be MASSIVE– the kind that rewrite portfolios overnight.
Here's the breakdown of what's incoming
(based on current levels as of Oct 11, 2025):
NIFTY 50: Brace for a MINIMUM 720-point plunge – to 24,565 or lower! (From ~25,285 today)
SENSEX: Expect 3,600+ points wiped out – straight to 78,900 territory! (From ~82,500 today)
BANK NIFTY: Banking sector in the crosshairs – 3,600+ point bloodbath loading... down to 52,289 and beyond! (From ~55,889 today)
Timeline? This beast unfolds within 30-45 trading days – mark your calendars
October 31st Major next cycle date!
Next whole week can expect nice drop.
Volatility is the only sure bet left. Is this the reset we've all been waiting for (or dreading)? History says yes.
Stay vigilant, DYOR, and don't get caught flat-footed.
#banknifty
Time and Price:
October 10 and October 31st dates given:
7x7x7= 343 or 7 cube
5040 = 252+252=504
504+144=648
9x72
Third time 72 (72x3 =216) is also in play along with multiple 83 and 84 cycle and wheels within cycles for both time and price
All Time High is 57628 (576 or 4x144):
Price cycle counts: fractals of 7 and 360 here!
57628- 47702 =9926/7=1418
57628-53,561=4067/7=581
83x7=581
53,561-47702=5,859/7=837(83 x7or 83.7)
1.52860 Encoded is where the price is headed and 52360!
2.52360 is one of the most important numbers will cover in another topic!
3.51860 where it started and have mentioned this where the next big cycles decide for bank nifty.
so much more is there, this is just a glimpse
Do like and share more will update later part by part!
#stockmarketcrash#stockmarketindia
https://x.com/priceactiongann/status/1823200304126464150
#niftycrash#EconomicCrisis
Recession! Clock is Ticking,
I Pray Iam wrong about this!
More Drop coming! Its matter of Time,
Gold and Silver Going massive up!
Safe bet During Crisis!
#nifty below 24676 #banknifty Still Below 51860!
#stocks#StockMarket#nifty50#gold#silver
https://x.com/priceactiongann/status/1823200304126464150