Mam U are jusst awesome.. The way u are teaching is extremely fabulous ❤️❤️🥰🥰.. Mam, will you complete the whole syllabus of class 12 computer science ?
Thanku so much for your Golden Words..😊🙏🏻 Definitely will cover whole syllabus..80% already completed.. after completion of whole syllabus..will upload important Questions and sample papers also .. Keep Watching 😊
You are doing a great job mam....10000000likes for you....i watched your videos and found,why i didn't get it earlier.thnkyu so much mam.....please upload more and more important questipns for 2021 cs exams.
Mam After watching this video thrice... The only concept which i'm not able to understand is the use of seek(0),rpos=f.tell() and f. Seek(rpos) in updation program.. Mam i only want ki bss aap ek baar line by line btado ki why these three are used and what effects are they creating in the program.. Baaki all clear❤️ hai mam except thees three..
To update the record...we will follow 3 steps.. 1. seek(0) : Move the file pointer to the begining, so that we can read the records from the beginning.. 2. When we found the record, which is to be updated, then. ,we will get the position of current file pointer using f.tell() function. It's value is getting stored in rpos variable. 3. Then finally, we move the file pointer using seek() to that particular location, where we want to update the record.having argument rpos , which contains the location of a record that is to be updated..
maam in the deletion operation , won't an eof error come up and how to resolve it as if we use try and except here then it would become a local variable,and if we do not put them it would display an eof error,pls help maam,it's urgent.
Mam u have taught two methods of update operation.. One in this video and one in sparate video... Is there any difference in those 2 methods.. I mean ki dono me se if koi b method hum board exam me krenge to chlega na? Bcz meko wo doosra wala method zada simple lga.. This above method of updating is bit confusing
Ma'am will it make a difference if we don't write seek(0)?? ....it is going to append at the end ...and we will read it ....then whole data will be read automatically even the appended one ....
It's fantabulous ma'am to see ur contents... Its really amazing..! 😊👌👌👌N thank-you so much for ur efforts... Such keen explaination and important questions solving videos i hve not seen for any subjects..! Specially Computer science... 🤗😊#CS_WIZARD✌️
For standalone programs...it will work..if there is no exception..but in case the Exception is generated..we have to handle that using except block.. This is even good programming practice to handle the exceptions in a program
Generally...when we open the File using with statement , then there is no need to close the file explicitly. If we are opening it with open(), we have to close the file using close() Function..
Hello mam 🙂 while doing this program in the def append part on tapping y for entering more records it just brought out from the loop and said Record appended ? What could be the error
For this...use the logic.. Prompt the user to enter the value and compare every value entered by the user with all the previous values. If match founds..then duplicate value...
Mam jo update vala function h agr usme humne koi essa rollno daala jo na ho file m toh kya hoga ...humne koi msg nhi diya n ....agr hume msg dena ho toh hum if k parallel else krke denge n
ch=int(input("which operation would u like to perform?:") In this statement, one closing bracket is missing.. ch=int(input("which operation would u like to perform?:"))
if i[0] == r: continue This means the roll no. given by the user will be taken and iterated , but this continue function will skip that data alone (where i[0] == r) and print other data in the new RECLIST. Skipping that data essentially means deleting it because it is not printed. For example, if you input 2 , then , the data corresponding to 2 alone will get skipped and others will get appended in the RECLIST. So, 2 won't get added in the list. At last when you print everything except the data corresponding to 2 will be given as output. That's why we are appending in the delete function.
Ma'am, while updating last record is ok, but when we are trying to update first or middle records then later remaining data is not dumping properly and even appending also not able to do
Mam aapne pehle read mein while true ke andar try block dala tha Ismein aap try block ke andar while true dal rhi hai mam aapne aise previous way se kyu nhi kara?
Ma'am all operations are great, one thing is not working for me, after appending data/record if I use delete operation(call Del fun) , it messes up. Plz check and update.
@@SwatiChawlaofficial Tried with your code only, which is given in this video, plz run your code after Append two or more records and delete recently added one.
@@SwatiChawlaofficial Tried with your code only, which is given in this video, plz run your code after Append two or more records and delete recently added one.
@@SwatiChawlaofficial mam... in all the videos of binary files the comments are turned off... 😟😟 Pls check the playlist of file handling once... In this playlist most of the videos don't have comments turned on... Btw, thnx for everything you have done for us... We will always be indebt of all the teaching given by you...
If i will provide the code then some students just copied 8t and don't bother to understand it... It will definitely not increase their programming skills
@@SwatiChawlaofficial Someone who came here to copy the code will copy the code anyways without understanding, it will just be harder. And the person who came here to learn will learn it either way. I had my practical that day, so I didn't have much time, and just needed to learn one part of the program, I had to seek through it so I got a little worked up. Maybe post it somewhere it won't be too easy to find or something.
You are queen 👑 of computer science 😇
so sweet of u....Thanku so much...
Plz guys support her...she deserves more...for all her efforts and knowledge ❤️🙏
Thanku so much..
Please share the channel with others too..
Hereby I consider you as a god of explaining cs programs
Thanku so much 🙏🏻🙂
Thank you so much mam tomorrow is my computer science practice exam. This video really helped me ♥️♥️
Most welcome 😊
Mam U are jusst awesome.. The way u are teaching is extremely fabulous ❤️❤️🥰🥰..
Mam, will you complete the whole syllabus of class 12 computer science ?
Thanku so much for your Golden Words..😊🙏🏻
Definitely will cover whole syllabus..80% already completed.. after completion of whole syllabus..will upload important Questions and sample papers also ..
Keep Watching 😊
@@SwatiChawlaofficial m watching liking sharing mam.. 🥰
Thanku..🙏🏻😊
Thank u so much mam
Your video helps me a lot in project work and clearing my concepts
Thanks and Welcome
One of the best video 📹 👏 for computer...
MUST WATCH.....😀😀FOR YOUR COMPUTER 🖥 PROJECT
THANK YOU MA'AM 😊
Most welcome 😊
thank you soo much mam,i learn for my board exam from u and i am grateful to you mam.
Thanku..
Keep watching
thank you soo much mam ❤️ u r the best computer teacher..!!
Thanks and Welcome 🤗
A great video by great teacher,hatsoff to you . It helps to make my project easy .
thankyou
My pleasure...
Keep watching
@@SwatiChawlaofficial mam please make similar video on how to make menu driven program, using python and mysql both
ruclips.net/video/QjIqYbiVQuw/видео.html
Excellent explanation madam thanks for your spending valuable time for us.
Thanku.....😊🙏🏻
This is amazing 😍😍
Thanks you so much for your efforts 👍
My pleasure 😊
Keep watching..
Thankyou ma'am 😊
Most welcome 😊
You are doing a great job mam....10000000likes for you....i watched your videos and found,why i didn't get it earlier.thnkyu so much mam.....please upload more and more important questipns for 2021 cs exams.
Thanks a lot..
Plz check the Playlists of all the chapters..
There you will find important Questions from each chapter..
Excellent Explanation mam
Thanku beta..🥰😊
Excellent explanation of all the concepts in one video .
Thanku so much...😊🙏🏻🙏🏻
Thank you so much for this video. Really helpful
My pleasure..🙏🏻😊
Mam.. very useful vdo. Thanks a lot 🙏
Most welcome 😊
Keep watching and sharing..
@@SwatiChawlaofficial Ma'm,
Plz provide project work also.. then it is more helpful
Excellent Explanation mam
😊
Thanks a lot
Thank you mam for this video🙏🏻
My pleasure...🙏🏻😊
Thank you mam for such an excellent teaching ❤️🤩
Thanks and Welcome...
Keep Watching..
Thank you so much ma'am
Very good explanation 👌👌
Congratulations mam for 100k in advance (now it is 99.9k)😅😊
Thanks a lot 😊
Ma'am when we use wb ....should it not overwrite the data in file ?
Amazing lecture🎉
Thanks a lot 😊
Work on you will definetly get a good acheivement.
Thank you..🙏🏻😊
amazing explanation, thank you
Welcome...😊😊🙏🏻🙏🏻
print("Thank you very much mam 👍👍")
Welcome
You are amazing. Thank you
Thanks and Welcome..
Can we use rb+ mode and open file only once in deletion operation?
Plz reply mam kal hi board exam hai 😂😂😢
Madam which update method to be followed.If the length of the name while input is more or less characters in a nested list of student records ?
The method given in this video..will work..
Mam after downloading your video offline in youtube , not able to increase speed from normal to 1.5 or 2x , pl make that feature available
Thanks a lot ma'am 🥰🥰
Welcome..
Ma'am when i choose second option it doesnt show the data instead it shows
1.write data in file
2.read data of file
3.append...............
Mam delete vale function mai try/except use nhi hoga ky.
For se toh bas first index read hota hai na?????
Mam After watching this video thrice... The only concept which i'm not able to understand is the use of seek(0),rpos=f.tell() and f. Seek(rpos) in updation program..
Mam i only want ki bss aap ek baar line by line btado ki why these three are used and what effects are they creating in the program..
Baaki all clear❤️ hai mam except thees three..
To update the record...we will follow 3 steps..
1. seek(0) : Move the file pointer to the begining, so that we can read the records from the beginning..
2. When we found the record, which is to be updated, then.
,we will get the position of current file pointer using f.tell() function.
It's value is getting stored in rpos variable.
3. Then finally, we move the file pointer using seek() to that particular location, where we want to update the record.having argument rpos , which contains the location of a record that is to be updated..
I hope.. I m able to clear your concept now...
maam in the deletion operation , won't an eof error come up and how to resolve it as if we use try and except here then it would become a local variable,and if we do not put them it would display an eof error,pls help maam,it's urgent.
print("Every concept is now clear just because of you !! ❤️")
#Now
YourSubscribers+=1
Thanku so much...
maam aapke pichle videos mein jidhar aapne singly bataya update , write toh different hai..
You can do in both ways
thank you so much
You're welcome!
We got this as a mini project for Term 1
mam append wali video ma to program ab mode sa bhi run horaha tha
why you are saying that ab mode sa data nested list ma nahi ayaga
Mam u have taught two methods of update operation.. One in this video and one in sparate video...
Is there any difference in those 2 methods.. I mean ki dono me se if koi b method hum board exam me krenge to chlega na? Bcz meko wo doosra wala method zada simple lga.. This above method of updating is bit confusing
Yes..in board exam..u can do with any method..
But for making projects and menu driven programs, this will be helpful..
@@SwatiChawlaofficial thnku mam🥰
Ma'am will it make a difference if we don't write seek(0)?? ....it is going to append at the end ...and we will read it ....then whole data will be read automatically even the appended one ....
hello maam.. after trying this code.,i got an error as TypeError int object is not Subscriptable. What to do now?
It's fantabulous ma'am to see ur contents... Its really amazing..! 😊👌👌👌N thank-you so much for ur efforts... Such keen explaination and important questions solving videos i hve not seen for any subjects..! Specially Computer science... 🤗😊#CS_WIZARD✌️
So nice of you...
Thanks for these Golden Words..
God bless you beta..
Keep watching...
Mam can you please share this program
Wonderful video
Thanku beta
Thankyou mam
Most welcome 😊
maam in the codes where you are using try-exceot can we do it wuthout try-except
For standalone programs...it will work..if there is no exception..but in case the Exception is generated..we have to handle that using except block..
This is even good programming practice to handle the exceptions in a program
Mam please agar possible ho .. 🥺 to pure program ka written format bhi discription me link kr dia kriye ☺️😄
Msm, I try to do this but in searching function which shows TypeError file must have read and read lines attributes.
Try block is not executing
Check your code,, with this one, as this is working fine..
try to find it out, why where u r getting error..
@@SwatiChawlaofficial same code am writing mam.. But I donknw whr or hw error occurred
Ma'am.. in the delete function.. if the roll no is not there in the list, then what?
if we use ab instaed of rb+ then what will happen
Mam r+ ya rb+ mein pehle read krna necessary hota hai
Kya hm directly write nhi kr skte
ruclips.net/video/1FdN_v4Oc_g/видео.html
Check out this
Ma'am can u share this program in telegram group???
Btw thank u for this awesome video👌👌😊😊
Thanku...🙏🏻
Best
Thanks
pls share the pdf menu driven program for binary files in python
Yess... Sure... Send me your Mail id.
Mam I have a confusion that when we use close fun
Sometimes u r using and sometime s not can u explain
Generally...when we open the File using with statement , then there is no need to close the file explicitly.
If we are opening it with open(), we have to close the file using close() Function..
mam please try to provide notes of these sessions.......
Sure... You can enjoy special perks by joining the membership.
Have a look at this.
ruclips.net/channel/UC2vH9rqGh-fJELF8acGfBdwjoin
Maam at 12:25, what is the need of 'while True' statement. Pls answer maam.
it will read the records from the file one by one... when it reaches EOF the exception will be handle by except block and file will get closed.
Are dheeraj tum yahan bhi mil gaye😅😅
😉
@@SwatiChawlaofficialmam but binary file does not have endofline character
Hello mam 🙂 while doing this program in the def append part on tapping y for entering more records it just brought out from the loop and said Record appended ? What could be the error
check your indentation of f.close() or even other statements too..
@@SwatiChawlaofficial Thank You mam it worked ❤️🙏
Mam is there any command to enter only unique serial no in binary files python?
Welcome..🙏🏻😊
For this...use the logic..
Prompt the user to enter the value and compare every value entered by the user with all the previous values.
If match founds..then duplicate value...
Mam jo update vala function h agr usme humne koi essa rollno daala jo na ho file m toh kya hoga ...humne koi msg nhi diya n ....agr hume msg dena ho toh hum if k parallel else krke denge n
yes..similar like search()
please upload code in description
while True:
MainMenu()
ch=int(input("which operation would u like to perform?:")
if ch==1:
ch=int(input("which operation would u like to perform?:")
In this statement, one closing bracket is missing..
ch=int(input("which operation would u like to perform?:"))
@@SwatiChawlaofficial ok ma’am thank u
Mam I am not able to understand why we used in update() , seek and tell() function?
To update the record , we have to move the file pointer to that particular record, which we want to update..for that we require these two functions..
mam why are we appending in the delete function.... i dont get it
if i[0] == r:
continue
This means the roll no. given by the user will be taken and iterated , but this continue function will skip that data alone (where i[0] == r) and print other data in the new RECLIST. Skipping that data essentially means deleting it because it is not printed. For example, if you input 2 , then , the data corresponding to 2 alone will get skipped and others will get appended in the RECLIST. So, 2 won't get added in the list. At last when you print everything except the data corresponding to 2 will be given as output. That's why we are appending in the delete function.
Excellent
Thanks
Agar operation of Binary file par project banana ho tho project ka name kya dale
Ma'am, while updating last record is ok, but when we are trying to update first or middle records then later remaining data is not dumping properly and even appending also not able to do
Can u plz share your code?
Mam could you please mam video on difference between wala question of computer network it's really help us mam🙏🙏🙏🙏
ruclips.net/video/uz3wG_xkZ68/видео.html
ruclips.net/video/tvqBCieTuns/видео.html
ruclips.net/video/grcDIBDns94/видео.html
While reading file its commuting error and saying file of this name does not exist what to do
check the location of ur file..
Mam aapne pehle read mein while true ke andar try block dala tha
Ismein aap try block ke andar while true dal rhi hai mam aapne aise previous way se kyu nhi kara?
Both are correct
The method used in this video is generally used
@@SwatiChawlaofficial ok mam
Mam aapne append mein seek(0) kyu use kara hai isse pehle wale mein only append wali video mein aisa kyu nhi kara
are you teaching in a school also ?
If we won't except what will happen mam
Then u will get error related to that exception
Mam all lists are getting deleted every time I select one list😭😭 pls reply🙏🙏🙏
Try to exexute the code given in the video...one by one...
This one is working properly..
@@SwatiChawlaofficial did it again and worked👍thanks mam🙏
Ma'am all operations are great, one thing is not working for me, after appending data/record if I use delete operation(call Del fun) , it messes up. Plz check and update.
sure....plz share your code...
@@SwatiChawlaofficial Tried with your code only, which is given in this video, plz run your code after Append two or more records and delete recently added one.
@@SwatiChawlaofficial in this video 36th min (delete function) run that code after append record
@@SwatiChawlaofficial Tried with your code only, which is given in this video, plz run your code after Append two or more records and delete recently added one.
Plz share your code...
Mam why you have turned off the comments in your previous videos? Pls mam turn on the comments... It's a request...
Which video?
Plz tell the title name or send link
Turned it ON now...
Please check..
@@SwatiChawlaofficial mam... in all the videos of binary files the comments are turned off... 😟😟
Pls check the playlist of file handling once... In this playlist most of the videos don't have comments turned on...
Btw, thnx for everything you have done for us... We will always be indebt of all the teaching given by you...
@@SwatiChawlaofficial ok mam... Thanx a lot🙂🙂🙂🙂🙂
Diii plzzz give these 6 program by using dictionary... pleasee🙏🙏
ruclips.net/p/PL5Raijva2y4SCqG8UR_12dVUqGHM_V-iX&si=o5YMh1lDaZ-3IQ9X
Mam please share the code here
actually i have installed windows..so all these codes are not saved now...
Man can you provide us these notes
Sure..You can enjoy special perks by joining the membership.
Have a look at this.
ruclips.net/channel/UC2vH9rqGh-fJELF8acGfBdwjoin
Why can't you just post the code?! I'm supposed to watch half an hour for a 10 minute program?
If i will provide the code then some students just copied 8t and don't bother to understand it...
It will definitely not increase their programming skills
@@SwatiChawlaofficial Someone who came here to copy the code will copy the code anyways without understanding, it will just be harder. And the person who came here to learn will learn it either way.
I had my practical that day, so I didn't have much time, and just needed to learn one part of the program, I had to seek through it so I got a little worked up.
Maybe post it somewhere it won't be too easy to find or something.
Ok
Thanks a lot ma'am ❤💝💝
Most welcome
Thanku mam
Welcome..