MCPcopy Create free account
hub / github.com/Moduland/csv2vcf / VCF_init

Function VCF_init

csv2vcf/VCF.py:35–42  ·  view source on GitHub ↗

This function add static part of VCF :param file: file object :return: None

(file)

Source from the content-addressed store, hash-verified

33 return zero_insert(str(input_day))+" days, "+zero_insert(str(input_hour))+" hour, "+zero_insert(str(input_minute))+" minutes, "+zero_insert(str(input_sec))+" seconds"
34
35def VCF_init(file):
36 '''
37 This function add static part of VCF
38 :param file: file object
39 :return: None
40 '''
41 file.write("BEGIN:VCARD\n")
42 file.write("VERSION:3.0\n")
43
44def VCF_name(file,first_name,last_name):
45 '''

Callers 1

VCF_creatorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected