This media is not supported in your browser
VIEW IN TELEGRAM
#سورس_کد #پایتون #python #نکته
👨💻 رمزگشایی پسوورد فایل زیپ با الگوریتم بروت فورس و ماژول zipfile
📄 Brute force algorithm in hacking involves trying all possible combinations to find the correct password.
🔻share with your friends🔻
🔹@OpenCV_olc🔹
👨💻 رمزگشایی پسوورد فایل زیپ با الگوریتم بروت فورس و ماژول zipfile
def brute_force_pass(target, length):
chars = string.ascii_letters + string.digits
for attempt in itertools.product(chars, repeat=length):
pwd_attempt = ''.join(attempt)
print(f"Trying: {pwd_attempt}")
if pwd_attempt == target:
print(f"Password found: {pwd_attempt}")
return pwd_attempt
print("Password not found")
return None
📄 Brute force algorithm in hacking involves trying all possible combinations to find the correct password.
🔻share with your friends🔻
🔹@OpenCV_olc🔹
👍7❤6👏4🎉3😍3🔥2🆒2🌚1💯1🎄1😎1
#پایتون #python #آموزش #نکته
💎 معرفی چیت شیت پایتونی
⌨ پوشش بیش از 60 موضوع اصلی برنامه نویسی پایتون از مقدماتی تا پیشرفته
📎 مشاهده و دانلود (Github)
📄 Python cheat sheets
🗂 Comprehensive Cheatsheet from zero to hero in python programming
📎 https://github.com/gto76/python-cheatsheet/tree/main
🔻share with your friends🔻
🔹@OpenCV_olc🔹
💎 معرفی چیت شیت پایتونی
⌨ پوشش بیش از 60 موضوع اصلی برنامه نویسی پایتون از مقدماتی تا پیشرفته
📎 مشاهده و دانلود (Github)
📄 Python cheat sheets
🗂 Comprehensive Cheatsheet from zero to hero in python programming
📎 https://github.com/gto76/python-cheatsheet/tree/main
🔻share with your friends🔻
🔹@OpenCV_olc🔹
❤16🆒2👏1👨💻1
#پایتون #python #آموزش
💻 صد تمرین پایتونی از نامپای
⌨ اگه دنبال سوالات پایتونی هستین این مجموعه میتونه براتون مفید باشه. این تمرینات از سطح ساده تا پیشرفته هست و کاربردهای خاص ماژول نامپای هم پوشش داده شده.
📎 مطالعه بیشتر (Github)
💿 دانلود مستقیم
💻 100 numpy exercises (with solutions)
📄 This is a collection of numpy exercises from numpy mailing list, stack overflow, and numpy documentation.
📎https://github.com/rougier/numpy-100
🔻share with your friends🔻
🔹@OpenCV_olc🔹
💻 صد تمرین پایتونی از نامپای
⌨ اگه دنبال سوالات پایتونی هستین این مجموعه میتونه براتون مفید باشه. این تمرینات از سطح ساده تا پیشرفته هست و کاربردهای خاص ماژول نامپای هم پوشش داده شده.
📎 مطالعه بیشتر (Github)
💿 دانلود مستقیم
💻 100 numpy exercises (with solutions)
📄 This is a collection of numpy exercises from numpy mailing list, stack overflow, and numpy documentation.
📎https://github.com/rougier/numpy-100
🔻share with your friends🔻
🔹@OpenCV_olc🔹
🆒14❤4❤🔥1🔥1👨💻1
#پایتون #python #آموزش
💻 با کمک ماژول csv میتونین فایلهای مختلف رو بخونین و دادهها رو به راحتی پردازش کنین. این ماژول به شما این امکان رو میده تا هر سطر از فایل رو به صورت یک دیکشنری یا یک لیست بخونین، که این کار دسترسی و مدیریت دادهها رو بسیار سادهتر میکنه.
📄The CSV module in Python provides a convenient way to parse data from spreadsheets. It allows users to read and write CSV files easily, making data manipulation straightforward.
🔻share with your friends🔻
🔹@OpenCV_olc🔹
💻 با کمک ماژول csv میتونین فایلهای مختلف رو بخونین و دادهها رو به راحتی پردازش کنین. این ماژول به شما این امکان رو میده تا هر سطر از فایل رو به صورت یک دیکشنری یا یک لیست بخونین، که این کار دسترسی و مدیریت دادهها رو بسیار سادهتر میکنه.
📄The CSV module in Python provides a convenient way to parse data from spreadsheets. It allows users to read and write CSV files easily, making data manipulation straightforward.
import csv
csv_mapping_list = []
with open("/path/@OpenCV_olc/data.csv") as my_data:
csv_reader = csv.reader(my_data, delimiter=",")
line_count = 0
for line in csv_reader:
if line_count == 0:
header = line
else:
row_dict = {key: value for key, value in zip(header, line)}
csv_mapping_list.append(row_dict)
line_count += 1
🔻share with your friends🔻
🔹@OpenCV_olc🔹
🔥5❤3👍3😍2❤🔥2🎉1💯1🆒1