-
Notifications
You must be signed in to change notification settings - Fork 0
/
00_cruncher.py
139 lines (118 loc) · 3.18 KB
/
00_cruncher.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
import subprocess as subp
import subprocess
import time, os, datetime
import psutil
def file_1():
file = '01_google_search_console.py'
print(f'{file}')
cmd = subprocess.Popen(['python3',f"{file}"])
cmd.communicate()
def file_2():
file = '02_google_search_console.py'
print(f'{file}')
cmd = subprocess.Popen(['python3',f"{file}"])
cmd.communicate()
def file_3():
# file = '04_trend_manager.py'
# time.sleep(5)
# file1 = '04_trend_manager_1.py'
# time.sleep(5)
# file2 = '04_trend_manager_2.py'
# cmd = subprocess.Popen(['python3',f"{file}"])
# time.sleep(5)
# cmd = subprocess.Popen(['python3',f"{file1}"])
# time.sleep(5)
# cmd = subprocess.Popen(['python3',f"{file2}"])
# time.sleep(5)
# cmd.communicate()
file = '03_trends_cruncher.py'
cmd = subprocess.Popen(['python3',f"{file}"])
cmd.communicate()
def file_4():
file = '06_google_trends_transpone.py'
print(f'{file}')
cmd = subprocess.Popen(['python3',f"{file}"])
cmd.communicate()
def file_5():
file = '07_google_ads_keywords_volume.py'
print(f'{file}')
cmd = subprocess.Popen(['python3',f"{file}"])
cmd.communicate()
def file_6():
file = '08_search_console_data.py'
print(f'{file}')
cmd = subprocess.Popen(['python3',f"{file}"])
cmd.communicate()
def file_7():
file = '09_prophet_prediction.py'
print(f'{file}')
cmd = subprocess.Popen(['python3',f"{file}"])
cmd.communicate()
def file_8():
file = '10_prophet_prediction_transpone.py'
print(f'{file}')
cmd = subprocess.Popen(['python3',f"{file}"])
cmd.communicate()
def file_8_1():
file = '11_prophet_prediction_0_100.py'
print(f'{file}')
cmd = subprocess.Popen(['python3',f"{file}"])
cmd.communicate()
def file_9():
file = '12_sheet_ads.py'
print(f'{file}')
cmd = subprocess.Popen(['python3',f"{file}"])
cmd.communicate()
time.sleep(5)
def file_10():
file = '12_sheet_search_console.py'
print(f'{file}')
cmd = subprocess.Popen(['python3',f"{file}"])
cmd.communicate()
time.sleep(5)
def file_11():
file = '12_sheet_trends_detail.py'
print(f'{file}')
cmd = subprocess.Popen(['python3',f"{file}"])
cmd.communicate()
time.sleep(5)
def file_12():
file = '12_sheet_trends_general.py'
print(f'{file}')
cmd = subprocess.Popen(['python3',f"{file}"])
cmd.communicate()
time.sleep(5)
def file_13():
file = '12_sheet_prediction_detail.py'
print(f'{file}')
cmd = subprocess.Popen(['python3',f"{file}"])
cmd.communicate()
time.sleep(5)
def file_14():
file = '12_sheet_prediction_general.py'
print(f'{file}')
cmd = subprocess.Popen(['python3',f"{file}"])
cmd.communicate()
time.sleep(5)
def file_15():
file = '13_clean_folder.py'
print(f'{file}')
cmd = subprocess.Popen(['python3',f"{file}"])
cmd.communicate()
file_15()
file_1()
file_2()
file_3()
file_4()
file_5()
file_6()
file_7()
file_8()
file_8_1()
file_9()
file_10()
file_11()
file_12()
file_13()
file_14()
#file_15()