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

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

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

🔁ادمین :
@maryam3771
Download Telegram
beginners_python_cheat_sheet_pcc_all.pdf
741 KB
Python cheatsheet for beginners


هر روز یک Cheat Sheet
برگه تقلب شماره ۸ پایتون

Cheat Sheet 8: Python


#cheat_sheet #pdf

🆔 @Python4all_pro
Coding Projects in Python.pdf
21.9 MB
Coding Projects in python for beginners


این کتاب هم مثل کتاب Fun Python که قبلا معرفی کردم برای شروع یادگیری پایتون مناسبه

#pdf

🆔 @Python4all_pro
ساخت ماشین حساب عشق با پایتون

در این پروژه یاد می گیرید چگونه با استفاده از کتابخانه Tkinter  پایتون، یک ماشین حساب عشق بسازید.
ماشین حساب عشق یک برنامه ساده است که به شما امکان می دهد درصد عشق بین دو نفر را محاسبه کنید.

#code

🆔 @Python4all_pro
Build a Love Calculator Using Pytho


from tkinter import *

import random

root = Tk()

# Defining the size, width=400, height=240

root.geometry('400x240')

# Title

root.title('Love Calculator❤️❤️')

def calculate_love():

# value will contain digits between 0-9

st = '0123456789'

# result will be in double digits

digit = 2

temp = "".join(random.sample(st, digit))

result.config(text=temp)

# Heading on Top

heading = Label(root, text='Love Calculator????')

heading.pack()

# Slot/input for the first name

slot1 = Label(root, text="Enter Your Name:")

slot1.pack()

name1 = Entry(root, border=5)

name1.pack()

# Slot/input for the partner name

slot2 = Label(root, text="Enter Your Curse Name:")

slot2.pack()

name2 = Entry(root, border=5)

name2.pack()

bt = Button(root, text="Calculate", height=1,

width=7, command=calculate_love)

bt.pack()

# Text on result slot

result = Label(root, text='Love Percentage between both of You:')

result.pack()

# Starting the GUI

root.mainloop()



#code

🆔 @Python4all_pro
Python-RegEx-Cheatsheet.pdf
368.4 KB
Python RegEx Cheatsheet with Examples

هر روز یک Cheat Sheet
برگه تقلب شماره ۹ پایتون

Cheat Sheet 9: Python


#cheat_sheet #pdf

🆔 @Python4all_pro
Tertis game using python. Source code 👇


#code

🆔 @Python4all_pro
تمرین پایتون با جواب ویدیویی

یکی از روشهای یادگیری پایتون انجام دادن پروژه های کوچک و تمرین کردنه
این تمرینات به شما کمک می کنه مفاهیم تئوری پایتون را در عمل استفاده کنید که به یادگیری مفاهیم کمک میکنه
در ادامه چندتا پیج یوتیوب می‌فرستم با ویدیوهاش ( به زبان فارس هستند) تمرین کنید قطعا شما رو چند پله جلوتر از جایی که هستید می بره

https://youtu.be/yS0OQY0OOZ0?si=T04hx4LhMN8v-hQe

https://www.youtube.com/playlist?list=PLTlSvnm2JX3ojZzL-TjPwPS79D8ouFte_

https://www.youtube.com/playlist?list=PLYWFiggmBHJbOBx-LWxoHqfhgD6UP_ZgS

#پروژه
🆔 @Python4all_pro
Python Cheatsheet Pdf.pdf
1.7 MB
هر روز یک Cheat Sheet
برگه تقلب شماره ۱۰ پایتون

Cheat Sheet 10: Python


#cheat_sheet #pdf

🆔 @Python4all_pro
مدیریت فایل پایتون:

بررسی حالتهای مختلف دسترسی به فایل موجود در پایتون

🔸r : It opens the file to read-only. The file pointer exists at the beginning.
🔸rb : It opens the file to read-only in the binary format.
🔸r+ : It opens the file to read and write both.
🔸rb+ : It opens the file to read and write both in the binary format.
🔸 w : It opens the file to write only. It overwrites the file if previously exists or creates a new one if no file exists with the same name.
🔸wb : It opens the file to write only in the binary format
🔸w+ : It opens the file to write and read both. It is different from r+ in the sense that it overwrites the previous file if one exists whereas r+ doesn’t overwrite the previously written file.
🔸wb+ : It opens the file to write and read both in the binary format
🔸a : It opens the file in the append mode.
🔸ab : It opens the file in the append mode in the binary format.
🔸a+ : It opens a file to append and read both.
🔸ab+ : It opens a file to append and read both in the binary format.

with open("hello.txt", "w+") as f:
f.write("Hello World")
f.seek(0)
print(f.read())



🆔 @Python4all_pro
python interview questions answers.pdf
508.8 KB
80+ پرسش و پاسخ حل شده مصاحبه پایتون به همراه Code


#interview #code
🆔 @Python4all_pro
تمرین  : خروجی این کد پایتون چیه ؟

#code #test

🆔 @Python4all_pro
What will be the output of the following Python code?
Anonymous Quiz
39%
0
28%
no output
17%
error
17%
none
تمرین  : خروجی این کد پایتون چیست ؟

#code #test

🆔 @Python4all_pro
What will be the output of the following Python code?
Anonymous Quiz
18%
0 1 2
38%
{0, 1, 2} {0, 1, 2} {0, 1, 2}
26%
error
18%
none
10 min Python Pandas.pdf
548.8 KB
10 min to Python #Pandas Cheatsheet pdf

هر روز یک Cheat Sheet
برگه تقلب شماره ۱۱ پایتون

Cheat Sheet 11: Python

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

🆔 @Python4all_pro
پایتون ( Machine Learning | Data Science )
What will be the output of the following Python code?
توضیحات : دوستان جواب درست این تست گزینه آخره، چون همه عناصر از قبل تو مجموعه‌ بوده و در دستور پرینت خواستیم تغییرات رو پرینت کنه از اونجایی که عنصر جدیدی اضافه نشده جواب میشه none
تمرین  : خروجی این کد پایتون چیست ؟

#code #test

🆔 @Python4all_pro
What will be the output of the following Python code?
Anonymous Quiz
19%
0.0 1.0
29%
0 1
38%
error
13%
none
پایتون ( Machine Learning | Data Science )
What will be the output of the following Python code?
توضیحات: داده از نوع float ( ممیز شناور) را نمی توان به عنوان یک عدد صحیح (integers) تفسیر کرد.