Day 11 | CS Python Class 12 | Chapter 04 | Python Data File Handling | Binary Files | One Shot

  Рет қаралды 26,255

codeitup

codeitup

Күн бұрын

Пікірлер: 92
@UjjwalAnand-v7l
@UjjwalAnand-v7l 7 ай бұрын
Class starts at : 06:21
@prathamaggarwal8830
@prathamaggarwal8830 7 ай бұрын
Thank you sir, I found this topic quite confusing but your practical driven approach helped me solve my confusions . Again Thankyou ❤
@Itisha_sharma
@Itisha_sharma 3 ай бұрын
Thankyou so much sir 🙏
@Lets_coding.
@Lets_coding. 7 ай бұрын
Sir I practice daily your program like making list from user and write or read data etc
@Noicceboi
@Noicceboi 7 ай бұрын
In the sample paper question, your assumption that the data in the binary file "SPORT.DAT" is in the format of a singular nested list is wrong as the data is in the format of multiple lists with one list on each line. Due to this, pickle.load(f) will only load a single list (the first list in the file) and i[0] will raise this error->TypeError: 'int' object is not subscriptable. To work around this, you need to use a while True loop with try and except statement as in the marking scheme of the sqp.
@Somerandomguy.o7
@Somerandomguy.o7 22 күн бұрын
1:22:20 Ham ladke hai na iss liye
@NikitaSharma-nikkivedvyas11
@NikitaSharma-nikkivedvyas11 7 ай бұрын
Thank you sir for this amazing explanation 😊
@indianspieler2231
@indianspieler2231 3 ай бұрын
❤❤ thanks sir
@isobelleye
@isobelleye 7 ай бұрын
Binary Files completed
@Tanishqlather
@Tanishqlather 7 ай бұрын
thanks sir................
@NitinJaat-qj5tb
@NitinJaat-qj5tb 7 ай бұрын
Nice 😊
@StudyNow-vc8dq
@StudyNow-vc8dq 7 ай бұрын
Sir, can you explain the output def short(L,n): for i in range(0,4): if len(L) > 4: L[i] = L[i] + L[i] else: L[i] = L[i] Sub = ["CS", "PHYSICS", "CHEMICAL", "MATHS"] short(Sub, 5) print(Sub)
@vaibhavjha9318
@vaibhavjha9318 7 ай бұрын
Bhai oswal sample paper ka question h na last year ka?
@StudyNow-vc8dq
@StudyNow-vc8dq 7 ай бұрын
@@vaibhavjha9318 last year ka he
@Protongirl6289
@Protongirl6289 7 ай бұрын
First thing input was last=['CS','HINDI','PHYSICS','CHEMISTRY','MATHS'] Therefore, len(l)>4 so if wala condition apply hoga replicate ho jaayega list ka har element as L[i]+L[i] hai Hence, OUTPUT- ['CSCS','HINDIHINDI','PHYSICSPHYSICS','CHEMISTRYCHEMISTRY','MATHSMATHS']
@StudyNow-vc8dq
@StudyNow-vc8dq 7 ай бұрын
@@Protongirl6289 thanks 😊 🙏🏻
@musicaholic-zq2mm
@musicaholic-zq2mm 7 ай бұрын
@armygirl6289 CS will not be replicated
@sk.creation0008
@sk.creation0008 7 ай бұрын
Explanation ❤
@Sam01_.1
@Sam01_.1 7 ай бұрын
50:49 sir[[[[[[{{{{ SACHDEVA PUBLIC SCHOOL SEC 13 ROHINI ]]]]}}}} MEIN AA JAO SIR 2 APRIL KO
@LAURAINDUSTRY
@LAURAINDUSTRY 7 ай бұрын
This one done
@gouravsusari4474
@gouravsusari4474 7 ай бұрын
thank u sir
@Dhani-ls4dm
@Dhani-ls4dm 7 ай бұрын
Sir Delhi Victoria public school wazirabad road pr wah ajaoo👍🏻👍🏻😁
@rishirathour3973
@rishirathour3973 7 ай бұрын
Mera bhi same school h😅
@Dhani-ls4dm
@Dhani-ls4dm 7 ай бұрын
@@rishirathour3973 but mera centre pdha h🧐
@rishirathour3973
@rishirathour3973 7 ай бұрын
Mera bhi aap ka school kon sa h
@Jitji_963
@Jitji_963 7 ай бұрын
Thank u guriji❤
@sumitchauhan1102
@sumitchauhan1102 7 ай бұрын
1:38:30 , sir yaha copy Data() fn last me call hoga na , return ke baad.?
@SierraHunter2106
@SierraHunter2106 7 ай бұрын
1:34:50 sir yaha i[0].upper() == 'BASKET BALL' karna accha rahega kya ?
@codeitup
@codeitup 7 ай бұрын
Yes
@SierraHunter2106
@SierraHunter2106 7 ай бұрын
@@codeitup thank you sir
@gyangaming6295
@gyangaming6295 7 ай бұрын
Bhai max() syllabus me nhi hcto padhu ya skip kr du
@SierraHunter2106
@SierraHunter2106 7 ай бұрын
@@gyangaming6295 bhai pad lo.. isme koi rocket science nahi lag rahi... chota sa method hai... kuch nahi hoga pad lo... mai to keh raha huun jitna pad sakte ho pad lo w3schools se
@BrillionLuxury
@BrillionLuxury 7 ай бұрын
Sirji 12th ke baad betch CSE karne ka socha hai. Kuch batayiye sahi rahega ki nahi ?
@shwe746
@shwe746 7 ай бұрын
Aree mujghe bhi bro sir se pucho achi baat hai😊.
@eyexo2462
@eyexo2462 7 ай бұрын
Sir in read its shows one data uskeh baad saareh data nhi dikhaata idk why
@karansuthar3337
@karansuthar3337 7 ай бұрын
sir you dont use try except , in marking scheme it is told that there is half mark for try except block
@HimanshuSingh-497
@HimanshuSingh-497 7 ай бұрын
(Please koi solution bata do)A text file "file.txt" has some text. Write a program in Python which should read each word or line of that file and count and display the occurrence of word File and Data
@i.Centurion
@i.Centurion 7 ай бұрын
count=0 def findOccurr(): findword=input("Enter line") file=open("abcd.txt","r") line=file.readlines() for i in line: if i[0]==findword: count+=1 print(count)
@mohammadanas3631
@mohammadanas3631 7 ай бұрын
33:26 with out def ke bhi use kar sakte hai kya
@nikhilsomr.keshavprasad4543
@nikhilsomr.keshavprasad4543 7 ай бұрын
Haan
@Musskan-t6u
@Musskan-t6u 7 ай бұрын
1:38:05 sir yaha toh function call hoga na.. ki nhi hoga??
@lokeshwarsikarwar7087
@lokeshwarsikarwar7087 7 ай бұрын
maza aaya thank you 😇
@ritik_sharma72
@ritik_sharma72 7 ай бұрын
Palam k school a jao sir...palam metro station k gate number 3 pr jo h
@shardadevi916
@shardadevi916 7 ай бұрын
Sir modules nhi pdhaya h kya apne??
@kamladangi9755
@kamladangi9755 7 ай бұрын
Anyone please tell me kya recursion syllabus me nhi hai ka chapter 6 or 7 Please reply
@YuvrajSinghNF
@YuvrajSinghNF 7 ай бұрын
Sir aap question km krwa rhe ho aapne Functions ke pyq or important questions ka koi session nai rakha
@ayushikeshri1486
@ayushikeshri1486 7 ай бұрын
Sir os module bhi bata dijiyega pls sir sample me bahut questions hai os ka 😢😢😢
@sk.creation0008
@sk.creation0008 7 ай бұрын
Guru ji lalaantop
@SavitaKumari-jg9ct
@SavitaKumari-jg9ct 7 ай бұрын
Maja ayga
@codeitup
@codeitup 7 ай бұрын
😊
@khushiram30
@khushiram30 7 ай бұрын
Sir avaz clear nhi h thodi
@Harshawasthi-l2r
@Harshawasthi-l2r 7 ай бұрын
Pt❤
@naharsinghnegi4536
@naharsinghnegi4536 7 ай бұрын
Thankyou sir ❤
@codeitup
@codeitup 7 ай бұрын
Most welcome!
@Novesh0075
@Novesh0075 7 ай бұрын
Sir bholi ram public school ma aa jao delhi ma hai ha
@Mohansingh-ib8hv
@Mohansingh-ib8hv 5 ай бұрын
200/600 me koi college bata
@omanshchoudhary1145
@omanshchoudhary1145 7 ай бұрын
Kuch bhi bolo sir to jeevan rakshak hai aapke bharose hi abhi Tak jinda hai 😅
@Zoro-kd2vq
@Zoro-kd2vq 7 ай бұрын
Very Boring 😢
@rockerzzzkshitij4000
@rockerzzzkshitij4000 7 ай бұрын
Kyun Bhai boring ????🤬🤬🤬🤬
@Cg_sai_art
@Cg_sai_art 7 ай бұрын
Bro agar esa lag raha ho to attend na kro..... lecture
@shwe746
@shwe746 7 ай бұрын
Jabe bhutnike
@priyanshu_k86
@priyanshu_k86 7 ай бұрын
Next time AA mat Jana yaha pe bolne number 33 Ane ki shakal hai nahi yaha pe gyaan Dene AA rahe
@ITACHIUCHIHA-c6k
@ITACHIUCHIHA-c6k 7 ай бұрын
Ye pakka vo hi log ha jo 2 din anime dekh ka ye bolta hoga gojo can beat goku😂😂😂😂
@StudyNow-vc8dq
@StudyNow-vc8dq 7 ай бұрын
Sir, can you explain the output def short(L,n): for i in range(0,4): if len(L) > 4: L[i] = L[i] + L[i] else: L[i] = L[i] Sub = ["CS", "PHYSICS", "CHEMICAL", "MATHS"] short(Sub, 5) print(Sub)
@Sam01_.1
@Sam01_.1 7 ай бұрын
output is same as sub
@StudyNow-vc8dq
@StudyNow-vc8dq 7 ай бұрын
@jeecracker4456 no , do this in IDLE and check again
@YugTrivediProductions
@YugTrivediProductions 7 ай бұрын
Who didn't return the value, return L should also be there. If problem still persists then look in chat gpt to correct the code
@StudyNow-vc8dq
@StudyNow-vc8dq 7 ай бұрын
@YugTrivediProductions no bro, it is the correct code . Check the previous year board question paper
@YugTrivediProductions
@YugTrivediProductions 7 ай бұрын
@@StudyNow-vc8dq while running it gave me error
World’s strongest WOMAN vs regular GIRLS
00:56
A4
Рет қаралды 35 МЛН
Motorbike Smashes Into Porsche! 😱
00:15
Caters Clips
Рет қаралды 23 МЛН
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 124 МЛН
From Strangers to Family - My Engineering hostel days! #hostellife
16:02
Freshers' Introduction 2024 | IIT Kanpur
7:42
Film Club IIT Kanpur
Рет қаралды 8 М.
Binary and CSV Files in Python | Class 12 Computer Science | Lecture 13
12:12
Apni Kaksha Official
Рет қаралды 403 М.