Skip to content

Instantly share code, notes, and snippets.

View sqe's full-sized avatar

Aziz Kurbanov sqe

View GitHub Profile
@sqe
sqe / tdg.py
Last active February 14, 2023 21:15
test data generator
import os
# Please change per your desire:
Source_File_Name = str(raw_input("input the text file name: "))
Destination = str(raw_input("input the destination directory: ")) #c:\\Python27\\Test_Data"
Word_Count = int(raw_input("how many words should be read into each file: ")) # 10
How_Many_Files = int(raw_input("how many files you want to generate: ")) #100
Dir_Divider = int(raw_input("how many files per directory: ")) #25
Destination_File_Prefix = str(raw_input("input future file prefix: ")) #"WaP_"