done_ok
This commit is contained in:
@@ -2,7 +2,7 @@ import csv
|
|||||||
import os
|
import os
|
||||||
import platform
|
import platform
|
||||||
import sys
|
import sys
|
||||||
import pandas as pd
|
|
||||||
|
|
||||||
from discord_webhook import DiscordWebhook
|
from discord_webhook import DiscordWebhook
|
||||||
|
|
||||||
@@ -193,14 +193,8 @@ with open('output_VFGDSP_' + ext_date_from_filaname, 'w', newline='') as csv_fil
|
|||||||
csv_file4.close()
|
csv_file4.close()
|
||||||
|
|
||||||
|
|
||||||
|
with open("output_VFGDSP_202202.csv", "rb") as f:
|
||||||
|
webhook.add_file(file=f.read(), filename='output_VFGDSP_202202.csv')
|
||||||
read_file = pd.read_csv (r'output_VFGDSP_202202.CSV')
|
|
||||||
read_file.to_excel (r'output_VFGDSP_202202.xlsx', index = None, header=True,sheet_name='pocty',)
|
|
||||||
|
|
||||||
|
|
||||||
with open("output_VFGDSP_202202.xlsx", "rb") as f:
|
|
||||||
webhook.add_file(file=f.read(), filename='output_VFGDSP_202202.xlsx')
|
|
||||||
|
|
||||||
response = webhook.execute()
|
response = webhook.execute()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user