Update ktp.py
parent
c697856fec
commit
7feb211c0a
|
@ -40,11 +40,10 @@ class Datatype:
|
||||||
return dtm.strftime('%d%m%y')
|
return dtm.strftime('%d%m%y')
|
||||||
|
|
||||||
def generate_data(self):
|
def generate_data(self):
|
||||||
|
|
||||||
print "[*] Generating data..."
|
print "[*] Generating data..."
|
||||||
nik = ''
|
nik = ''
|
||||||
|
|
||||||
for single_ni in range(0, 100000 * self.datasize):
|
for single_nik in range(0, 100000 * self.datasize):
|
||||||
nik += "{}{}{}".format(self.generate_no_kk(),self.generate_random_date(),self.generate_no_urut()) + ', '
|
nik += "{}{}{}".format(self.generate_no_kk(),self.generate_random_date(),self.generate_no_urut()) + ', '
|
||||||
|
|
||||||
return nik
|
return nik
|
||||||
|
|
Loading…
Reference in New Issue