Warning: Undefined array key "enable_lazyload_videos" in /var/www/murat.ws/public_html/wp-content/plugins/reco-functions/reco-functions.php on line 129
python ile rasgele sifreler uretmek – 3 – Murat Uğur Eminoğlu
Warning: Undefined array key "custom_scripts" in /var/www/murat.ws/public_html/wp-content/plugins/reco-functions/custom-styles.php on line 48

Press enter to see results or esc to cancel.

python ile rasgele sifreler uretmek – 3

Kullanimi : python3 password3.py 10 22   #10 adet 22 karakterden olusan sifre uretir.

import string, sys, random
def rasgele (adet, ras):
    for i in range(adet):
        karakterler = string.hexdigits + string.punctuation
        rand = (random.sample(karakterler, ras))
        print(*rand, sep="")

rasgele(int(sys.argv[1]),int(sys.argv[2]))

Ornek Ekran Ciktisi:
screenshot_2016-11-15_16-37-02


Warning: Undefined array key "custom_scripts_footer" in /var/www/murat.ws/public_html/wp-content/plugins/reco-functions/custom-styles.php on line 58