پایتون | Data Science | Machine Learning
前往频道在 Telegram
◀️اینجا با تمرین و چالش با هم پایتون رو یاد می گیریم ⏮بانک اطلاعاتی پایتون پروژه / code/ cheat sheet +ویدیوهای آموزشی +کتابهای پایتون تبلیغات: @alloadv 🔁ادمین : @maryam3771
显示更多📈 Telegram 频道 پایتون | Data Science | Machine Learning 的分析概览
频道 پایتون | Data Science | Machine Learning (@python4all_pro) 波斯语 语言赛道中的 是活跃参与者。目前社区聚集了 24 018 名订阅者,在 技术与应用 类别中位列第 5 487,并在 伊朗 地区排名第 14 629 位。
📊 受众指标与增长动态
自 невідомо 创建以来,项目保持高速增长,吸引了 24 018 名订阅者。
根据 24 十月, 2026 的最新数据,频道保持稳定运转。过去 30 天订阅人数变化为 -312,过去 24 小时变化为 -15,整体触达仍然可观。
- 认证状态: 未认证
- 互动率 (ER): 平均受众互动率为 2.22%。内容发布后 24 小时内通常能获得 1.39% 的反应,占订阅者总量。
- 帖子覆盖: 每篇帖子平均可获得 532 次浏览,首日通常累积 335 次浏览。
- 互动与反馈: 受众积极参与,单帖平均反应数为 1。
- 主题关注点: 内容集中在 مصنوعی, دنیا, آموزش, پایتون, وبینار 等核心主题上。
📝 描述与内容策略
作者将该频道定位为表达主观观点的平台:
“◀️اینجا با تمرین و چالش با هم پایتون رو یاد می گیریم
⏮بانک اطلاعاتی پایتون
پروژه / code/ cheat sheet
+ویدیوهای آموزشی
+کتابهای پایتون
تبلیغات:
@alloadv
🔁ادمین :
@maryam3771”
凭借高频更新(最新数据采集于 25 十月, 2026),频道始终保持新鲜度与高覆盖。分析显示受众积极互动,使其成为 技术与应用 类别中的关键影响点。
24 018
订阅者
-1524 小时
-327 天
-31230 天
帖子存档
🖥 Aurora is a static site generator implemented in Python
Aurora is a static site generator implemented in Python.
Aurora supports:
- Create content and pages using markdown, jinja2 and HTML
- Various types of assembly
- Interactive build with fast reload capability for development (reload time up to < 300ms)
- Built-in support for creating site pages
pip3 install aurora-ssg
• Githubحل سوالات استخدامی سایت leetcode.com
Task: No. 17. Letter Combinations of a Phone Number #medium
Condition:
Given a string containing the numbers 2 to 9 inclusive, return all possible combinations of letters that the number can represent. Return the answer in any order. The correspondence between numbers and letters (as on telephone buttons) is given below. Note that 1 does not match any letters.
Solution:
class Solution(object):
def subsetsWithDup(self, nums):
"""
:type nums: List[int]
:rtype: List[List[int]]
"""
res = []
nums.sort()
self.dfs(nums, [], res)
return res
def dfs(self, nums, path, res):
res.append(path)
for i in range(len(nums)):
if i > 0 and nums[i] == nums[i-1]:
continue
self.dfs(nums[i+1:], path + [nums[i]], res)
Explanation:
Sorting:
First we sort the nums array. Sorting makes it easy to handle duplicates because similar items will be placed next to each other.
Recursive dfs method:
The dfs method is used to recursively construct all possible subsets. In dfs, path represents the current subset, and res is a list of all subsets.
Adding a subset to the result:
At each level of recursion, we add the current subset of path to the result of res.
Handling duplicates:
Before continuing the recursion, we check whether the current element nums[i] is a duplicate of the previous element. If so, skip it to avoid adding identical subsets to res.
Recursive construction of subsets:
For each element in nums, starting at the current index, we call dfs on the next elements of the array (nums[i+1:]). This means that we consider subsets that include the current element, and continue to build subsets without the current element.
Path (path) and compartment (nums):
Each time dfs is called, a new subset is created by adding the current element to path. This new list is then passed to the next level of recursion, allowing all possible subsets to be constructed.
Time and space complexity:
Time complexity: O(2^n), where n is the number of elements in nums. This is because there are 2^n subsets for an array of n elements.
Space complexity: O(2^n * n), since each of the 2^n possible subsets may require up to n elements to store.Repost from هشتگ تبلیغ تخصصی
⁉️چرا و چطور میشه رسید به این مرحله ؟
در یک جلسه یک ساعته رایگان
روز یکشنبه ساعت ۱۹
📌 لینک ثبت نام:
➡️ links.etekanesh.com/hstgvd10tr
🔵 کانال تلگرام افراد موفق:
➡️ t.me/TekaneshAcademy
🔵 ارتباط با پشتیبانی در صورت بروز مشکل در ورود به جلسه:
➡️ @Academy_Tekanesh
Generate AI image with the input text
pip install --upgrade MukeshAPI
from MukeshAPI import api
response = api.ai_image("cute boy pic")
#print(response)
with open("mukesh.jpg", 'wb') as f:
f.write(response)
print("image generated successfully")
#code
🆔 @Python4all_pro-Location of Mobile Number Code -
import phonenumbers
from phonenumbers import (timezone,geocoder,carrier)
number = input("Enter the phone number with country code : ")
# Parsing String to the Phone number
phoneNumber = phonenumbers.parse(number)
# printing the timezone using the timezone module
timeZone = timezone.time_zones_for_number(phoneNumber)
print(f"timezone : {timeZone}")
# printing the geolocation of the given number using the geocoder module
geolocation = geocoder.description_for_number(phoneNumber,"en")
print(f"location : {geolocation}")
# printing the service provider name using the carrier module
service = carrier.name_for_number(phoneNumber,"en")
print(f"service provider : {service}")
Repost from N/a
⏰ ساعات پایانی تخفیف ۶۰ درصدی فرادرس برای همه آموزشها
تا دیر نشده آموزش مورد نظرتو تهیه کن 👇
▫️ آموزشهای پایتون برای علم داده و هوش مصنوعی
▫️ مجموعه آموزش هوش مصنوعی و علم داده
▫️ مجموعه آموزش داده کاوی و یادگیری ماشین
▫️ تحلیل بازارهای مالی با هوش مصنوعی
▫️ آموزشهای شبکه های عصبی مصنوعی
📚 مشاهده سایر آموزشها - [کلیک کنید]
#فرادرس #آموزش_رایگان #آموزش_آنلاین #تخفیف #رایگان #آموزش
@FaraDars - فرادرس
Repost from رویدادها و دوره های آموزشی
اگر داخل ایران با تخصصی که دارید، مشغول به کار هستید
✅ پیشنهاد ما به شما ادامه همین فعالیت ولی با کارفرمای خارجی هست!
افراد زیادی با این سبک کار درآمد چند هزار دلاری دارند؛⁉️چرا شما نه⁉️ برای شروع این مسیر یک جلسه رایگان روز یکشنبه ساعت ۱۹ برگزار خواهد شد 🎙️توسط: علیرضا قیمتی دکتری مدیریت کسب و کار ۸ سال سابقه آموزش و فعالیت بینالمللی 🌐لینک ثبت نام: https://links.etekanesh.com/mrym10tr 📱 کانال تلگرام افراد موفق: https://t.me/TekaneshAcademy 📱 ارتباط با پشتیبانی در صورت بروز مشکل در ورود به جلسه: @Academy_Tekanesh
حل سوالات استخدامی سایت leetcode.com
Task: No. 16. 3Sum Closest #medium
Condition:
Given an integer array nums of length n and an integer target, find the three integers in nums whose sum is closest to the target. Returns the sum of three integers. You can assume that each input will have exactly one solution.
Solution:
def threeSumClosest(self, num, target):
num.sort()
result = num[0] + num[1] + num[2]
for i in range(len(num) - 2):
j, k = i+1, len(num) - 1
while j < k:
sum = num[i] + num[j] + num[k]
if sum == target:
return sum
if abs(sum - target) < abs(result - target):
result = sum
if sum < target:
j += 1
elif sum > target:
k -= 1
else:
return result
return result
Explanation:
Sort an array:
First we sort the num array. This will allow us to use two pointers to find the closest sum.
Initializing the result:
We initialize the result variable with the sum of the first three elements of the sorted array. This will be our starting closest amount.
Traversing the array:
We use a for loop to iterate through the array. For each element we use two pointers j and k:
j starts immediately after the current element i.
k starts from the end of the array.
Two pointers:
Inside the while loop, while j is less than k, we calculate the sum of the elements num[i], num[j] and num[k].
If sum equals target, then we return sum since we found an exact match.
Result update:
If the current sum sum is closer to target than the previous closest sum result, update result.
Pointer shift:
If sum is less than target, move pointer j to the right to increase the sum.
If sum is greater than target, shift pointer k to the left to decrease the sum.
Return result:
After completing all iterations, we return result, which will contain the sum of three numbers closest to target.
Time and space complexity:
Time complexity: O(n^2), where n is the length of the array. Sorting takes O(n log n) and the basic algorithm with two pointers runs in O(n^2).
Space complexity: O(1) since we only use a few additional variables, and do not use additional memory depending on the size of the input data.Repost from رویدادها و دوره های آموزشی
💵💵 ۱۰۰۰ دلار جایزه نقدی برای فرد یا تیم برنده
🥇🥇چالش کد اِکس (CodeX Challenge) دومین رویداد برنامهنویسی و حل مسئله گپلی است. 🥇🥇
در این هکاتون ما به دنبال پیادهسازی یک تست کاربردپذیری (Usability Testing) به شکلی سادهتر و با کمک هوش مصنوعی هستیم.
این رویداد در واقع یک هکاتون 3 روزه بینالمللی است.
از آنجا که آغاز در شرایط برابر برای همه شرکتکنندگان، برایمان از اهمیت ویژهای برخوردار است، اطلاعات بیشتر و دقیقتر در مورد چالش، در روز آغاز هکاتون در اختیار شرکتکنندگان قرار خواهد گرفت.
👇👇👇
برای ثبتنام و اطلاعات بیشتر به لینک زیر رجوع کنید:
https://evnd.co/FRzLF
Convert Animated Gif to video
from os import remove,popen
import subprocess
def sprocess(a, b="utf-8"):
p = subprocess.Popen(a,shell=True,stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
return str(p[0].decode(b)+p[1].decode(b))
vid = await message.reply_to_message.download()
print(sprocess("ffmpeg -y -i '" + vid + "' -map_metadata -1 s.mp4"))
durasi = popen("ffprobe -i '" + vid + "' -show_entries format=duration -v quiet -of csv='p=0'").read()
await message.reply_video(video="s.mp4")
remove("s.mp4")
remove(vid)
#code
🆔 @Python4all_proRepost from N/a
🔵 فولدری جذاب از کانال های :
🔸#مهندسی
🔸#گرافیک
🔸#زبان_خارجه
🔸#کامپیوتر
🔸#فیلترشکن
🟪 به صورت تخصصی و V.I.P امروز براتون جمع آوری کردیم ، پس از این فرصت طلایی استفاده کنید :
🔑 https://t.me/addlist/o4zRVoUkJO40ODVk
🔻🔻🔻🔻🔻🔻🔻
.
Python Projects: Create an Interactive Quiz Application
گروه معرفی و آموزش ایردراپ های معتبر و درآمد زا با آموزش ویدیویی تمامی ایردراپ ها
اگر مشکلی داری توی این موارد یا سوالی میتونی توی این گروه راحت سوال تو بپرسی و مشکلت حل کنی
بیا توی این گروه تا از ایردراپ های مثل نات کوین و... جا نمونی حسرت بخوری
فرصت از دست نده همین الان جوین شو👇
https://t.me/+-gwr6z5xxHIxOWY8
🖥 ؛SearXNG — یک موتور فراجستجوی رایگان است که در پایتون پیاده سازی شده است
git clone https://github.com/searxng/searxng.git searxng
cd searxng
sudo -H ./utils/searxng.sh install all
؛SearXNG — نتایج جستجو و پایگاه داده های مختلف را ترکیب می کند و داده های حساس کاربر را جمع آوری یا ردیابی نمی کند
شروع سریع با Docker :
docker run --rm \
-d -p 8080:8080 \
-v "${PWD}/searxng:/etc/searxng" \
-e "BASE_URL=http://localhost:8080/" \
-e "INSTANCE_NAME=my-instance" \
searxng/searxng
🖥 GitHub
🟡 Docks
#library
#python
🆔 @Python4all_proترجمه ساده و روان پایتون از سایت w3schools.com بهترین منبع آموزش پایتون برای شروع به صورت رایگان در کانال زیر در اختیار شما عزیزان قرار گرفته است
@pyfaw3schools
Python Logo Source Code
import turtle
t = turtle.Turtle()
s = turtle.Screen()
s.bgcolor("black")
t.speed(10)
t.pensize(2)
t.pencolor("white")
def s_curve():
for i in range(90):
t.left(1)
t.forward(1)
def r_curve():
for i in range(90):
t.right(1)
t.forward(1)
def l_curve():
s_curve()
t.forward(80)
s_curve()
def l_curve1():
s_curve()
t.forward(90)
s_curve()
def half():
t.forward(50)
s_curve()
t.forward(90)
l_curve()
t.forward(40)
t.left(90)
t.forward(80)
t.right(90)
t.forward(10)
t.right(90)
t.forward(120) #on test
l_curve1()
t.forward(30)
t.left(90)
t.forward(50)
r_curve()
t.forward(40)
t.end_fill()
def get_pos():
t.penup()
t.forward(20)
t.right(90)
t.forward(10)
t.right(90)
t.pendown()
def eye():
t.penup()
t.right(90)
t.forward(160)
t.left(90)
t.forward(70)
t.pencolor("black")
t.dot(35)
def sec_dot():
t.left(90)
t.penup()
t.forward(310)
t.left(90)
t.forward(120)
t.pendown()
t.dot(35)
t.fillcolor("#306998")
t.begin_fill()
half()
t.end_fill()
get_pos()
t.fillcolor("#FFD43B")
t.begin_fill()
half()
t.end_fill()
eye()
sec_dot()
def pause():
t.speed(2)
for i in range(100):
t.left(90)
pause()
#code
🆔 @Python4all_proRepost from N/a
🎉 عید تا عید فرادرس 🎁 ۶۰ درصد تخفیف برای همه آموزشها 🎉
برای دسترسی سریعتر به آموزشهای مورد نظر خود، از لینکهای زیر استفاده کنید: 👇
🔗 مجموعه آموزش «ابزارهای هوش مصنوعی»
🔗 مجموعه آموزش «یادگیری ماشین و علم داده»
🔗 مجموعه آموزش «پردازش تصویر و بینایی ماشین با پایتون»
🔗 سایر دسته بندیها
💠 ورود به صفحه جشنواره — [کلیک کنید]
🎁 کد تخفیف: EDG32
#فرادرس #آموزش_رایگان #آموزش_آنلاین #تخفیف #رایگان #آموزش
@FaraDars - فرادرس
Repost from Vip
✅ لیستی از ارزشمندترین کانال های VIP دانشجویی بصورت رایگان تقدیم شما دوستان عزیز 😱
https://t.me/addlist/1lNTsXsXz05jMzhk
کلیک کنید 😍
Repost from رویدادها و دوره های آموزشی
✍ سایت تدریس خصوصی ایران مدرس (بزرگترین سایت انتخاب آنلاین معلم خصوصی در ایران)
1⃣ بیش از ۳۰۰۰۰ مدرس خانم و آقا تا سال ۱۴۰۳
2⃣ امکان مشاهده قیمت درخواستی اساتید و شماره تماس مستقیم مدرسین
3⃣ امکان مشاهده فیلم نمونه تدریس و نظرات شاگردهای قبلی
4⃣ برگزاری کلاس ها به صورت آنلاین و حضوری
5⃣ کاملترین لیست اساتید برای تمام دروس در کل ایران
⬅️ مشاهده لیست مدرسین خانم و آقا 👇
www.IranModares.com
⬅️ مشاهده فیلم نمونه تدریس اساتید 👇
https://t.me/iranmodares20
