|
import csv |
|
|
|
def create_clusters_csv(): |
|
"""Create the initial clusters.csv file with proper headers""" |
|
with open('clusters.csv', 'w', newline='', encoding='utf-8') as file: |
|
writer = csv.writer(file) |
|
writer.writerow(['Keywords', 'Intent', 'Primary Keyword', 'Status']) |
|
|
|
|
|
with open('clusters.csv', 'w', newline='') as file: |
|
writer = csv.writer(file) |
|
writer.writerow(['Cluster', 'Keywords', 'Intent', 'Primary Keyword', 'Status']) |
|
|
|
|
|
writer.writerow(['2', 'Nanobotz it solutions company, nanobotz it solutions company details', 'nanobotz it solutions', 'nanobotz it solutions', 'no']) |
|
|
|
|
|
with open('completed_posts.csv', 'w', newline='') as file: |
|
writer = csv.writer(file) |
|
writer.writerow(['Title', 'Keywords', 'Meta Description', 'URL']) |