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

  Рет қаралды 27,249

codeitup

codeitup

Күн бұрын

Пікірлер: 92
@UjjwalAnand-v7l
@UjjwalAnand-v7l 8 ай бұрын
Class starts at : 06:21
@Lets_coding.
@Lets_coding. 8 ай бұрын
Sir I practice daily your program like making list from user and write or read data etc
@Noicceboi
@Noicceboi 8 ай бұрын
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.
@NikitaSharma-nikkivedvyas11
@NikitaSharma-nikkivedvyas11 9 ай бұрын
Thank you sir for this amazing explanation 😊
@prathamaggarwal8830
@prathamaggarwal8830 8 ай бұрын
Thank you sir, I found this topic quite confusing but your practical driven approach helped me solve my confusions . Again Thankyou ❤
@Sam01_.1
@Sam01_.1 9 ай бұрын
50:49 sir[[[[[[{{{{ SACHDEVA PUBLIC SCHOOL SEC 13 ROHINI ]]]]}}}} MEIN AA JAO SIR 2 APRIL KO
@isobelleye
@isobelleye 8 ай бұрын
Binary Files completed
@Itisha_sharma
@Itisha_sharma 4 ай бұрын
Thankyou so much sir 🙏
@indianspieler2231
@indianspieler2231 4 ай бұрын
❤❤ thanks sir
@StudyNow-vc8dq
@StudyNow-vc8dq 9 ай бұрын
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 9 ай бұрын
Bhai oswal sample paper ka question h na last year ka?
@StudyNow-vc8dq
@StudyNow-vc8dq 9 ай бұрын
@@vaibhavjha9318 last year ka he
@Protongirl6289
@Protongirl6289 9 ай бұрын
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 9 ай бұрын
@@Protongirl6289 thanks 😊 🙏🏻
@musicaholic-zq2mm
@musicaholic-zq2mm 8 ай бұрын
@armygirl6289 CS will not be replicated
@Tanishqlather
@Tanishqlather 8 ай бұрын
thanks sir................
@NitinJaat-qj5tb
@NitinJaat-qj5tb 8 ай бұрын
Nice 😊
@SierraHunter2106
@SierraHunter2106 9 ай бұрын
1:34:50 sir yaha i[0].upper() == 'BASKET BALL' karna accha rahega kya ?
@codeitup
@codeitup 9 ай бұрын
Yes
@SierraHunter2106
@SierraHunter2106 9 ай бұрын
@@codeitup thank you sir
@gyangaming6295
@gyangaming6295 8 ай бұрын
Bhai max() syllabus me nhi hcto padhu ya skip kr du
@SierraHunter2106
@SierraHunter2106 8 ай бұрын
@@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
@LAURAINDUSTRY
@LAURAINDUSTRY 8 ай бұрын
This one done
@sk.creation0008
@sk.creation0008 8 ай бұрын
Explanation ❤
@sumitchauhan1102
@sumitchauhan1102 8 ай бұрын
1:38:30 , sir yaha copy Data() fn last me call hoga na , return ke baad.?
@Somerandomguy.o7
@Somerandomguy.o7 Ай бұрын
1:22:20 Ham ladke hai na iss liye
@Dhani-ls4dm
@Dhani-ls4dm 8 ай бұрын
Sir Delhi Victoria public school wazirabad road pr wah ajaoo👍🏻👍🏻😁
@rishirathour3973
@rishirathour3973 8 ай бұрын
Mera bhi same school h😅
@Dhani-ls4dm
@Dhani-ls4dm 8 ай бұрын
@@rishirathour3973 but mera centre pdha h🧐
@rishirathour3973
@rishirathour3973 8 ай бұрын
Mera bhi aap ka school kon sa h
@gouravsusari4474
@gouravsusari4474 8 ай бұрын
thank u sir
@mohammadanas3631
@mohammadanas3631 8 ай бұрын
33:26 with out def ke bhi use kar sakte hai kya
@nikhilsomr.keshavprasad4543
@nikhilsomr.keshavprasad4543 8 ай бұрын
Haan
@Musskan-t6u
@Musskan-t6u 9 ай бұрын
1:38:05 sir yaha toh function call hoga na.. ki nhi hoga??
@Jitji_963
@Jitji_963 8 ай бұрын
Thank u guriji❤
@karansuthar3337
@karansuthar3337 8 ай бұрын
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 8 ай бұрын
(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
@LivingInSpace
@LivingInSpace 8 ай бұрын
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)
@Horror_Stories12a
@Horror_Stories12a 9 ай бұрын
Sirji 12th ke baad betch CSE karne ka socha hai. Kuch batayiye sahi rahega ki nahi ?
@shwe746
@shwe746 9 ай бұрын
Aree mujghe bhi bro sir se pucho achi baat hai😊.
@eyexo2462
@eyexo2462 8 ай бұрын
Sir in read its shows one data uskeh baad saareh data nhi dikhaata idk why
@lokeshwarsikarwar7087
@lokeshwarsikarwar7087 9 ай бұрын
maza aaya thank you 😇
@ritik_sharma72
@ritik_sharma72 8 ай бұрын
Palam k school a jao sir...palam metro station k gate number 3 pr jo h
@ayushikeshri1486
@ayushikeshri1486 9 ай бұрын
Sir os module bhi bata dijiyega pls sir sample me bahut questions hai os ka 😢😢😢
@naharsinghnegi4536
@naharsinghnegi4536 8 ай бұрын
Thankyou sir ❤
@codeitup
@codeitup 8 ай бұрын
Most welcome!
@shardadevi916
@shardadevi916 9 ай бұрын
Sir modules nhi pdhaya h kya apne??
@Harshawasthi-l2r
@Harshawasthi-l2r 8 ай бұрын
Pt❤
@kamladangi9755
@kamladangi9755 8 ай бұрын
Anyone please tell me kya recursion syllabus me nhi hai ka chapter 6 or 7 Please reply
@khushiram30
@khushiram30 8 ай бұрын
Sir avaz clear nhi h thodi
@SavitaKumari-jg9ct
@SavitaKumari-jg9ct 8 ай бұрын
Maja ayga
@codeitup
@codeitup 8 ай бұрын
😊
@YuvrajSinghNF
@YuvrajSinghNF 8 ай бұрын
Sir aap question km krwa rhe ho aapne Functions ke pyq or important questions ka koi session nai rakha
@sk.creation0008
@sk.creation0008 8 ай бұрын
Guru ji lalaantop
@Novesh0075
@Novesh0075 9 ай бұрын
Sir bholi ram public school ma aa jao delhi ma hai ha
@omanshchoudhary1145
@omanshchoudhary1145 8 ай бұрын
Kuch bhi bolo sir to jeevan rakshak hai aapke bharose hi abhi Tak jinda hai 😅
@Mohansingh-ib8hv
@Mohansingh-ib8hv 7 ай бұрын
200/600 me koi college bata
@Zoro-kd2vq
@Zoro-kd2vq 9 ай бұрын
Very Boring 😢
@rockerzzzkshitij4000
@rockerzzzkshitij4000 9 ай бұрын
Kyun Bhai boring ????🤬🤬🤬🤬
@Cg_sai_art
@Cg_sai_art 9 ай бұрын
Bro agar esa lag raha ho to attend na kro..... lecture
@shwe746
@shwe746 9 ай бұрын
Jabe bhutnike
@priyanshu_k86
@priyanshu_k86 9 ай бұрын
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 8 ай бұрын
Ye pakka vo hi log ha jo 2 din anime dekh ka ye bolta hoga gojo can beat goku😂😂😂😂
@StudyNow-vc8dq
@StudyNow-vc8dq 9 ай бұрын
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 9 ай бұрын
output is same as sub
@StudyNow-vc8dq
@StudyNow-vc8dq 9 ай бұрын
@jeecracker4456 no , do this in IDLE and check again
@YugTrivediProductions
@YugTrivediProductions 9 ай бұрын
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 9 ай бұрын
@YugTrivediProductions no bro, it is the correct code . Check the previous year board question paper
@YugTrivediProductions
@YugTrivediProductions 9 ай бұрын
@@StudyNow-vc8dq while running it gave me error
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,6 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 42 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 19 МЛН
Day 19 | CS / IP Class 12 |  Networking | One Shot
3:41:59
codeitup
Рет қаралды 34 М.
Python Exception Handling | Everything in One Video | One Shot
1:12:53
Python File Handling | One Shot Video | In Hindi
2:52:16
codeitup
Рет қаралды 289 М.
Day 17 | CS / IP Class 12 |  MySQL | Part 03
2:16:31
codeitup
Рет қаралды 23 М.