datoteke Flashcards

1
Q

d.read()

A

cijeli sadržaj vraća kao string

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

d.readline()

A

čita red u kojem se nalazi buffer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

d.readlines()

A

vraća listu redova

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

d.seek(n)

A

postavlja pokazivač na položaj n

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

d.seek(0)

A

vraća buffer na početak

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

d.tell()

A

vraća trenutnu poziciju buffera

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

write()

A

piše stringove

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

writelines()

A

piše sadržaj liste u datoteku, ne odvaja elemente ??

How well did you know this?
1
Not at all
2
3
4
5
Perfectly