Computer Science CBSE Class 11 Class 12
Open in 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
Show more3 348
Subscribers
No data24 hours
-37 days
-2930 days
Posts Archive
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
ββββββββββββββββββββββββββ
