چنل پایتون | جنگو | برنامه نویسی وب سایت
421 subscribers
292 photos
141 videos
40 files
208 links
ارتباط با مدیر:

@Amir_123_ka
Download Telegram
این هم نکته های امروز از پایتون❤️😁
from tkinter import *
def btnClick(numbers):
global operator
operator = operator + str(numbers)
text_input.set(operator)
def btnClearDisplay():
global operator
operator =""
text_input.set("")
def btnEqualsInput():
global operator
sumup = str(eval(operator))
text_input.set(sumup)
operator=""
cal = Tk()
cal.title("Calculator")
operator = ""
text_input = StringVar()
txtDisplay = Entry(cal, font=('arial', 20, 'bold'), textvariable=text_input, bd=30,
insertwidth=4, bg='powder blue', justify='right').grid(columnspan=4)
btn7 = Button(cal, padx=16, pady=16, bd=8, fg='black', font=('arial', 20, 'bold'),
text='7', command=lambda:btnClick(7) ).grid(row=1, column=0)
btn8 = Button(cal, padx=16, pady=16, bd=8, fg='black', font=('arial', 20, 'bold'),
text='8', command=lambda:btnClick(8)).grid(row=1, column=1)
btn9 = Button(cal, padx=16, pady=16, bd=8, fg='black', font=('arial', 20, 'bold'),
text='9', command=lambda:btnClick(9)).grid(row=1, column=2)
addition = Button(cal, padx=16, pady=16, bd=8, fg='black', font=('arial', 20, 'bold'),
text='+', command=lambda:btnClick('+')).grid(row=1, column=3)
#============================================================================
btn4 = Button(cal, padx=16, pady=16, bd=8, fg='black', font=('arial', 20, 'bold'),
text='4', command=lambda:btnClick(4)).grid(row=2, column=0)
btn5 = Button(cal, padx=16, pady=16, bd=8, fg='black', font=('arial', 20, 'bold'),
text='5', command=lambda:btnClick(5)).grid(row=2, column=1)
btn6 = Button(cal, padx=16, pady=16, bd=8, fg='black', font=('arial', 20, 'bold'),
text='6', command=lambda:btnClick(6)).grid(row=2, column=2)
subtraction = Button(cal, padx=16, pady=16, bd=8, fg='black', font=('arial', 20, 'bold'),
text='-', command=lambda:btnClick('-')).grid(row=2, column=3)
#============================================================================
btn1 = Button(cal, padx=16, pady=16, bd=8, fg='black', font=('arial', 20, 'bold'),
text='1', command=lambda:btnClick(1)).grid(row=3, column=0)
btn2 = Button(cal, padx=16, pady=16, bd=8, fg='black', font=('arial', 20, 'bold'),
text='2', command=lambda:btnClick(2)).grid(row=3, column=1)
btn3 = Button(cal, padx=16, pady=16, bd=8, fg='black', font=('arial', 20, 'bold'),
text='3', command=lambda:btnClick(3)).grid(row=3, column=2)
multiply = Button(cal, padx=16, pady=16, bd=8, fg='black', font=('arial', 20, 'bold'),
text='*', command=lambda:btnClick('*')).grid(row=3, column=3)
#============================================================================
btn0 = Button(cal, padx=16, pady=16, bd=8, fg='black', font=('arial', 20, 'bold'),
text='0', command=lambda:btnClick(0)).grid(row=4, column=0)
btnClear = Button(cal, padx=16, pady=16, bd=8, fg='black', font=('arial', 20, 'bold'),
text='C', command= btnClearDisplay).grid(row=4, column=1)
btnEquals = Button(cal, padx=16, pady=16, bd=8, fg='black', font=('arial', 20, 'bold'),
text='=', command=btnEqualsInput).grid(row=4, column=2)
division = Button(cal, padx=16, pady=16, bd=8, fg='black', font=('arial', 20, 'bold'),
text='/', command=lambda:btnClick('/')).grid(row=4, column=3)
cal.mainloop()
کد ماشین حساب گرافیکی👆🏻👆🏻
جواب این سوال هارو اگه کسی می دونه بیاد به پیوی😁
@Amir_123_ka

#چالش
👍2
Forwarded from Python Forever
This media is not supported in your browser
VIEW IN TELEGRAM
🎮 آموزش ساخت بازی با pyGame

📝 زبان: فارسی
👤 مدرس: حسن امیری
🔗 منبع: تاپ لرن

📌 جلسه 1- معرفی دوره

#ویدئو #فیلم #پایتون #گیم #پایگیم
#Video #Python #Game #Pygame
🐍 @PythonForever
Forwarded from Python Forever
Media is too big
VIEW IN TELEGRAM
🎮 آموزش ساخت بازی با pyGame

📝 زبان: فارسی
👤 مدرس: حسن امیری
🔗 منبع: تاپ لرن

📌 جلسه 2- نصب pygame

🔆 شروع کار با pygame و آشنایی با main loop

#ویدئو #فیلم #پایتون #گیم #پایگیم
#Video #Python #Game #Pygame
🐍 @PythonForever
Forwarded from Python Forever
Media is too big
VIEW IN TELEGRAM
🎮 آموزش ساخت بازی با pyGame

📝 زبان: فارسی
👤 مدرس: حسن امیری
🔗 منبع: تاپ لرن

📌 جلسه 3- رسم اشکال در 1 pygame

🔆 آموزش رسم مستطیل و دایره در pygame

#ویدئو #فیلم #پایتون #گیم #پایگیم
#Video #Python #Game #Pygame
🐍 @PythonForever
Forwarded from Python Forever
Media is too big
VIEW IN TELEGRAM
🎮 آموزش ساخت بازی با pyGame

📝 زبان: فارسی
👤 مدرس: حسن امیری
🔗 منبع: تاپ لرن

📌 جلسه 4- رسم اشکال در 2 pygame

🔆 آموزش رسم بیضی و چند ضلعی ها و خطوط در pygame

#ویدئو #فیلم #پایتون #گیم #پایگیم
#Video #Python #Game #Pygame
🐍 @PythonForever
Forwarded from Python Forever
Media is too big
VIEW IN TELEGRAM
🎮 آموزش ساخت بازی با pyGame

📝 زبان: فارسی
👤 مدرس: حسن امیری
🔗 منبع: تاپ لرن

📌 جلسه 5- آموزش کار با تصاویر در pyGame

🔆 ادامه رسم شکل و آموزش کار با تصاویر در pygame

#ویدئو #فیلم #پایتون #گیم #پایگیم
#Video #Python #Game #Pygame
🐍 @PythonForever
Forwarded from Python Forever
Media is too big
VIEW IN TELEGRAM
🎮 آموزش ساخت بازی با pyGame

📝 زبان: فارسی
👤 مدرس: حسن امیری
🔗 منبع: تاپ لرن

📌 جلسه 6- آموزش کار با text

🔆 آموزش کار با فونت و نوشته ها در pygame

#ویدئو #فیلم #پایتون #گیم #پایگیم
#Video #Python #Game #Pygame
🐍 @PythonForever
Forwarded from Python Forever
Media is too big
VIEW IN TELEGRAM
🎮 آموزش ساخت بازی با pyGame

📝 زبان: فارسی
👤 مدرس: حسن امیری
🔗 منبع: تاپ لرن

📌 جلسه 7- آموزش حرکت دادن تصاویر

🔆 آموزش حرکت دادن اشکال و کنترل سرعت بازی

#ویدئو #فیلم #پایتون #گیم #پایگیم
#Video #Python #Game #Pygame
🐍 @PythonForever
Forwarded from Python Forever
Media is too big
VIEW IN TELEGRAM
🎮 آموزش ساخت بازی با pyGame

📝 زبان: فارسی
👤 مدرس: حسن امیری
🔗 منبع: تاپ لرن

📌 جلسه 8- کار با keyboard در pygame

🔆 آموزش کار با ورودی های کیبورد در pygame و حرکت دادن تصاویر با دکمه های کیبورد

#ویدئو #فیلم #پایتون #گیم #پایگیم
#Video #Python #Game #Pygame
🐍 @PythonForever
Forwarded from Python Forever
Media is too big
VIEW IN TELEGRAM
🎮 آموزش ساخت بازی با pyGame

📝 زبان: فارسی
👤 مدرس: حسن امیری
🔗 منبع: تاپ لرن

📌 جلسه 9- کار با mouse در pygame

🔆 آموزش کار با ورودی های ماوس در pygame و حرکت دادن تصاویر با دکمه های ماوس

#ویدئو #فیلم #پایتون #گیم #پایگیم
#Video #Python #Game #Pygame
🐍 @PythonForever
Forwarded from Python Forever
Media is too big
VIEW IN TELEGRAM
🎮 آموزش ساخت بازی با pyGame

📝 زبان: فارسی
👤 مدرس: حسن امیری
🔗 منبع: تاپ لرن

📌 جلسه 10- ادامه کار با ماوس در pygame

🔆 آموزش کار با mousemotion

#ویدئو #فیلم #پایتون #گیم #پایگیم
#Video #Python #Game #Pygame
🐍 @PythonForever
Forwarded from Python Forever
Media is too big
VIEW IN TELEGRAM
🎮 آموزش ساخت بازی با pyGame

📝 زبان: فارسی
👤 مدرس: حسن امیری
🔗 منبع: تاپ لرن

📌 جلسه 11- شروع پروژه

🔆 آموزش یک پروژه نسبتاً ساده (بخش اول)

#ویدئو #فیلم #پایتون #گیم #پایگیم
#Video #Python #Game #Pygame
🐍 @PythonForever
Forwarded from Python Forever
Media is too big
VIEW IN TELEGRAM
🎮 آموزش ساخت بازی با pyGame

📝 زبان: فارسی
👤 مدرس: حسن امیری
🔗 منبع: تاپ لرن

📌 جلسه 12- ادامه پروژه

🔆 آموزش یک پروژه نسبتاً ساده (بخش دوم)

#ویدئو #فیلم #پایتون #گیم #پایگیم
#Video #Python #Game #Pygame
🐍 @PythonForever
Forwarded from Python Forever
Media is too big
VIEW IN TELEGRAM
🎮 آموزش ساخت بازی با pyGame

📝 زبان: فارسی
👤 مدرس: حسن امیری
🔗 منبع: تاپ لرن

📌 جلسه 13- شروع ساخت بازی

🔆 آموزش ساخت بازی نسبتا ساده با pygame (قسمت اول)

#ویدئو #فیلم #پایتون #گیم #پایگیم
#Video #Python #Game #Pygame
🐍 @PythonForever
Forwarded from Python Forever
Media is too big
VIEW IN TELEGRAM
🎮 آموزش ساخت بازی با pyGame

📝 زبان: فارسی
👤 مدرس: حسن امیری
🔗 منبع: تاپ لرن

📌 جلسه 14- ادامه ساخت بازی (بخش دوم)

🔆 آموزش ساخت بازی نسبتا ساده با pygame (قسمت دوم)

#ویدئو #فیلم #پایتون #گیم #پایگیم
#Video #Python #Game #Pygame
🐍 @PythonForever
Forwarded from Python Forever
Media is too big
VIEW IN TELEGRAM
🎮 آموزش ساخت بازی با pyGame

📝 زبان: فارسی
👤 مدرس: حسن امیری
🔗 منبع: تاپ لرن

📌 جلسه 15- ادامه ساخت بازی ( بخش سوم )

🔆 آموزش ساخت بازی نسبتا ساده با pygame ( قسمت سوم )

#ویدئو #فیلم #پایتون #گیم #پایگیم
#Video #Python #Game #Pygame
🐍 @PythonForever