python

Back Open Paginator
01.10.2025 19:57
nostarch (@nostarch@mastodon.social)

For Python programmers ready to understand how computing really works, this book offers projects that teach by building.

Write a BASIC interpreter, emulate a retro game console, experiment with computer graphics, and create machine learning models from scratch. Available now in stores as well as online!

nostarch.com/computer-science-





Show Original Post


01.10.2025 19:57
danyeaw (@danyeaw@fosstodon.org)

It's the first Thursday tomorrow, which means it is Michigan Python night at 7pm ET! Antonio Cavallo will be giving a talk comparing uv and micromamba!

He'll compare these two modern tools—their strengths, use cases, and when to use each. Whether you're managing pure Python environments or multi-language stacks, you'll gain practical insights for choosing the right tool. Looking forward to seeing everyone, all are welcome!

meetup.com/michigan-python/eve

#Python #uv #conda #mamba




Show Original Post


01.10.2025 19:55
driscollis (@driscollis@mastodon.social)

Stupid trick 🐍🤯

Calling a dunder method directly without using name mangling





Show Original Post


01.10.2025 19:42
geekland (@geekland@mastodon.social)

Fail2Ban – Prevención contra intrusos
h4ckseed.wordpress.com/2025/10




Show Original Post


01.10.2025 19:24
TechKeysX (@TechKeysX@mastodon.social)

S1 EP3 T8 - Machine Learning in Python Why is R2 Value so accurate to 1!





Show Original Post


01.10.2025 19:19
GripNews (@GripNews@mastodon.social)

🌘 為何 Python 在 2025 年仍如此受歡迎?
➤ Python 持續強盛的關鍵解析
blog.jetbrains.com/pycharm/202
本文深入探討 Python 在 2025 年持續保持領先地位的原因。從在人工智慧與機器學習領域的主導地位,到資料科學與分析的強勁表現,再到其簡潔易讀且具備擴展性的語法,以及成熟且多樣化的生態系統,Python 展現了跨越初學者到專業開發者、從原型開發到大規模生產的廣泛適用性。此外,龐大的社羣支援與知識共享,更是鞏固了 Python 作為開發者首選語言的地位。
+ 這篇文章精闢地指出了 Python 的核心優勢,特別是在 AI 和資料科學領域的應用,讓人印象深刻!
+ 我一直認為 Python 的語法簡單是最大賣點,沒想到它在生態系和社羣支援方面也如此強大,這讓我對 Python 的未來更有信心。




Show Original Post


01.10.2025 19:06
StartPy (@StartPy@mastodon.arabipro.social)

الدرس (6)
أنواع المتغيرات في لغة بايثون - القسم الثاني:

- القائمة (List):
هي مجموعة مرتبة ومتغيرة (قابلة للتعديل) من العناصر. يمكن أن تحتوي على عناصر من أنواع مختلفة (مثل أرقام، نصوص، أو حتى قوائم أخرى). تُمثل بأقواس مربعة [ ].
* خصائصها:
**مرتبة: يمكن الوصول إلى العناصر مباشرة عبر فهرس (index) يبدأ من 0.
**قابلة للتعديل: يمكن إضافة عناصر وحذفها وتغييرها.
**تسمح بالتكرار: يمكن وجود عناصر مكررة.
**غير مضمونة السرعة في عمليات البحث إذا كانت كبيرة.
ويمكن أيضاً الاكتفاء بتعريف نوع القائمة وعدد عناصرها، ثم إضافة العناصر في مرحلة لاحقة:

- المترابطة البيانية (Tuple):
هي مجموعة مرتبة وغير متغيرة (لا يمكن تعديلها بعد الإنشاء). تشبه القائمة لكنها أكثر أمانًا للبيانات الثابتة. تُمثل بأقواس مستديرة ( ) أو بدون أقواس.
* خصائصها:
**مرتبة: يمكن الوصول إلى العناصر مباشرة عبر الفهرس.
**غير قابلة للتعديل: لا يمكن تغيير، إضافة، أو حذف عناصر بعد الإنشاء.
**تسمح بالتكرار: يمكن وجود عناصر مكررة.
**أسرع قليلاً من القائمة في بعض العمليات بسبب الثبات.

- المجموعة (Set):
هي مجموعة غير مرتبة وغير مكررة من العناصر الفريدة. لا تحتوي على فهرس، وتُستخدم للعمليات الرياضية مثل التقاطع أو الفرق. تُمثل بأقواس متعرجة {} أو عبر دالة set.
* خصائصها:
**غير مرتبة: لا يمكن الوصول عبر فهرس (لا index).
**قابلة للتعديل: يمكن إضافة أو حذف عناصر.
**لا تسمح بالتكرار: العناصر المتشابهة تُحذف تلقائيًا.
**سريعة في عمليات التحقق من الوجود (مثل "هل هذا العنصر موجود؟").

- القاموس (Dictionary):
هي مجموعة غير مرتبة تقليديًا (في بايثون 3.7 وما بعده، تحافظ على ترتيب الإدراج) من أزواج مفتاح-قيمة، حيث يكون كل مفتاح فريدًا ومرتبطًا بقيمة. تُمثل بأقواس متعرجة {}، وتُشبه قاموسًا حقيقيًا حيث "key" هو الكلمة و"value" هي التعريف.
الخصائص الرئيسية:

**مرتبة في 3.7+: الوصول يعتمد على المفتاح (key).
**قابلة للتعديل: يمكن إضافة، حذف، أو تغيير أزواج "مفتاح-قيمة".
**المفاتيح لا تتكرر: المفاتيح فريدة غير قابلة للتغيير (مثل str, int, tuple)، أما القيم يمكن تكرارها.
**سريعة في البحث عبر المفتاح.
#python
#programming_languages
#بايثون
#لغات_برمجة





Show Original Post


01.10.2025 19:00
CuratedHackerNews (@CuratedHackerNews@mastodon.social)

Why Is Python So Popular in 2025? – The PyCharm Blog

blog.jetbrains.com/pycharm/202




Show Original Post


01.10.2025 18:52
rbanffy (@rbanffy@mastodon.social)

Why Is So Popular in 2025? | The PyCharm Blog blog.jetbrains.com/pycharm/202




Show Original Post


01.10.2025 18:49
pythonbrasil (@pythonbrasil@pynews.com.br)

The Python Software Foundation is the organization behind the open source Python programming language. We are devoted to creating the conditions for Python and the Python community to grow and thrive.

#python #bolhadev #pythonbrasil





Show Original Post


01.10.2025 18:37
RodStephens (@RodStephens@hachyderm.io)

Make stable appointments in Python
rodstephensbooks.com/stable_ap

#Python #Algorithms





Show Original Post


01.10.2025 18:21
treyhunner (@treyhunner@mastodon.social)

The problem is that we're taking whatever list was passed into our class and we're storing it directly on our class instance.

Read more 👉 trey.io/rbi1o4




Show Original Post


1 ...1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 ...1558
UP