Python Class 12 | Creating Reading Searching CSV File | File Handling | Chapter 5 | Part 7| In Hindi

  Рет қаралды 119,894

codeitup

codeitup

Күн бұрын

Пікірлер: 239
@purviyadavyadav7203
@purviyadavyadav7203 4 жыл бұрын
Sir you are million times better than my school teacher✨✨👍👍👍👍👍👍
@codeitup
@codeitup 3 жыл бұрын
Thanks purvi ! Keep Learning !
@adityamohan1999
@adityamohan1999 3 жыл бұрын
Hundred percent ✅
@sahil-uj9xy
@sahil-uj9xy 3 жыл бұрын
Nooo... He is trillion times better
@darkereyespot
@darkereyespot 3 жыл бұрын
Don't compare ur school teacher with other teachers
@LALITGOSSIPS
@LALITGOSSIPS 3 жыл бұрын
@@darkereyespot right👍👍👍👍
@ananyamishra1815
@ananyamishra1815 11 ай бұрын
Sir, I have recommended your channel to almost everyone i know who has CS as an optional, that's how much of an impact you have had on my CS Results I wish you all the best for your future endeavors and i hope your channel gets the recognition it deserves! Thank you so much sir :)
@codeitup
@codeitup 11 ай бұрын
Thanks a ton for your precious comment, keep learning 😊
@Sneha-fo5bf
@Sneha-fo5bf 3 жыл бұрын
Content quality is better than many youtube channels!
@codeitup
@codeitup 3 жыл бұрын
Thanks 😊
@Traveldiaries77-e7r
@Traveldiaries77-e7r 2 жыл бұрын
my school teacher is an iit holder still we cant get what he teaches in class ... many thanks to you sir i scored 90+ in cs ❤
@codeitup
@codeitup 2 жыл бұрын
😊👍
@wrawler
@wrawler Жыл бұрын
@Srajan Rai every IITian doesn't end up in a good firm bruhh
@wrawler
@wrawler Жыл бұрын
@Srajan Rai and maybe his/her school is a good one
@Dynamicgamer.
@Dynamicgamer. Жыл бұрын
Amazing sir I didn't understand cs with my schl teachers whole year , but your single video makes me feel that I leaned a lot ❤️❤️
@codeitup
@codeitup Жыл бұрын
Glad to hear that🙂
@xyz7006
@xyz7006 2 жыл бұрын
You are best💯👍, you are better than my school teacher👩‍🏫‍ ❤
@codeitup
@codeitup 2 жыл бұрын
😊
@adibashameem3414
@adibashameem3414 2 жыл бұрын
I have come to believe that a great teacher is a great artist and that there are as few as there are any other great artists. Teaching might even be the greatest of the arts since the medium is the human mind and spirit....
@yashjha-ot2pv
@yashjha-ot2pv 9 ай бұрын
best cs teacher i have ever seen !!
@codeitup
@codeitup 9 ай бұрын
😊
@santoshrajak8535
@santoshrajak8535 9 ай бұрын
​@@codeitup Ip ke students bhi padh skte h
@r...k....videos...4684
@r...k....videos...4684 Жыл бұрын
You are the best teacher for computer. THANKS SIR.....
@codeitup
@codeitup Жыл бұрын
Most welcome!
@HimanshuKumar-mg8xd
@HimanshuKumar-mg8xd Жыл бұрын
Sir , i have studied,last year from u and by just watch your lecture and make notes i have scored 98, thank you so much sir....
@snelovesaestov6312
@snelovesaestov6312 Жыл бұрын
Thank you sir, you made me understand everything clearly which I never understood from past 6 months.🤗
@codeitup
@codeitup Жыл бұрын
🙂👍
@weddingsbyanjani
@weddingsbyanjani 2 жыл бұрын
Thankyou Sir ,for point to point and clear explanation.
@codeitup
@codeitup 2 жыл бұрын
Most welcome🙂
@eracersofficial5239
@eracersofficial5239 Жыл бұрын
A TEACHER LIKE YOU IS MOST IMP VERY NICE EXPLANATION SIR THANK YOUU SIRR
@radhekrishna.....7650
@radhekrishna.....7650 3 жыл бұрын
Superb lecture sir👍.....sir today I am comment my problem on another vedio..pls tell me the solution of this...🙋‍♂️🙂
@kpremkumar9523
@kpremkumar9523 2 жыл бұрын
Great brother Keep it up
@review_hub102
@review_hub102 3 жыл бұрын
Sir ji Pheli bar samaj my aaya And we appreciate your efforts sir
@JatinKataria_1014
@JatinKataria_1014 Жыл бұрын
Thank you sir 🥰 For your superb explanation, it helped me a lot Love your videos 🥰
@codeitup
@codeitup Жыл бұрын
Glad to hear that!
@janhvi15
@janhvi15 2 жыл бұрын
Best teaching sir....❤️nd beautiful smile uh have🥰🥀
@codeitup
@codeitup 2 жыл бұрын
Thanks Janhvi!
@akshitsandal2605
@akshitsandal2605 3 жыл бұрын
Sir You create very nice videos which are helpful for us.🤞👍👍
@codeitup
@codeitup 3 жыл бұрын
Thanks Akshit!
@loving_sisters
@loving_sisters Жыл бұрын
Sir thank you so much for this amazing explanation
@codeitup
@codeitup Жыл бұрын
Thanks and welcome!
@ayushikeshri1486
@ayushikeshri1486 10 ай бұрын
You are the best cs teacher in KZbin ❤❤❤
@codeitup
@codeitup 9 ай бұрын
😊🙏
@tenzindorjee7689
@tenzindorjee7689 3 жыл бұрын
Thank you Anand sir ❤️🙏
@codeitup
@codeitup 3 жыл бұрын
Welcome Tenzin😊
@priyanshigodia8921
@priyanshigodia8921 10 ай бұрын
This video helped me a lot a day before my Board Practical's 🙌 Thank you soo much
@codeitup
@codeitup 10 ай бұрын
Glad it helped!
@santoshrajak8535
@santoshrajak8535 9 ай бұрын
​@@codeitup ip wale padh skte h
@18tricksta89
@18tricksta89 2 жыл бұрын
Thank you so much sir for your hard work and efforts..it was super easy to understand thanks to you!
@codeitup
@codeitup 2 жыл бұрын
Thanks & most welcome Manan!
@sakshisahu185
@sakshisahu185 3 жыл бұрын
Thankyou sir fir great explanation.
@codeitup
@codeitup 3 жыл бұрын
My pleasure😌
@panshumaharaj3521
@panshumaharaj3521 Жыл бұрын
Now ,we are properly prepare for our board exams❤❤ thanks a lot.. sir.....❤😊😊😊.... Mahadev bless you❤sir...😊
@codeitup
@codeitup Жыл бұрын
Most welcome 😊
@konggamerz2487
@konggamerz2487 2 жыл бұрын
Sir thanks a lot from bottom of my heart 💕
@codeitup
@codeitup 2 жыл бұрын
😊
@bewmerhikes1271
@bewmerhikes1271 Жыл бұрын
sir you are the best❤❤
@codeitup
@codeitup Жыл бұрын
😊🙏
@RRC786
@RRC786 3 жыл бұрын
Sir CSV aur Binary file ke practical video bhi daal dijye please.
@mriduagrawal5886
@mriduagrawal5886 3 жыл бұрын
I was so stressed about my practicals but now I am so confident thanks to you, sir😌
@codeitup
@codeitup 3 жыл бұрын
My pleasure😌
@p1xyb0i
@p1xyb0i Жыл бұрын
thank you sir your vids helped in revision ❤
@philomath5951
@philomath5951 2 жыл бұрын
Sir you are our real rocky bhai! 🤘 🤘 🤘
@codeitup
@codeitup 2 жыл бұрын
😊
@Aman-yt5qk
@Aman-yt5qk 3 жыл бұрын
Intro Mast hain sir...
@codeitup
@codeitup 3 жыл бұрын
Thanks Aman!
@abhishekpatel7174
@abhishekpatel7174 4 жыл бұрын
Very nice sir ji 😍😍
@codeitup
@codeitup 4 жыл бұрын
Thanks Abhishek !
@AmanVerma-c4l
@AmanVerma-c4l Жыл бұрын
Amazing👍🤩😍
@codeitup
@codeitup Жыл бұрын
Thanks !
@arushgupta5934
@arushgupta5934 Жыл бұрын
Sir this my first time in csv files programing so i want to ask that we have to create the file first in excel then in our program or something else
@visheshkrmahor1804
@visheshkrmahor1804 2 жыл бұрын
Baki teacher padte hai par app sir cs ko feel Kara dete hai 😍😁😃
@abhijeetsinghrajput936
@abhijeetsinghrajput936 3 жыл бұрын
Sir u help a lot I can't express I don't know anything thing but know I am capable to create program
@codeitup
@codeitup 3 жыл бұрын
Glad to help you Abhijeet!
@kajolsahu3495
@kajolsahu3495 3 жыл бұрын
Thankyou soo much sir .......👍🏻😊😊😊
@codeitup
@codeitup 3 жыл бұрын
Most welcome😊
@abdulmalik-wy7il
@abdulmalik-wy7il 3 жыл бұрын
About explaination say nothing 😁🤩🤩😘😘😘🥰🥰🥰🥰🥰🥰🥰🥰
@codeitup
@codeitup 3 жыл бұрын
Thanks Abdul 😊
@2l8iwon101
@2l8iwon101 3 ай бұрын
hello sir, in context of 7:04 The syntax for 'with open' is : with open(,) as < file handler> : . you have missed the as in your video 😊
@devchaudhary5892
@devchaudhary5892 Жыл бұрын
Ab yahi se puuri cs karunga or dosto ko bhi refer karunga
@codeitup
@codeitup Жыл бұрын
😊👍
@shreyaprajapati5020
@shreyaprajapati5020 8 ай бұрын
Thankyou million times sir❤
@himanshukeshri7313
@himanshukeshri7313 3 жыл бұрын
In this program,sir, you have done wrong that in place of i[2] ,it should be int(i[2]) then the program will be OK. import csv def create(): with open("detail.csv","w") as obj: fobj=csv.writer(obj) fobj.writerow(["roll","name","marks"]) while True: roll=int(input("enter the rollno:")) name=input("enter the name:") marks=int(input("enter the marks:")) record=([roll,name,marks]) fobj.writerow(record) choice=int(input("enter 1 for continue or 2 for exit:")) if choice==2: break def display(): with open("detail.csv","r") as obj: fobj=csv.reader(obj) for i in fobj: print(i,end="") def search(): with open("detail.csv","r") as obj: fobj=csv.reader(obj) next(fobj) for i in fobj: if i[2]>=99: print(i) create() display() search()
@aabc4941
@aabc4941 3 жыл бұрын
Why int(i[2])
@himanshukeshri7313
@himanshukeshri7313 3 жыл бұрын
@@aabc4941 because when i[2] is a string and we know that string value is not comparable. So,we take it as int for further searching.
@aabc4941
@aabc4941 3 жыл бұрын
@@himanshukeshri7313 ok. Lekin us program me ye problem next(fobj) se bhi solve ho rhi thi , kyunki uske bad integer value hi thi to tumne wrong kyu kaha..
@himanshukeshri7313
@himanshukeshri7313 3 жыл бұрын
Dekho roll aur marks hmlog int me liye hai par jb wo jb file me jaaega to wo string me convert hojaaega isliye wo comparable nhi tha Aur comparable banaayega ke liye usko hmlog into me convert kiye hai
@aabc4941
@aabc4941 3 жыл бұрын
@@himanshukeshri7313 ok. Thanks btane ke liye
@pirategaming7620
@pirategaming7620 2 жыл бұрын
Thank sir♥️❤️♥️❤️❤️❤️❤️
@codeitup
@codeitup 2 жыл бұрын
Most welcome !
@Bhavya491
@Bhavya491 4 жыл бұрын
Sir please next video on this chapter to finish it this is very helpfull for me in my exams
@codeitup
@codeitup 4 жыл бұрын
I will try my best Nandini !
@AyushYadav-jc8mg
@AyushYadav-jc8mg 4 жыл бұрын
Sir pls out put wale questions bhi karvaiye.. ... For all chapters.(means which are in our syllabus and some extra for skill devloping) . Of sumitra arora python class 12...boards🙏🙏🙏
@codeitup
@codeitup 4 жыл бұрын
Definitely Ayush, Just let me complete the syllabus first.
@MitthuSenpaiHindi
@MitthuSenpaiHindi Жыл бұрын
AMAZING
@codeitup
@codeitup Жыл бұрын
🙂
@topthings4838
@topthings4838 11 ай бұрын
धन्यवाद
@codeitup
@codeitup 11 ай бұрын
😊
@knighthunter8754
@knighthunter8754 2 жыл бұрын
I have a doubt Is that Sir said that if we use next (fobj)then first line will not be considered This mean that in fobj data is stored in forms of lines Am i right?
@VeritasiumOP
@VeritasiumOP 2 жыл бұрын
Yes ...In fobj the data is stored line by line in form of lists.. When you use next() it skips the next line/list
@kishanbhargav7655
@kishanbhargav7655 2 жыл бұрын
thank you sir I am not even in class 12 I am a programer. and sir csv.reader does not give list we have to make it.
@deepakchoudhary8326
@deepakchoudhary8326 3 жыл бұрын
great
@codeitup
@codeitup 3 жыл бұрын
Thanks Deepak!
@sauravkasana8254
@sauravkasana8254 4 жыл бұрын
Nice explanation sir ❤️❤️
@codeitup
@codeitup 4 жыл бұрын
Keep watching !!!!
@kartikcharan2177
@kartikcharan2177 Жыл бұрын
Thanks a lot sir
@codeitup
@codeitup Жыл бұрын
Most welcome Kartik!
@alfazjani8472
@alfazjani8472 3 жыл бұрын
sir can we use for loop
@VENOM-sq2mn
@VENOM-sq2mn 3 жыл бұрын
Nice ❤️❤️
@axittiwari0
@axittiwari0 8 ай бұрын
Thankyou soooooo much sirrrrr🙏🙏🙏
@RIPCartoons2
@RIPCartoons2 Жыл бұрын
thank you sir exams over❤️❤️
@codeitup
@codeitup Жыл бұрын
Most welcome!
@sdey200
@sdey200 2 жыл бұрын
Sir when we enter data in csv file why it gave a row gap after writing in a row...plz tell thts y i cant search anything it will show range error when i write this code in computer plz tell?
@Ronny______
@Ronny______ Жыл бұрын
Underrated 🤩
@rinkishaw1929
@rinkishaw1929 3 жыл бұрын
Love you sir you are amazing 🤩🤩🤩
@codeitup
@codeitup 3 жыл бұрын
Thanks a lot Rinki!
@gauravgoliyan7354
@gauravgoliyan7354 3 жыл бұрын
35k🥳🥳🥳🥳
@codeitup
@codeitup 3 жыл бұрын
😊
@sheikhmuktadir260
@sheikhmuktadir260 3 жыл бұрын
Sir search ke time import csv with open("details.csv","r") as obj: fobj = csv.reader(obj) next(fobj) for i in fobj: if(i[2]>=99): print(i) pata nahi q index out of range show kar raha hai mera.kuch solution bataye please
@pratiktakale6247
@pratiktakale6247 3 жыл бұрын
Mera bhi!!!
@jallad8556
@jallad8556 3 жыл бұрын
Bro tumne search function ka use nhi kiya shayd isliye
@Bhardwaj_SirJi
@Bhardwaj_SirJi 3 жыл бұрын
with open("details.csv","w",endline=' ') as obj: Use This code while you are going to write on file. Then this error will be sorted out.
@sheikhmuktadir260
@sheikhmuktadir260 3 жыл бұрын
@@Bhardwaj_SirJi Thank you
@HakaiEditz55
@HakaiEditz55 Жыл бұрын
Aap kitne Pyar Se samjhate Ho Lekin Hamare school ke teacher thoda Galti hone per Hathon Se dhulai Karte Hain😢😢😢
@dharamdeepschool
@dharamdeepschool 9 ай бұрын
def search(): i=0 with open("details.csv","r")as obj: fobj=csv.reader(obj) next(fobj) for i in fobj: if i[2]>60: print(i)
@dharamdeepschool
@dharamdeepschool 9 ай бұрын
sir error kyu show kar raha hai .plz suggest
@dharamdeepschool
@dharamdeepschool 9 ай бұрын
Sir reply please. U answered to everyone but did not tell the error
@harryjamespotter9437
@harryjamespotter9437 7 ай бұрын
​@@dharamdeepschoolint(i[2]) hoga
@hemantbohra1902
@hemantbohra1902 Жыл бұрын
even after using next(fobj) Python is giving following error TypeError: '>' not supported between instances of 'str' and 'int'
@pawxnsingh
@pawxnsingh Жыл бұрын
Sare best sir best sir likh rahe implement karke koi nhi dekh rha 😅
@sakthivelpk2517
@sakthivelpk2517 7 ай бұрын
same
@sakthivelpk2517
@sakthivelpk2517 7 ай бұрын
same
@sheikhmuktadir260
@sheikhmuktadir260 3 жыл бұрын
Thank you sir... Nice explanation
@codeitup
@codeitup 3 жыл бұрын
You're most welcome!
@LearnwithSahim
@LearnwithSahim 2 жыл бұрын
Sir, where is *Relative & Absolute Path* ? Pls upload it. I'm not getting it.
@payalnarwal
@payalnarwal 4 жыл бұрын
Thank you sir
@codeitup
@codeitup 4 жыл бұрын
Welcome Payal !
@superhitashutosh5971
@superhitashutosh5971 3 жыл бұрын
End mein sir please bta dijiye
@devchauhan1627
@devchauhan1627 3 жыл бұрын
Starting m konsa avertisement aaya tha tum logon ki video m
@anupanand7281
@anupanand7281 4 жыл бұрын
Nice sir jee
@codeitup
@codeitup 4 жыл бұрын
Thanks Anup !
@UttarakhandGamer
@UttarakhandGamer 4 жыл бұрын
nyc explane sir jii
@codeitup
@codeitup 4 жыл бұрын
Thanks for liking Ranjan !
@poonamchauhan100
@poonamchauhan100 Жыл бұрын
Sir book me text file k type me tsv,csv,regular file diya h but aap isse Alag Alag type me bta rhe h..doubt clear kriye sir
@vikassonkar861
@vikassonkar861 3 жыл бұрын
sir, kya read or search me b "import csv" likhna hoga?
@codeitup
@codeitup 3 жыл бұрын
Yes Vikas it's necessary.
@anujn0096
@anujn0096 3 жыл бұрын
sir jab mene linear search se pehle wala code dala to wo attribute error batara hai.. plss kuch bataiye..
@vikasjangid4039
@vikasjangid4039 2 жыл бұрын
Text file is human readable and binary file is human unreadable right ok ! Then ,CSV file readable or unreadable
@gudiatoka
@gudiatoka 2 жыл бұрын
Use pandas ..rather tha this
@payalnarwal
@payalnarwal 4 жыл бұрын
Your new subscriber
@codeitup
@codeitup 4 жыл бұрын
Thanks for subbing!!!
@tusharpandey856
@tusharpandey856 10 ай бұрын
sir run nhi horh h pls help import csv def create(): with open("detail.csv","w") as obj: fobj=detail.writer(obj) fobj.writerow(["roll no.","name","total_marks"]) while True: roll=int(input("roll")) name=input("name") total=input("marks") record=[roll,name,total] fobj.writerow(record) ch=int(input("1-ENTER MORE 2-EXIT ENTER YOUR CHOICE ")) if ch==2: break
@vaibhavtiwari8865
@vaibhavtiwari8865 3 жыл бұрын
i[2]=='99' : hoga then next ki bhi xroorat nhai
@rohanpatidar8638
@rohanpatidar8638 3 жыл бұрын
Sir apke oop pe video he kya python ke
@urmilasingh9033
@urmilasingh9033 2 жыл бұрын
watching
@codeitup
@codeitup 2 жыл бұрын
Okk
@donjittu92
@donjittu92 2 жыл бұрын
2023 me konsa questions ayega today hamako hints dedo sir otherwise I will fail sir
@amardeepyadav2262
@amardeepyadav2262 3 жыл бұрын
Can I score good marks after watching your lectures and doing questions and not studying computer whole year coz of being of maths and suffering from new normal.
@codeitup
@codeitup 3 жыл бұрын
It's all depends upon you Amardeep. If you want to learn by yourself you may follow the playlist "Python Class 12" otherwise you may join the crash course batch if you 11th concept are ok till looping and lists.
@amardeepyadav2262
@amardeepyadav2262 3 жыл бұрын
Whats the fee
@NishpreetS
@NishpreetS 3 жыл бұрын
Kitne aaye bhai CS me???
@tahakhan7065
@tahakhan7065 3 жыл бұрын
27:22 Sir next(obj) is still giving TypEerror
@codeitup
@codeitup 3 жыл бұрын
Paste your code here please Taha..
@HV.BEATBREAKERS
@HV.BEATBREAKERS 3 жыл бұрын
@@codeitup yes sir it is giving error ,, i am pasting the code pls check. #CSV , COMMA SEPERATED VALUE import csv def create(): with open("details.csv","w") as obj: fobj = csv.writer(obj) fobj.writerow(['Roll','Name','Total Marks']) while True: roll = int(input("Enter Roll Number: ")) name = input("Enter Name: ") total = int(input("Enter total marks: ")) record = [roll,name,total] fobj.writerow(record) ch = int(input("1-> Enter more 2-> Exit Enter your choice!")) if ch == 2: breakdef display(): with open("details.csv","r") as obj: fobj = csv.reader(obj) for i in fobj: print(i) def search(): with open("details.csv","r") as obj: fobj = csv.reader(obj) next(fobj) #name and Total Marks are strings for i in fobj: if i[2] >= 490: print(i) After executing the code it is giving error as "list index out of range", i did two inputs with marks 500 each but still showing error.. pls reply sir.. you're god's man for non attending students like us..
@abhilasharya4673
@abhilasharya4673 3 жыл бұрын
@@codeitup same problem with me also sir
@hackerred4485
@hackerred4485 3 жыл бұрын
@@codeitup same error with me also.... It's showing "list index out of range"
@Shivam-xi7fo
@Shivam-xi7fo 3 жыл бұрын
import csv def create(): with open('details.csv','w') as obj: fobj=csv.writer(obj) fobj.writerow(['Roll','Name','Total_Marks']) while True: roll=int(input('Roll No: ')) name=input('Name: ') marks=int(input('Total marks: ')) record=[roll,name,marks] fobj.writerow(record) c=int(input('1->Enter More 2->Exit Enter Your Choice:')) if c==2: break; def display(): with open('details.csv','r') as obj: fobj=csv.reader(obj) for i in fobj: print(i) create() display() *Sir it is showing error:* AttributeError: partially initialized module 'csv' has no attribute 'writer' (most likely due to a circular import) what should I do sir?
@codeitup
@codeitup 3 жыл бұрын
It usually happens when IDLE detects some installation issues. Pls try restarting your system and then executing the program. Otherwise uninstall and install python.
@Shivam-xi7fo
@Shivam-xi7fo 3 жыл бұрын
@@codeitup ok sir, thanks
@Shivam-xi7fo
@Shivam-xi7fo 3 жыл бұрын
@@codeitup sir tried again but I found that when I use it on my mobile, without saving it the program is running but the csv file is not shown, but after saving it it shows attribute error
@prateekjaiswal9203
@prateekjaiswal9203 4 жыл бұрын
Crystal clear 💯
@codeitup
@codeitup 4 жыл бұрын
Thanks Prateek !
@Neha_M25
@Neha_M25 3 жыл бұрын
👍
@codeitup
@codeitup 3 жыл бұрын
😊
@Error404usernotfound69
@Error404usernotfound69 Жыл бұрын
Today is my exam sir 🥺😂
@codeitup
@codeitup Жыл бұрын
@badalkumar-ck1hj
@badalkumar-ck1hj 3 жыл бұрын
very good all video sir Thank u dil se
@codeitup
@codeitup 3 жыл бұрын
Most welcome dear😊
@aaryarastogi3600
@aaryarastogi3600 3 жыл бұрын
Sir ham function ko call to tab krenge na jab hame us function ko dusre program me use Karna hoga NHi to nhi krenge call ham function ko??
@Musicstudio2121
@Musicstudio2121 2 жыл бұрын
Sir CSV letter capital ya small
@get_yo_facts_ryt
@get_yo_facts_ryt 2 жыл бұрын
Small
@allaboutee.2667
@allaboutee.2667 2 жыл бұрын
after run the programe its showing a error .. IndexError: list index out of range. import csv def creat(): with open("soum.csv","w") as obj: fobj = csv.writer(obj) fobj.writerow(["Roll","Name","Total Marks"]) while True: Roll = int(input("Enter the number ")) Name = input("Enter the name ") TotalMarks = int(input("Enter the Marks ")) record = ["Roll","Name","TotalMarks"] fobj.writerow(record) ch = int(input("Enter more Exit ")) if ch == 2: break def display(): with open ("details.csv","r") as obj: fobj = csv.reader(obj) for i in fobj: print(i) def search(): with open ("details.csv","r") as obj: fobj = csv.reader(obj) next(fobj) for i in fobj: if i[2]>=99: print(i) creat() display() search()
@shortscreator9977
@shortscreator9977 Жыл бұрын
bhai isse replace krdo hojayega......with open("question.csv", "w", newline='') as obj:
@shortscreator9977
@shortscreator9977 Жыл бұрын
also replace i[2]>=99 to int(i[2])>=
@chunmun8383
@chunmun8383 Жыл бұрын
@@shortscreator9977 can you pls send the code once
@superhitashutosh5971
@superhitashutosh5971 3 жыл бұрын
@code it up sir def create () function hai toh call nahi kiye usko
@codeitup
@codeitup 3 жыл бұрын
Might be missed it.
@superhitashutosh5971
@superhitashutosh5971 3 жыл бұрын
@@codeitup ok sir
@NishpreetS
@NishpreetS 3 жыл бұрын
Hiii bro
@mukulverma741
@mukulverma741 3 жыл бұрын
Sir file ko write mode me kholne par to data overwrite ho jayega. How to resolve this
@codeitup
@codeitup 3 жыл бұрын
Open in append mode.
@indubalasingh2587
@indubalasingh2587 3 жыл бұрын
Sir 12:11 m int kyu hoga i think float hoga may be...
@heythereiam_23
@heythereiam_23 3 жыл бұрын
both are correct.float and int depend on which type of data u want to enter
@Piyushthote0867
@Piyushthote0867 Жыл бұрын
Sir but why use as obj program
@amartyagupta9242
@amartyagupta9242 3 жыл бұрын
Sir, why an object was created for opening the csv file?
@adityabhardwaj7306
@adityabhardwaj7306 2 жыл бұрын
Sir note ka link h kya
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 3,1 МЛН
Кто круче, как думаешь?
00:44
МЯТНАЯ ФАНТА
Рет қаралды 3,3 МЛН
The Ultimate Sausage Prank! Watch Their Reactions 😂🌭 #Unexpected
00:17
La La Life Shorts
Рет қаралды 3,7 МЛН
Freshers' Introduction 2024 | IIT Kanpur
7:42
Film Club IIT Kanpur
Рет қаралды 8 М.
(19x+3²) /2 -17 =7x @obicheren.emmanuel
3:12
OBICHERE NGOZI EMMANUEL
Рет қаралды 9
From Strangers to Family - My Engineering hostel days! #hostellife
16:02