Sir aap views aur subscribers par maat jaana, please aise hi content bnate raho. You are the best in the world. Under your guidance I think I will become a good Data Scientist. Keep me in your light sir. I wish to grow such that I can call you as my first mentor at a very big stage.
When using the json.dump() or json.dumps() functions in Python, tuples are converted to lists in the resulting JSON output. This is because JSON does not have a built-in tuple data type. JSON supports a limited set of data types, including strings, numbers, booleans, arrays (lists), and objects (dictionaries). Since tuples in Python are immutable and ordered sequences, they don't have a direct equivalent in JSON. To represent the data from a tuple in JSON, it is converted to a list, which is the closest JSON equivalent to a tuple. This allows for preserving the order of elements and accessing them using numerical indices, just like in a tuple.
21/140 At 40:46, alternate lines are getting printed because: the first f.readline() just checks if the loop should continue and it does not prints anything. The second f.readline() is printing the next line. And it goes on. Therefore only alternate lines are getting printed
Thank's Bhaiya ji mai Internship kar rha tha but due too sem exam I have to drop my session so I missed more topics but this file handling all topics totally matched by those mentor teach other student .So thank's bhaiya for more knowledge... I belongs a middle class family but this channel is more helpful for me and you are my elder brother.... One more request bhaiya ji Please make a playlist for Tableau please bhaiya please...............
Starting from small and simple examples to advance step by step, usage of simple variables and keywords and explaining each and every type in simplest way possible makes your videos a hidden gem. You have made this concept so easy to understand that I have shared your videos with my classmates. Thank you so much for your efforts.🙏😇
at 57:00 correct code should be with open('big.txt', 'r') as f: chunk_size = 10 while True: data = f.read(chunk_size) if not data: # Stop when there's no more data to read break print(data) givecode used by sir will skip some iterations hence don't print whole data
Great content and explaination but there is a faulty code at 1:01:31 the correct code would be: with open('big.txt','r') as f: chunk_size = 10 while True: reading = f.read(chunk_size) if len(reading) > 0: print(reading,end='***') else: break
In 1:24:05 you said JSON full form is JavaScript On Notation but JSON stands for JavaScript Object Notation. Koee baat ni mistake insaan se hee hote ha . but waise he bta deya . Love from Pakistan.
It's great that you love these content from across the border. Just asking that , are these type of teachers not in Pakistan due to which you are coming here
Hello sir...what if object is inherited from other class so in that case if we pickled that file in a binary format and sent it to another system. Will that system now be able to access that object since some of its functionality is dependent upon the parent class?
At 43:00, what if you are having an empty line then there is a content. It will break the code. Do you have something which is a generic approach to avoid such issues.
40:44 only two line is showing because, in while condition we are calling readline() and it read a line but this is not getting printed. That's Why every second line is printing only.
Sir aap views aur subscribers par maat jaana, please aise hi content bnate raho. You are the best in the world. Under your guidance I think I will become a good Data Scientist. Keep me in your light sir. I wish to grow such that I can call you as my first mentor at a very big stage.
Bhai aapne membership lia tha kya
When using the json.dump() or json.dumps() functions in Python, tuples are converted to lists in the resulting JSON output. This is because JSON does not have a built-in tuple data type.
JSON supports a limited set of data types, including strings, numbers, booleans, arrays (lists), and objects (dictionaries). Since tuples in Python are immutable and ordered sequences, they don't have a direct equivalent in JSON.
To represent the data from a tuple in JSON, it is converted to a list, which is the closest JSON equivalent to a tuple. This allows for preserving the order of elements and accessing them using numerical indices, just like in a tuple.
Your videos are so underated. These videos are actually GOLDMINES !!
true
21/140
At 40:46, alternate lines are getting printed because:
the first f.readline() just checks if the loop should continue and it does not prints anything. The second f.readline() is printing the next line. And it goes on. Therefore only alternate lines are getting printed
awesome itana acche content mujhe to nahi mila kisi or you tube video me
Thank's Bhaiya ji mai Internship kar rha tha but due too sem exam I have to drop my session so I missed more topics but this file handling all topics totally matched by those mentor teach other student .So thank's bhaiya for more knowledge... I belongs a middle class family but this channel is more helpful for me and you are my elder brother.... One more request bhaiya ji Please make a playlist for Tableau please bhaiya please...............
57:52
with open("file.txt",'r') as fin:
chunk_size = 100
while 1:
s = fin.read(chunk_size)
if not s:
break
print(s)
Starting from small and simple examples to advance step by step, usage of simple variables and keywords and explaining each and every type in simplest way possible makes your videos a hidden gem. You have made this concept so easy to understand that I have shared your videos with my classmates. Thank you so much for your efforts.🙏😇
Sir, I rarely comment and like videos. But for the first time i felt commenting all your videos . Thankyou for sharing topics with depth 🙏
at 57:00 correct code should be
with open('big.txt', 'r') as f:
chunk_size = 10
while True:
data = f.read(chunk_size)
if not data: # Stop when there's no more data to read
break
print(data)
givecode used by sir will skip some iterations hence don't print whole data
Great content and explaination but there is a faulty code at 1:01:31 the correct code would be:
with open('big.txt','r') as f:
chunk_size = 10
while True:
reading = f.read(chunk_size)
if len(reading) > 0:
print(reading,end='***')
else:
break
with open('big.txt','r') as f:
chunk_size = 10
data = f.read(chunk_size)
while len(data) > 0:
print(data ,end='***')
data = f.read(chunk_size)
treasure for data science aspirants. .. thank you,🙏🙏 sir
Bestest sir !!🙏🙏🙏
1:31:26 Nó way sir
mai yha tk áá gaya and didnt éven realise...Áap bést ho
In 1:24:05 you said JSON full form is JavaScript On Notation but JSON stands for JavaScript Object Notation. Koee baat ni mistake insaan se hee hote ha . but waise he bta deya . Love from Pakistan.
It's great that you love these content from across the border. Just asking that , are these type of teachers not in Pakistan due to which you are coming here
1:24:53 Isnt serialisation is process of converting objects into byte stream which will be stored in binary files!!!!
you are amazing
Very interesting and great explanation sir
great
Hello sir...what if object is inherited from other class so in that case if we pickled that file in a binary format and sent it to another system. Will that system now be able to access that object since some of its functionality is dependent upon the parent class?
how r you remembering all these coding
Sir please add project video on website
can I enroll now to see the paid session?
thank you
At 43:00, what if you are having an empty line then there is a content. It will break the code. Do you have something which is a generic approach to avoid such issues.
#Just a better code to read multiple lines without the if condition
for i in f.readlines():
print(i,end='')
#Just a better code to read multiple lines without the if condition
for i in f.readlines():
print(i,end='')
A lot of 💕
Sir new paid lectures ke recording kidar show hoge?
learnwith.campusx.in
Sir Newwebsite pe bhi pakistani se payment pay nahi ho pa rahi hay iss ki kiaa wajaa hay.
mail me at nitish.campusx@gmail.com
Please do these type of informative videos in English. It will very useful i was excited to watch this Playlist but it was in Hindi
Plz add real project
sir acually you are skiping 10 words in each iteration because you apply read for two times in that ruclips.net/video/o-TAYRMQzIQ/видео.html
40:44 only two line is showing because, in while condition we are calling readline() and it read a line but this is not getting printed. That's Why every second line is printing only.