with open Flashcards
1
Q
with open(“Nizza.jpg”,”rb”) as eredeti:
with open(“Nizza_masolat.jpg”, “wb”) as masolat:
darab_meret = 4500
darab = eredeti.read(darab_meret)
print(darab)
A
while len(darab) > 0:
masolat.write(darab)
darab = eredeti.read(darab_meret)
print(len(darab))