1. Glossaryفەرهەنگی زاراوەکان
File object
ئۆبجێکتی فایل
Proposed Kurdish term — under reviewزاراوەی پێشنیارکراو — لە ژێر پێداچوونەوەدایە

Definitionپێناسە

The that open() returns. It links the program to the on the disk: the program reads and writes through its methods (read(), write(), seek()…), its attributes (name, mode, closed) describe it, and close() ends the link.

ئەو open() دەیگەڕێنێتەوە. بە سەر دیسکەکەوە دەبەستێتەوە: لە ڕێگەی (read()، write()، seek()…) دەخوێنێتەوە و دەنووسێت، (name، mode، closed) باسی دەکەن و close() بەستنەوەکە کۆتایی پێ دەهێنێت.

Exampleنموونە

f = open("notes.txt", "w") makes f a file object; f.mode is 'w'.

f = open("notes.txt", "w") وا دەکات f بێت؛ f.mode یەکسانە بە 'w'.

f = open("notes.txt", "w", encoding="utf-8")
print(f.name, f.mode, f.closed)   # notes.txt w False
f.close()

Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر

ئۆبجێکتی فایلەکە، ئۆبجێکتەکانی فایل، ئۆبجێکتێکی فایل

Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە

Built from the registry's object «ئۆبجێکت» and file «فایل». Proposed by the py-files writer (PYDW1).

Related termsزاراوە پەیوەندیدارەکان

Learn more inزیاتر فێربە لە