Intro to Python #8 | مقدمة إلى بايثون

#8 Dictionaries & Files | جداول التجزئة والملفات

80%

Dictionaries in Python are one of the important types of the language. They are key/value stores/hash-maps. You can store objects under a unique name. Exactly like you would in a language dictionary where one unique word can have one or several meanings.

File handling is a very important concept in programming. You cannot train an artificial intelligence without loading files that contain what you want to teach!

ملفات التجزئة (أو القواميس) من أهم الأنواع في لغة بايثون. هي “مخزن” لأسماء و قيم مرتبطين ببعضهم. يمكن تخزين كائنات تحت اسم أو كائن فريد من نوعه يُستخدم كـ”مفتاح” القيمة. تمامًا مثل قاموس أي لغة حيث تحتوي أي كلمة واحدة على معنى واحد أو عدة معاني.

التعامل مع الملفات أيضًا من أهم المبادئ في البرمجة. لن تستطيع تدريب ذكاءًا اصطناعيًا بدون أن تُدربه على ملفات بها ما تريد تعلّمه!