hra commited on
Commit
0a05578
·
1 Parent(s): 7a7d93e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -18,6 +18,7 @@ import matplotlib.pyplot as plt
18
  import matplotlib
19
  import datetime
20
  from datetime import datetime, date, time, timedelta
 
21
 
22
  with open('lastradartext.txt', 'r') as file:
23
  data_old = file.read()
@@ -26,6 +27,8 @@ value1,value2,value3,value4,value5,value6=data_old.split('SEPERATOR')
26
  def getstuff(openapikey):
27
  dateforfilesave=datetime.today().strftime("%d-%m-%Y")
28
  print(dateforfilesave)
 
 
29
  mainlistofanswers=[]
30
  for each in ['www.mckinsey.com','www.bcg.com','www.bain.com','www.accenture.com']:
31
  print(each)
 
18
  import matplotlib
19
  import datetime
20
  from datetime import datetime, date, time, timedelta
21
+ import os
22
 
23
  with open('lastradartext.txt', 'r') as file:
24
  data_old = file.read()
 
27
  def getstuff(openapikey):
28
  dateforfilesave=datetime.today().strftime("%d-%m-%Y")
29
  print(dateforfilesave)
30
+ os.environ['OPEN_API_KEY'] = str(openapikey)
31
+
32
  mainlistofanswers=[]
33
  for each in ['www.mckinsey.com','www.bcg.com','www.bain.com','www.accenture.com']:
34
  print(each)