This Python script is designed to split a VCF (vCard) file into multiple smaller files, each containing a specified number of vCards. The script reads the input VCF file, processes its content, and creates separate output files with a limited number of vCards in each.
-
Input File:
- Provide the VCF file you want to split by setting the
input_file_name
variable.
- Provide the VCF file you want to split by setting the
-
Output Folder:
- Specify the folder where the split VCF files will be saved by setting the
folder_save_file
variable.
- Specify the folder where the split VCF files will be saved by setting the
-
Number of vCards per File:
- Adjust the
num_vcard
variable to set the desired number of vCards in each output file.
- Adjust the
-
Running the Script:
- Execute the script in a Python environment.
python vcf_splitter.py