import telebot
from telebot import types
#امسح فقط كلمه توكن الي داخل علامه الاقتباس وخلي توكن بوتك وشغل لملف وروح لبوتك تحكم هناك
token = "توكن"
ttxxxn = telebot.TeleBot(token)
d = {}
def hso(c, u):
if c not in d:
d[c] = ""
if u.data == "=":
try:
d[c] = str(eval(d[c]))
except:
d[c] = "خطأ"
elif u.data == "C":
d[c] = "0"
else:
if d[c] == "0":
d[c] = u.data
else:
d[c] += u.data
k = gu()
ttxxxn.edit_message_text(chat_id=u.message.chat.id, message_id=u.message.message_id, text=d[c], reply_markup=k)
def gu():
k = types.InlineKeyboardMarkup()
b1 = [types.InlineKeyboardButton(str(i), callback_data=str(i)) for i in range(1, 4)]
b2 = [types.InlineKeyboardButton(str(i), callback_data=str(i)) for i in range(4, 7)]
b3 = [types.InlineKeyboardButton(str(i), callback_data=str(i)) for i in range(7, 10)]
b4 = [types.InlineKeyboardButton("0", callback_data="0")]
b5 = [types.InlineKeyboardButton("+", callback_data="+"),
types.InlineKeyboardButton("-", callback_data="-"),
types.InlineKeyboardButton("*", callback_data="*"),
types.InlineKeyboardButton("/", callback_data="/")]
b6 = [types.InlineKeyboardButton("=", callback_data="="), types.InlineKeyboardButton("C", callback_data="C")]
k.row(*b1)
k.row(*b2)
k.row(*b3)
k.row(*b4)
k.row(*b5)
k.row(*b6)
my = types.InlineKeyboardButton(text='مبرمج البوت', url="https://t.me/A_1_1_T")
k.add(my)
return k
@ttxxxn.message_handler(commands=["start"])
def start_message(m):
c = m.chat.id
d[c] = ""
k = gu()
ttxxxn.send_message(c, "0", reply_markup=k)
@ttxxxn.callback_query_handler(func=lambda call: True)
def c_q(u):
hso(u.message.chat.id, u)
ttxxxn.polling()
بوت الاله الحاسبه بي ازرار شفافه تقدر تاخد الاسكربت
منزله عشان ساحب و بشتغل علي مشروع محتاج وقت وانا معنديش وقت
@priknm
Please open Telegram to view this post
VIEW IN TELEGRAM
💋5👍3🤩3❤2❤🔥2👌2
𝐂𝐨𝐝𝐞𝐕𝐲𝐱
import telebot from telebot import types #امسح فقط كلمه توكن الي داخل علامه الاقتباس وخلي توكن بوتك وشغل لملف وروح لبوتك تحكم هناك token = "توكن" ttxxxn = telebot.TeleBot(token) d = {} def hso(c, u): if c not in d: d[c] = "" if u.data == "=":…
شوف هتاخد الكود ( الكود فقط و ليس الوصف الي كاتبه تحت) نسخ و تروح لبايثون و تحط توكنك عشان يشتغل ✅
Please open Telegram to view this post
VIEW IN TELEGRAM
❤4👍1🔥1
Forwarded from Euosm
كفو مايكي كمل كلنا معك و الله يعوضك علي حسابك الي طار ادري انك خسرت كثير اشياء بس احنا معك 💞
🔥2❤1👍1👌1
Model training.py
2.6 KB
الملف ده فيه كود لتدريب نموذج ذكاء اصطناعي بيتوقع الكلمات اللي جايه في نص معين النموذج معمول باستخدام شبكة GRU اللي بتفهم تسلسل الكلمات عشان تتعلم لغة النص وتطلع دقة عالية في التوقع الكود جاهز للتعديل تقدر تضيف له مميزات تانية أو تستعمله بأكتر من طريقة في مشاريع تحليل ومعالجة اللغة الطبيعية بكل سهولة✨
✨ملف بسيط بس يفيد لاني مش عايز اسحب عليكم✨
@A_1_1_T
✨ملف بسيط بس يفيد لاني مش عايز اسحب عليكم✨
@A_1_1_T
❤4🤯2🏆2
𝐂𝐨𝐝𝐞𝐕𝐲𝐱
بوت الاستضافه يعمل بنجاح 😈 البوت: @Chufflebot مجاني بالكامل ❤️ شغال بدون توقف ✅ تحديث جديد قريبا..
مم... البوت بسبب ضغط واني رفعته علي استضافتين بوقت واحد 👻 حصلت مشاكل كثيره من بينهم ان الحمايه بدات تحظر الكل فا رجعت التحديث القديم ♦️
و الي قاعد يشتكي متنساش انه (🆓 )
و الي قاعد يشتكي متنساش انه (
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥7❤4🥰4👏3👍1