from datetime import *
def stoped(y=0,m=0,d=0):
 date = datetime.now()
 if len(list(str(y))) == 4:
  if m <= 12 and m > 0:
   if d <= 31 and d > 0:
    if date.year <= y:
     if date.month <= m:
      if date.day < d:
       return True
x = stoped(2023,1,20)
if x:pass
else:quit('Stoped Tool ..!')
print("End")- - - - - - - - - - - -
كود بسيط بـ لغة python يوقف الملف بالتاريخ الي تخليه ، لاين 11 خلي التاريخ .
Dev: @DevNoxi .
اذكار.php
    29.8 KB
  