import random
import string
def generate_random_code():
prefix = "grn"
middle_numbers = ''.join(random.choices(string.digits, k=2))
middle_letters = ''.join(random.choices(string.ascii_lowercase, k=4))
return prefix + middle_numbers + middle_letters
def save_to_file(filename, num_codes):
with open(filename, 'w') as file:
for _ in range(num_codes):
code = generate_random_code()
file.write(code + 'n')
num_codes_to_generate = 100
filename = "random_codes.txt"
save_to_file(filename, num_codes_to_generate)
print(f"{num_codes_to_generate} rastgele kod '{filename}' dosyasına kaydedildi.")
Replies to asda
Title |
Name |
Language |
UNIX |
When |
Re: asda |
GRN87LMT GRN48WAZ GRN18FRN GRN78 |
text |
1710201881 |
1 Month ago. |
Re: asdasadas |
asdasd |
text |
1710201148 |
1 Month ago. |
Re: asda |
aaa |
text |
1710198555 |
1 Month ago. |
Re: asda |
asdasd |
text |
1710197814 |
1 Month ago. |
Re: asda |
buneolum |
text |
1710196732 |
1 Month ago. |
Re: asda |
alii |
text |
1710192727 |
1 Month ago. |
allahınıs |
moratoryum |
python |
1710191676 |
1 Month ago. |
Re: asda |
asdasdad |
text |
1710186324 |
1 Month ago. |
Re: asda |
Aavvv |
text |
1710181125 |
1 Month ago. |
Re: asda |
Aa |
text |
1710180472 |
1 Month ago. |
Re: asda |
sss |
text |
1710179572 |
1 Month ago. |
Re: asda |
qwe |
text |
1710179470 |
1 Month ago. |
grn24xyac |
grn24xyac |
text |
1710179176 |
1 Month ago. |
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}