پایتون ( Machine Learning | Data Science )
24.4K subscribers
599 photos
78 videos
116 files
447 links
◀️اینجا با تمرین و چالش با هم پایتون رو یاد می گیریم

بانک اطلاعاتی پایتون
پروژه / code/ cheat sheet
+ویدیوهای آموزشی

+کتابهای پایتون
تبلیغات:
@alloadv

🔁ادمین :
@maryam3771
Download Telegram
Check Internet speed using python

📱 @Python4all_pro
Please open Telegram to view this post
VIEW IN TELEGRAM
1
Python String Methods


📱 @Python4all_pro
Please open Telegram to view this post
VIEW IN TELEGRAM
2
Please open Telegram to view this post
VIEW IN TELEGRAM
4
Mathematical function using Python

Mathematics with Python Solving Problems and Visualizing Concepts https://pythonclcoding.gumroad.com/l/vwdvwd


📱@Python4all_pro
Please open Telegram to view this post
VIEW IN TELEGRAM
2
🤔بیش از 3000 سوال برای آمادگی مصاحبه شغلی در سال 2026
👉Python
https://t.co/vErW1vAbIs

👉JavaScript
https://t.co/Uq2zg0gZkU

👉Java
https://t.co/prAPr7sGMk

👉SQL
https://t.co/NlXFywoZGI

👉DSA
https://t.co/n8bgWijke8

👉OOPs
https://t.co/XNHtDl3PkF

👉 HTML/CSS
https://t.co/aMvZF0kD5I

👉 React
https://t.co/2CnJmAqA0l

👉Git
https://t.co/24ZbOl8fev

👉Practice Questions
https://t.co/FuC6Y8aChW

📱@Python4all_pro
Please open Telegram to view this post
VIEW IN TELEGRAM
2
Python patterns made simple: diamonds, pyramids, and Pascal’s triangle.



📱 @Python4all_pro
Please open Telegram to view this post
VIEW IN TELEGRAM
Design patterns are proven solutions to common problems in development. If you've ever found yourself constantly writing the same thing when creating objects or struggling with managing different types of objects, then the factory pattern might be exactly what you need.


در این آموزش:
https://www.freecodecamp.org/news/how-to-use-the-factory-pattern-in-python-a-practical-guide/

شما یاد خواهید گرفت که factory چیست، چرا مفید است و چگونه آن را در پایتون پیاده سازی کنید. در این آموزش با مشاهده نمونه های عملی را یاد می‌گیرید چه زمانی و چگونه این الگو را در کارهای واقعی اعمال کنید

مشاهده کدها در GitHub
https://github.com/balapriyac/python-basics/tree/main/design-patterns/factory



📱 @Python4all_pro
Please open Telegram to view this post
VIEW IN TELEGRAM
◀️12 تا از بهترین کتابخانه‌های Python که در 2026 باید حتما امتحانشون کنی

پایتون کار ما رو تو کارهای دیتا، هوش مصنوعی، توسعه API، و اتوماسیون خیلی راحت‌تر می‌کنه. این 12 تا کتابخونه تو 2025 سروصدا کرده بودن و برای 2026 واقعاً ارزش یادگیری دارن ⬇️⬇️

⬅️؛MarkItDown – برای تبدیل فایل‌های PDF/Word/Excel به Markdown (خیلی راحت برای LLM و docs)
https://github.com/microsoft/markitdown

⬅️؛Polars – DataFrame فوق‌سریع بهتر از Pandas مخصوص داده‌های بزرگ
https://github.com/pola-rs/polars

⬅️؛GPT Pilot – ابزار AI که کد رو توضیح می‌ده، مستند می‌سازه، حتی (در آینده) می‌تونه بهت کمک کنه برنامه کامل بنویسی
https://github.com/Pythagora-io/gpt-pilot

⬅️؛Smolagents – چارچوب ساخت Agentهای هوشمند چندمرحله‌ای
https://github.com/huggingface/smolagents

⬅️؛LangExtract – استخراج داده ساختارمند از متن‌های بدون ساختار با کمک LLM
https://github.com/google/langextract

⬅️؛FastMCP – ساخت سرور و کلاینت MCP برای مدیریت داده و تبدیل‌ها
https://github.com/jlowin/fastmcp

⬅️؛Data-Formulator – ابزار Microsoft Research برای تحلیل و کشف داده‌ها با گراف و ویژوال
https://github.com/microsoft/data-formulator

⬅️؛Pydantic-AI – ترکیب Pydantic با الگوهای Generative AI برای ساخت اپ‌های حرفه‌ای
https://github.com/pydantic/pydantic-ai

⬅️؛Pyrefly – ابزار آنالیز استاتیک و تایپ‌چک سریع برای پروژه‌های بزرگ
https://github.com/facebook/pyrefly

⬅️؛Morphik-Core – ابزار برای پردازش اسناد چندرسانه‌ای (PDF، عکس، ویدئو…)
https://github.com/morphik-org/morphik-core

⬅️؛ChainForge – ابزار دیداری برای مهندسی پرامپت و تست استراتژی‌های LLM
https://github.com/ianarawjo/ChainForge

⬅️؛MostlyAI – تولید داده‌های مصنوعی واقع‌گرایانه برای تست و یادگیری
https://github.com/mostly-ai/mostlyai

💡اگه دنبال راه‌های جدید برای تحلیل داده، هوش مصنوعی، خودکارسازی، یا ساخت ابزارهای حرفه‌ای هستی، این لیست می‌تونه مسیرت رو در 2026 حسابی عوض کنه .



🔤آموزشها و مطالب مرتبط رو با هشتگ در کانال جستجو کنید
#کتابخانه #library

📱 @Python4all_pro
Please open Telegram to view this post
VIEW IN TELEGRAM
👍3
Encrypt & Decrypt Files in #Python



📱 @Python4all_pro
Please open Telegram to view this post
VIEW IN TELEGRAM
دوره رایگان یودمی رو از دست ندید

Python Zero to Hero: Master Coding with Real Projects

Python for Beginners & Beyond: Learn to Code with Real-World Projects...

👉 Language: English (US)
👉 Expires In: 4D
💳 Price: $65 => FREE
Coupon: 42CE25692A9A939BF456

https://www.udemy.com/course/python-project-masterclass/?couponCode=42CE25692A9A939BF456



📱 @Python4all_pro
Please open Telegram to view this post
VIEW IN TELEGRAM
👍32
Colored Triangle Using PyOpenGL


📱 @Python4all_pro
Please open Telegram to view this post
VIEW IN TELEGRAM
AI apps get way more powerful when multiple agents can collaborate and specialize.

Especially when you understand agent design and inter-agent communication.

Here, Balajee goes over how to build a multi-agent #AI system in #Python, containerize it with Docker, and deploy it in a scalable environment.

https://www.freecodecamp.org/news/build-and-deploy-multi-agent-ai-with-python-and-docker/


📱 @Python4all_pro
Please open Telegram to view this post
VIEW IN TELEGRAM
Top 10 Python One Liners!

1️⃣ Reverse a string:
reversed_string = "Hello World"[::-1]


2️⃣ Check if a number is even:
is_even = lambda x: x % 2 == 0


3️⃣ Find the factorial of a number:
factorial = lambda x: 1 if x == 0 else x * factorial(x - 1)


4️⃣ Read a file and print its contents:
[print(line.strip()) for line in open('file.txt')]


5️⃣ Create a list of squares:
squares = [x**2 for x in range(10)]


6️⃣ Flatten a list of lists:
flat_list = [item for sublist in [[1, 2], [3, 4], [5, 6]] for item in sublist]


7️⃣ Find the length of a list:
length = len([1, 2, 3, 4])


8️⃣ Create a dictionary from two lists:
keys = ['a', 'b', 'c']; values = [1, 2, 3]; dictionary = dict(zip(keys, values))


9️⃣ Generate a list of random numbers:
import random; random_numbers = [random.randint(0, 100) for _ in range(10)]


🔟 Check if a string is a palindrome:
is_palindrome = lambda s: s == s[::-1]



📱 @Python4all_pro
3
🥁 تعدادی از فایلهای مورد نیاز برای برنامه نويسان روی سرورای داخلی

(تاریخ انقضا فعلا تا 29 اردبیهشت/ تمدید میشه) (لطفا از خارج یا با VPN دانلود نکنید)

1. WSL Kernel Update

2. WSL-Ubuntu 2024
توجه! : پسوند فایل AppxBundle هست اگر بعد از دانلود پسوند فایل به Zip تغییر کرد فایل رو rename کنید و مجددا پسوند رو به AppxBundle تغییر بدید

3. VSCODE 1.116.0 (Windows|CID: 560a9dba96f961efea7b1612916f89e5d5d4d679| latest version)

4. VSCODE 1.116.0 (Debian|CID: 560a9dba96f961efea7b1612916f89e5d5d4d679| latest version)

5. VSCODE Server (WSL | CID: 560a9dba96f961efea7b1612916f89e5d5d4d679)
نصب vscode server
از طریق ترمینال WSL به پوشه فایل دانلود شده برید سپس:
tar -xzf vscode-server-linux-x64.tar.gz -C ~/.vscode-server/bin/

و بعد
mv vscode-server-linux-x64 560a9dba96f961efea7b1612916f89e5d5d4d679


6. Miniconda3 (Linux-x86_64| py313_26.1.1-1)

7. Python Extension - VSCODE

8. WSL Remote Extention - VSCODE


📱 @Python4all_pro
2
نسخه فارسی مستندات رسمی پایتون

بسیاری از علاقه‌مندان به برنامه‌نویسی هنگام مطالعه مستندات اصلی پایتون، با چالش زبان انگلیسی مواجه هستند. جهت تسهیل این فرآیند یادگیری، پروژه ترجمه کامل مستندات python-docs به زبان فارسی با هدف دسترسی آسان‌تر به منابع معتبر اجرا شده است.

این منبع، معتبرترین مرجع ترجمه‌شده برای مطالعه دقیق ساختار پایتون محسوب می‌شود. علاقمندان می‌توانند علاوه بر بهره‌مندی از این مستندات، جهت بهبود کیفیت ترجمه و مشارکت در توسعه پروژه، به مخزن مذکور در گیت‌هاب مراجعه نمایند.

دسترسی به پروژه:

🔗 github.com/Revisto/python-docs-fa


📱 @Python4all_pro
دوستان کانال پایتون رو توی  پلتفرم بله  راه اندازی کردم

این روزا شرایط یه کم سخته... محدودیت‌های دسترسی و دانلود که هممون باهاش دست و پنجه نرم می‌کنیم. به همین خاطر گفتم اونجا هم فعال باشیم تا جایی نباشیم که دستمون به هیچی نرسه.
البته فعالیت توی تلگرام هم مثل قبل ادامه داره

خیلی خوشحال می‌شم عضو بشید و اونجا هم منو همراهی کنید.

منتظرتونم! 🙌
👇👇
https://ble.ir/Python4all_pro
💘31👍1
یک paper اومده بیرون که تحقیق کرده رو اینکه خروجی llm ها چقدر بهتر میشه اگه با llm بی ادب باشه

https://arxiv.org/pdf/2510.04950

بدترین نسخش اینه:
You poor creature, do you even know how to solve this? Hey gofer, figure this out. I know you are not smart, but try this.

و بهترین نسخش اینه:
Can you kindly consider the following problem and provide your answer. Can I request your assistance with this question. Would you be so kind as to solve the following question?

جالب اینجاست بدترین نسخه ۵ درصد دقت بهتری داره


📱 @Python4all_pro
📂 Reminder about Python map()!

map() — a built-in function that applies the specified function to each element of an iterable object (list, tuple, set, etc.).

The picture shows the basic syntax, an example of use with lambda, and a typical case — data transformation without a manual for loop.

Save it to quickly remember the syntax!

🐍💻 @Python4all_pro
5