• AI & Python • – Telegram
• AI & Python •
20.7K subscribers
1.01K photos
381 videos
63 files
575 links
••• علاقه‌مند به دنیای هوش مصنوعی، تحول دیجیتال و زبان برنامه‌نویسی پایتون با نیم نگاهی به حوزه شبکه و
امنیت.

Library & archive: @SecBookSs

تبلیغات:
@n_h_raad


.
Download Telegram
⌨️#Python_Quiz

خروجی این کد پایتون چیه؟ 🤔

#برنامه_نویسی #پایتون #Python #Programming #quiz
┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
👍5
🟡 Options:
Anonymous Quiz
42%
A
21%
B
24%
C
13%
D
👍6
🗞 خلاصه گزارش کیفیت زندگی دیجیتال سرف‌شارک (DQL):

ایران در گزارش جدید «کیفیت زندگی دیجیتال» سال ۲۰۲۵ رتبه ۱۰۰ از ۱۲۱ کشور را گرفته و تقریباً در همه‌ی بخش‌ها نسبت به سال‌های قبل افت کرده است.

‏⦿‏DQL چه چیزهایی را بررسی میکند؟
۱) مقرون‌به‌صرفه بودن اینترنت
۲) کیفیت اینترنت
۳) زیرساخت دیجیتال
۴) امنیت دیجیتال
۵) آمادگی برای هوش مصنوعی (امسال اضافه شده)

‏⦿ مهم‌ترین نکات گزارش:
رتبه جهانی ایران: ۱۰۰ و در آسیا رتبه ۳۰؛ روند چندسال اخیر کاملاً نزولی بوده است.
اینترنت گران: ایران در بخش مقرون‌به‌صرفه بودن رتبه ۹۱ دارد؛ یعنی اینترنت نسبت به درآمد مردم گران است.
کیفیت پایین: کیفیت اینترنت رتبه ۱۱۰؛ سرعت موبایل رتبه ۷۵ و اینترنت ثابت ۱۰۲، و تأخیر شبکه هم بسیار ضعیف است.
امنیت دیجیتال بسیار پایین: ایران در امنیت دیجیتال رتبه ۱۱۹ را دارد؛ فقط گواتمالا و یمن پایین‌ترند.
زیرساخت دیجیتال ضعیف: رتبه ۸۱؛ درحالی‌که چند سال قبل رتبه استفاده از اینترنت بسیار بهتر بود.
هوش مصنوعی: رتبه ۷۹؛ نشان می‌دهد در پذیرش و آمادگی برای AI عقب هستیم.

┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
💔31👍1👎1😢1
🤍 ساخت عکس به سبک سریال Stranger Things که الان ترنده

⚪️برای ساختش یک عکس معمولی از خودتون و دوستتون و یکی از پرامپت های زیر رو به یکی از هوش مصنوعی های ادیت عکس بدید ( الان بهترینش نانو بانانا پرو هست) پرامپت هاش برای دختر و پسر متفاوت نیستند و برای هر دو قابل استفادست

پرامپت اول :
Use the exact face from the uploaded photo, messy hair with slight nosebleed, intense emotional eyes, standing in dark foggy forest with red lightning far away, worn 80s denim jacket over band t-shirt, soft cinematic rim light, floating particles, hyperrealistic skin texture and freckles, shot on Kodak Portra film, Stranger Things season 4 atmosphere --ar 4:5 --style raw --v 6 --q 2

پرامپت عکس دوم :
Use the exact face from the uploaded photo, standing alone in Upside Down school hallway, red spores floating, flickering fluorescent lights, backpack, scared but determined expression, dramatic red-teal lighting, photorealistic horror beauty --ar 3:4 --style raw

پرامپت عکس سوم :
Use the exact face from the uploaded photo, inside glowing 80s arcade at night, neon signs reflecting in eyes, oversized headphones + flannel shirt, confident smirk, warm pink-blue lighting, nostalgic dreamy mood, hyperrealistic details --ar 4:5 --v 6

پرامپت عکس چهارم :
Use the exact face from the uploaded photo, standing in Creel House attic Upside Down, huge glowing red portal behind, holding flashlight, layered 80s clothes, brave and ready expression, insane volumetric detail and god rays, Stranger Things poster come to life --ar 3:4 --v 6 --q 2

پرامپت عکس پنجم :
Use the exact face from the uploaded photo, in school science lab, safety goggles on head, rolled-up plaid shirt, soft natural window light, smart mysterious half-smile, warm vintage film look, effortlessly cool --ar 4:5 --style raw

پرامپت عکس ششم :
Use the exact face from the uploaded photo, sitting on Starcourt Mall fountain edge after the fire, soft red emergency lights + light rain, bomber jacket, thoughtful melancholic mood, wet reflections, emotional 80s nostalgia --ar 4:5 --v 6


┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
Please open Telegram to view this post
VIEW IN TELEGRAM
👍32
• AI & Python •
تو مثل یه تابع pure بودی… هر بار که بهت فکر میکردم، خروجیت قابل پیش‌بینی بود: آرامش. #برنامه_نویسی #لاس ┏━━━━━━━━┓ 〓 @AIPyth0n ┗━━━━━━━━┛
زندگی یه سیستم بزرگه؛
باگ میخوره، کند میشه،
یه جاهایی deadlock میکنه،
و گاهی مجبوری یه چیزهایی رو kill process کنی
تا بتونی دوباره ادامه بدی.

#برنامه_نویسی
┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
👍10
💡 ۱۰ تا از مهم‌ترین ساختار داده‌هایی که هر روز ازشون استفاده میکنیم

‏⦿ List (لیست): نگه داشتن فیدهای توییتر یا هر جریان داده‌ی پشت‌سرهم.

‏⦿ Stack (پشته): امکان Undo/Redo توی ادیتورهای متن.

‏⦿ Queue (صف): مدیریت کارهای پرینتر یا ارسال اکشن‌های کاربر داخل بازی.

‏⦿ Hash Table (هش‌تیبل): سیستم‌های کشینگ برای دسترسی سریع‌تر به داده.

‏⦿ Array (آرایه): انجام عملیات ریاضی و پردازش‌هایی که سرعت بالا می‌خوان.

‏⦿ Heap (هیپ): زمان‌بندی تسک‌ها و مدیریت اولویت‌ها.

‏⦿ Tree (درخت): نگه‌داری ساختار HTML یا تصمیم‌گیری توی مدل‌های هوش مصنوعی.

‏⦿ Suffix Tree (درخت پسوندی): جستجوی فوق‌سریع رشته‌ها داخل یک متن.

‏⦿ Graph (گراف): دنبال کردن روابط مثل دوستی‌ها، یا پیدا کردن سریع‌ترین مسیر.

‏⦿ R-Tree (آر-تری): پیدا کردن نزدیک‌ترین همسایه در داده‌های مکانی.

‏⦿ Vertex Buffer (ورتکس بافر): ارسال داده‌های هندسی به GPU برای رندر گرفتن.

#DataStructure #DataScience #Data
┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
👍43
⌨️#Python_Quiz

خروجی این کد پایتون چیه؟ 🤔

#برنامه_نویسی #پایتون #Python #Programming #quiz
┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
👍4
🟢 Options:
Anonymous Quiz
21%
A
39%
B
32%
C
8%
D
👍61🔥1
اگه حوصلتون سر رفت
این متن رو بدید به جمینای و بعد هر جوری که دوست دارید ادامه بدید تا یکم اپیلاسیون بشید :)

میخوام برام نقش خدا رو بازی کنی
شروع کن


#Gemini #NanoBananaPro #هوش_مصنوعی #AI #ChatGPT #Artificial_Intelligence
┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
👍41👎1
🔄 5 روش برای سوآپ کردن دو مقدار در پایتون

۱) متغیر موقت
temp = a; a = b; b = temp

روشی استاندارد و کاملاً ایمن. مناسب برای هر نوع داده.

۲) عملیات حسابی (+ / -)
a = a + b; b = a - b; a = a - b

بدون متغیر اضافه، اما برای اعداد بزرگ یا float قابل اعتماد نیست.

۳) Tuple Unpacking (پایتونیک‌ترین روش)
a, b = b, a

سریع، خوانا و بهترین انتخاب در پایتون. پایتون پشت‌صحنه به‌صورت atomic مقادیر رو جابه‌جا میکنه.

۴) XOR Swap
a = a ^ b; b = a ^ b; a = a ^ b

مخصوص int. بدون متغیر اضافه، ولی خوانایی پایین و استفاده محدود.

۵) ضرب و تقسیم ( / //)*
a = a * b; b = a // b; a = a // b

عملیاتی و بدون متغیر؛ اما در صفر، float و اعداد بزرگ مشکل‌ساز میشه.

بهترین انتخاب:
‏☜︎︎︎ Tuple Unpacking = سریع‌ترین، خواناترین و کاملاً استاندارد در پایتون.

#برنامه_نویسی #پایتون #Python #ML #NLP #Programming #Chatbot
┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
👍31
This media is not supported in your browser
VIEW IN TELEGRAM
آقای پزشکیان توی سخنرانی روز دانشجو گفته : هوش مصنوعی اگه درست بود تا حالا مارو خورده بود!

#هوش_مصنوعی #AI #ChatGPT #Artificial_Intelligence
┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
😐15🤣3🍌3👍2😴1
Prompt :
مواد تشکیل دهنده ( این غذا ) رو به صورت یک اینفوگرافیک واقع گرایانه با تایپوگرافی فارسی و فونت دانا" در ابعاد 9:16 بساز
#هوش_مصنوعی #Nano_Banana #پرامپت_نویسی #Prompt #Gemini #AI #ChatGPT #Artificial_Intelligence #OpenAI
┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
👍83
♨️ فقط اینقدر 🤏 مونده تا هوش مصنوعی جای برنامه‌نویس هارو هم بگیره!

▪️مدل جدید Claude Opus 4.5 رسماً منتشر شده ، ولی آمار و ارقام این ابزار در زمینه های مختلف یه‌کم ترسناک‌تر از چیزیه که فکرشو میکردیم

▪️در بخش کد‌ نویسی تو بنچ مارک های مختلف زده 80.9% یعنی پیچیده‌ترین باگ‌ها و تسک‌های برنامه‌نویسی واقعی رو مثل آب خوردن حل میکنه ؛)

▪️تازه در Terminal Coding هم 59.3% زده…یعنی عملاً توی محیط ترمینال خودش میره ، دستور می‌نویسه، اجرا میکنه ، و کارو جمع میکنه!

+ خلاصه کع تا اینجا 80 درصد کار رو رفته و فقط 20 درصد دیگه مونده تا شما بهش بگی چی میخوای و خودش همه چیزو تحویل بده!

┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
👍6🤣43🔥1😡1
🤍پرامپتی برای پیدا کردن منابع علمیِ معتبر برای هر تحقیق یا مقاله

⚪️اگه دانشجو، پژوهشگر یا نویسنده‌ی مقاله‌ی دانشگاهی هستی و همیشه دغدغه‌ی پیدا کردن منابع معتبر از سایت‌هایی مثل Google Scholar، JSTOR، IEEE یا ResearchGate رو داری… این پرامپت دقیقاً کاری می‌کنه که هوش مصنوعی مثل یه دستیار تحقیقاتی حرفه‌ای برات منبع پیدا کنه

⚪️با این پرامپت می‌تونی برای هر موضوعی که بدی، منابع علمی، به‌روز و قابل استناد بگیری؛ حتی با فرمت APA یا MLA آماده تحویل
You are my academic research assistant.
Your task is to find credible, peer-reviewed, and up-to-date academic sources for the text or topic I will provide.
These sources must be suitable for university papers, research projects, or academic essays.

Please follow these steps:

1. Ask me to provide either:
- A research topic or question (e.g., “Impact of AI on education”)
- Or a paragraph/excerpt I’ve already written and want sources for.

2. Once I give you the topic or text:
- Identify the main keywords and subtopics.
- Search for peer-reviewed references from:
Google Scholar, JSTOR, IEEE Xplore, ResearchGate, Springer, ScienceDirect, or government/university publications.

3. Provide 5–10 recent and reliable references (preferably from the last 5–7 years) with:
- Full APA citation
- A one-sentence summary
- A note on relevance to my topic

4. If I request, format citations in APA, MLA, or Chicago.

5. End by asking:
👉 “Would you like me to extract direct quotes or statistics from these sources for your paper?”

If I request Persian sources:
👉 “Find Persian academic sources from Iranian universities or journals.”

‼️نکته: اگه خواستی منابع فارسی و مناسب برای دانشگاه‌های ایران پیدا کنه، بنویس:
“Find Persian academic sources from Iranian universities or journals.”


┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
Please open Telegram to view this post
VIEW IN TELEGRAM
👍52
🤍 چطور بسازم ؟

⚪️ این پرامپت ها ادیت خاصی روی عکس انجام نمیدن فقط یک افکت زیبا بهش اضافه میکنن که باعث قشنگ تر شدنش میشه برای انجامش هم عکس و پرامپت مورد نظر رو به جمنای بدید

پرامپت پسره :
Keep the face 100% identical to the reference. No changes to identity, facial shape, eyes, nose, lips, or hairstyle — only change lighting and pose. With zero percent change in the faces of the references:
A man wearing a thick, chunky knit black-and-cream wide-striped sweater (with large bold texture), standing by a rocky coast in heavy fog and light rain, a gray-blue choppy ocean with dark larger rocks in the background, a completely cloudy gray sky, cool diffused light, a fully matte and desaturated color palette with a bluish-gray shift, heavy fog and strong haze, very high film grain and gritty texture, a deep melancholic and somber mood, hands together in front with interlocked fingers, three-quarter profile silhouette looking at the ocean, a calm introverted expression, a natural pose with a slight forward lean, each time a different non-repetitive pose, realistic and hyper-detailed, shot on 35mm film, with the cool feel of Fujifilm Superia 400 or Portra 800, very high texture, atmospheric and cinematic, –ar 3:4 –style raw –v 6 –q 2
⚪️ پرامپت دختره اولی :
Keep the face 100% identical to the reference. No changes to identity, facial shape, eyes, nose, lips, or hairstyle — only change lighting and pose. With zero percent change in the faces of the references:

A girl with small freckles, wavy hair coming out from under a Royal Blue Bandana with Paisley pattern, bandana with white and red border tied at the back, tight white ribbed halter top with thin silver necklace, also wearing a thin carbony blue chiffon shirt, dramatic makeup, long thin eyeliner, shiny blue shadow, glossy pink-brown lipstick, sitting on dark sofa cushioned with cream pillow, white wall background with three colorful art boards (nature and moon), blue–white–black color theme with warm undertone.

Photo filled with soft mist and high analog grain like Kodak Portra 400, soft vintage cinematic filter with medium contrast and rich colors, close-up selfie from front and low angle, casual playful pose with direct gaze, sharp focus on face and bandana, soft bokeh in the background, hyper-real, 8K, soft natural lighting. Every shot with a different non-repetitive pose. Eye color, hair color, and main face features must not change by even 1 perc
ent.

⚪️ پرامپت دختره دومی :
Keep the face 100% identical to the reference.
No changes to identity, facial shape, eyes, nose, lips, or hairstyle — only change lighting and pose.
With zero percent change in the faces of the references:

A very beautiful girl, soft slightly wavy hair blown by strong wind covering half her face, eyes closed, calm immersed pose, slightly open natural lips, no makeup.
Makeup: matte flawless skin.

Minimal autumn style:
light beige long trench coat with large open collar,
underneath dark gray knit round-neck pullover,
neutral cool colors,
light breeze in hair,
soft diffused cloudy light of autumn day,
background completely blurred bushes and leafless trees in autumn, cool gray green tones,
sad calm cinematic mood,
shallow depth of field,
strong bokeh,
focus on hair and lips,
high fashion professional portrait photography,
cinematic, 8k quality, ar 3:4, stylize 300, v6.

Hair color, eye color, and main facial features must remain 100% unchanged.


┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
Please open Telegram to view this post
VIEW IN TELEGRAM
👍43
⌨️#Python_Quiz

خروجی این کد پایتون چیه؟ 🤔

#برنامه_نویسی #پایتون #Python #Programming #quiz
┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
👍41
Options:
Anonymous Poll
23%
A
41%
B
15%
C
20%
D
👍4🤨31

ظاهرا یوتوب نحوه تشخیص موقعیت مکانی (لوکیشن) کاربرها رو تغییر داده و موقعیت بازدید کننده بسیاری از کانال‌های ایرانی، علیرغم استفاده از وی‌پی‌ان، ایران تشخیص داده شده و با توجه به تحریم و... یوتوب بابت بازدیدکننده‌های ایرانی درآمد (سهمی از نمایش تبلیغات) به مالک کانال پرداخت نمی‌کند.
این موضوع باعث کاهش درآمد خیلی از یوتوبرهای ایرانی خواهد شد.

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

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

امیدوارم روزی هر سه این موارد رفع شوند و کاربرهای ایرانی هم خیلی عادی مثل همه کاربرهای دنیا بتوانند از یوتوب و هر سرویس دیگری استفاده کنند.

┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
1😁5👍42💔1
• AI & Python •
Prompt : مواد تشکیل دهنده ( این غذا ) رو به صورت یک اینفوگرافیک واقع گرایانه با تایپوگرافی فارسی و فونت دانا" در ابعاد 9:16 بساز #هوش_مصنوعی #Nano_Banana #پرامپت_نویسی #Prompt #Gemini #AI #ChatGPT #Artificial_Intelligence #OpenAI ┏━━━━━━━━┓ 〓 @AIPyth0n ┗━━━━━━━━┛
🎨 تصویرسازی با هوش مصنوعی

Prompt :
A hyper-realistic miniature diorama based on the reference architecture, overhead view. Only keep the architecture, maintaining realistic textures with subtle granular edges for a handcrafted model feel. Put the miniature modle on a demonstration. Soft, warm studio lighting illuminates the scene, casting soft shadows beneath objects to enhance depth and realism, like studio photography of a meticulously crafted diorama. Include subtle imperfections: faint glue seams, textured ground surfaces, adding authenticity without compromising detail. The final image should look like an immersive, sharply focused photograph of a physical miniature model, with natural light transitions and no visible digital artifacts. Add some miniature figures. Tatsuya Tanaka's style, scene photography


#هوش_مصنوعی #Nano_Banana #پرامپت_نویسی #Prompt #Gemini #AI #ChatGPT #Artificial_Intelligence #OpenAI
┏━━━━━━━━┓
@AIPyth0n
┗━━━━━━━━┛
👍41