پایتون ( Machine Learning | Data Science )
23.6K subscribers
469 photos
57 videos
103 files
335 links
◀️اینجا با تمرین و چالش با هم پایتون رو یاد می گیریم

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

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

🔁ادمین :
@maryam3771
Download Telegram
💎هر روز یک Cheat Sheet : برگه تقلب شماره ۱۷ :
برگه تقلب مفید برای کتابخانه
BeautifulSoup

کتابخانه BeautifulSoup برای استخراج داده ها از صفحات وب طراحی شده است.

این برگه تقلب  بسیار گسترده است و جنبه هایی مانند نصب، ایجاد یک شی BeautifulSoup، کار با انواع مختلف اشیاء، جستجو در درخت تجزیه و غیره را پوشش می دهد.

📌 https://proxiesapi.com/articles/the-complete-beautifulsoup-cheatsheet-with-examples


#cheat_sheet #کتابخانه #library

🆔 @Python4all_pro
⁉️ تمرین  : به نظر شما گزینه درست کدومه ؟

#code #test

🆔 @Python4all_pro
پایتون ( Machine Learning | Data Science )
⁉️ تمرین  : به نظر شما گزینه درست کدومه ؟ #code #test 🆔 @Python4all_pro
Explanation:
The code defines a decorator function decorator that takes a function func as an argument and returns a wrapper function. The wrapper function is responsible for performing some additional actions before and after the execution of func.

The @decorator syntax is used to decorate the my_function function with the decorator function. This means that when my_function is called, it will be wrapped by the wrapper function defined in the decorator function.

When my_function(3, 5) is called, the decorator function's wrapper function is executed. It prints "Before function execution", then calls my_function with the provided arguments and stores the result in the result variable. After that, it prints "After function execution" and returns the result.

Finally, the value of result is printed to the console, which will be the sum of the arguments passed to my_function, resulting in the output "8".

Therefore, the correct answer is option 😎 Before function execution, 8, After function execution. The program will output those three lines in the given order.


#code #test

🆔 @Python4all_pro
Pattern 24

n = 7
for i in range(n):
for j in range(i+1):
if j % 3 == 0:
print("*", end=" ")
elif j % 3 == 1:
print("#", end=" ")
else:
print("@", end=" ")
print()




#code #pattern

🆔 @Python4all_pro
Python Code to Display Calendar 🗓️ :

import calendar 
# Enter the month and year 
yy = int(input("Enter year: ")) 
mm = int(input("Enter month: ")) 
 
# display the calendar 
print(calendar.month(yy,mm))



#code

🆔 @Python4all_pro
🔅 Countdown timer

import time

def countdown(t):
while t:
mins, secs = divmod(t, 60)
timer = '{:02d}:{:02d}'.format(mins,secs)
print(timer, end="\r")
time.sleep(1)
t -= 1

print('Timer completed!')

t = input('Enter the time in seconds: ')

countdown(int(t))



#code

🆔 @Python4all_pro
پروژه پایتون: اپلیکیشن آب و هوا با پایتون بسازید


https://morioh.com/p/ce2e328ba165?f=5c21fb01c16e2556b555ab32

#پروژه
#code

🆔 @Python4all_pro
Media is too big
VIEW IN TELEGRAM
Python Full Course for Beginners | Complete All-in-One Tutorial


📌 این دوره آموزشی کامل پایتون برای مبتدیان حاوی نزدیک به 9 ساعت کد پایتون و دستورالعمل برای ارتقاء سطح مهارت های برنامه نویسی شما است. این دوره تمام اصول پایتون را آموزش می دهد.


🔖 منابعی که برای این دوره استفاده شده:
TypeScript: https://github.com/gitdagray/python-course

📍کد ویژوال استودیو:
https://code.visualstudio.com/


#Free_course

🆔 @Python4all_pro
30  پروژه پایتون ویژه مبتدیان برای شروع کدنویسی (به همراه کد )

با ساخت 30 پروژه سرگرم کننده و آسان که یادگیری پایتون را شروع کنید!
شما چه کاملا مبتدی باشید و چه تجربه کمی در برنامه نویسی داشته باشید، چیزی برای به چالش کشیدن و الهام بخشیدن به شما در این پروژه ها پیدا خواهید کرد.


https://morioh.com/a/778c1bdf55fa/30-python-projects-for-beginners-to-get-started-coding

#پروژه
#code

🆔 @Python4all_pro
🆕 همین حالا دانشگاه تهرانی شو❗️

شروع دوره:🔠🔠 اردیبهشت ماه 🔠🔠🔠🔠

🟥با پرداخت زودهنگام، جزو 20 نفر اول ما باش🟥

جامعترین دوره پروژه محور علم داده کل کشور

💥تا سقف 0️⃣2⃣ درصد تخفیف ویژه🔥

15 سرفصل کاربردی با 12 نرم افزار و ابزار تخصصی💎

🌐امکان پرداخت اقساطی متناسب با بودجه شما

🎓ارائه گواهینامه معتبر دوزبانه با قابلیت ترجمه رسمی و امکان استعلام از دانشگاه تهران

👤🌏 پشتیبانی آنلاین جهت ثبت‌نام
😂 @tehrandata_admin
☎️ 09377516759
🆗 کانال تلگرامی
🌐 واتساپ
📄 لینکدین
🌐 اینستا
🌎 وبسایت
Please open Telegram to view this post
VIEW IN TELEGRAM
Media is too big
VIEW IN TELEGRAM
11 python projects for python beginners


project 1 : random number guessing game
project 2 : check if a word is palindrome or not
project 3 : terminal calculator
project 4 : Fibonacci series
project 5 : multiplication table
project 6 : random password generator
project 7 : number and alphabet pyramid
project 8 : terminal voting system
project 9 : stone paper scissor game
project 10 : arrange jumble words game
project 11 : ceasor cipher algorithm using python



#پروژه
#code

🆔 @Python4all_pro
Calculate derivatives in Python



#code

🆔 @Python4all_pro
معرفی چند دوره معتبر و مفید برای یادگیری پایتون ، علم داده و یادگیری ماشین

Freecodecamp Python Course with FREE Certificate

Python course for beginners by Microsoft

Python course by Google

Data Science: Machine Learning

Python for students working in Finance and Economics { Python Notes : link }


📌 35 دوره پایتون ، یادگیری ماشین، علم داده، مدلهای زبانی، شبکه های عصبی و ... در این سایت بصورت دسته بندی شده ارائه شده 👇

https://chrisalbon.com/


#Free_course

🆔 @Python4all_pro
5 پروژه پایتون که بهتره تو زرومه تون داشته باشید

https://morioh.com/p/d75330034945?f=5c21fb01c16e2556b555ab32


#پروژه
🆔 @Python4all_pro
♨️دوره رایگان برنامه نویسی پایتون آکادمی سیسکو

💢 این دوره  از سطح مبتدی شروع میشه و شما را به سطح پیشرفته می رساند
دو گواهینامه سطح مبتدی و پیشرفته به شما ارائه می دهد و شامل چندین پروژه کاربردی است که پیشنهاد می کنم در رزومه داشته باشید

https://www.netacad.com/courses/programming/pcap-programming-essentials-python


🆔 @Python4all_pro
🔅 Scan for open ports
from socket import *
import time
startTime = time.time()

if __name__ == '__main__':
target = input('Enter the host to be scanned: ')
t_IP = gethostbyname(target)
print ('Starting scan on host: ', t_IP)

for i in range(1, 10000):
s = socket(AF_INET, SOCK_STREAM)
conn = s.connect_ex((t_IP, i))
if(conn == 0) :
print ('Port %d: OPEN' % (i,))
s.close()
print('Time taken:', time.time() - startTime)





#code

🆔 @Python4all_pro