Computer Science CBSE Class 11 Class 12
前往频道在 Telegram
• This channel aims to provide material like Books, SQPs of CS & IP for Class 11,12 & above. • Join discussion group :- @computerscience_cbse_discussion • For projects and more :- @cs_material_bot • For Paid Promotion/ Ads :- @computerscience_cbse_bot
显示更多3 348
订阅者
无数据24 小时
-37 天
-2930 天
帖子存档
Keyword
Exception handles all types of exceptions in Python#Program_to_write_list_sequence_in_a_binary_file
import pickle
list1= [10,20,30,40,100]
#WRITING_THE_CONTENTS_INTO_A_BINARY_FILE
f =open('list.dat', wb') #b_in_access_mode_represents_binary_file
pickle.dump(list1,f) #writing_contents_to_binary_file
print("conents added to binary file")
f.close()
#READING_THE_CONTENTS_OF_THE_BINARY_FILE
f =open('list.dat','rb') #b_in_access_mode_represents_binary_file
var=pickle.load(f)
print(var)
f.close()
Projects for class 11/12 Computer Science/Informatics Practices :- http://python.mykvs.in/uploads/showpapers/testproject.php
▭▬▭▬▭▬▭▬▭▬▭▬▭▬▭▬▭▬
👉🏻𝐅𝐎𝐑 𝐌𝐎𝐑𝐄 𝐂𝐎𝐍𝐓𝐄𝐍𝐓👈🏻
✅𝐉𝐎𝐈𝐍✅
🔥SHARE WITH FRIENDS🔥
╔════════════════════════╗
▒☞@computerscience_cbse_class12
╚════════════════════════╝
