Just a version number raised
This commit is contained in:
23
main.py
23
main.py
@@ -18,10 +18,19 @@ import cnb_exchange_rate
|
|||||||
from tktooltip import ToolTip
|
from tktooltip import ToolTip
|
||||||
|
|
||||||
|
|
||||||
ver = "0.4.9"
|
ver = "0.5.2"
|
||||||
|
|
||||||
outvar = {}
|
outvar = {}
|
||||||
|
|
||||||
|
def convertExcelToCSV():
|
||||||
|
print("Converting Excel to CSV")
|
||||||
|
files = glob.glob("*.xlsx")
|
||||||
|
for f in files:
|
||||||
|
print(f)
|
||||||
|
df = pd.read_excel(f)
|
||||||
|
df.to_csv(f.replace(".xlsx", ".csv"), index=False)
|
||||||
|
os.remove(f)
|
||||||
|
print("Done")
|
||||||
|
|
||||||
def getCNBRates():
|
def getCNBRates():
|
||||||
current_month = datetime.now().strftime('%m')
|
current_month = datetime.now().strftime('%m')
|
||||||
@@ -272,6 +281,7 @@ def pairBis():
|
|||||||
print("MSISDN: ", MSISDN)
|
print("MSISDN: ", MSISDN)
|
||||||
|
|
||||||
IMSI = completepairing[MSISDN]['IMSI']
|
IMSI = completepairing[MSISDN]['IMSI']
|
||||||
|
ICCID = completepairing[MSISDN]['ICCID']
|
||||||
DATAPRICE = completepairing[MSISDN]['DATA-PRICE']
|
DATAPRICE = completepairing[MSISDN]['DATA-PRICE']
|
||||||
DATAAMOUNT = completepairing[MSISDN]['DATA-AMOUNT']
|
DATAAMOUNT = completepairing[MSISDN]['DATA-AMOUNT']
|
||||||
SMSPRICE = completepairing[MSISDN]['SMS-PRICE']
|
SMSPRICE = completepairing[MSISDN]['SMS-PRICE']
|
||||||
@@ -337,6 +347,7 @@ def merge():
|
|||||||
# tmcz_convertids
|
# tmcz_convertids
|
||||||
convert_tmcz = {}
|
convert_tmcz = {}
|
||||||
|
|
||||||
|
|
||||||
with open('./help_files/TMCZ_IMSI.csv', 'r') as file:
|
with open('./help_files/TMCZ_IMSI.csv', 'r') as file:
|
||||||
reader =csv.DictReader(file, delimiter=';')
|
reader =csv.DictReader(file, delimiter=';')
|
||||||
for row in reader:
|
for row in reader:
|
||||||
@@ -979,11 +990,11 @@ root.config(menu=menubar)
|
|||||||
|
|
||||||
|
|
||||||
b1.place(x=450, y=60)
|
b1.place(x=450, y=60)
|
||||||
b2.place(x=450, y=90)
|
b2.place(x=450, y=120)
|
||||||
b3.place(x=450, y=120)
|
b3.place(x=450, y=150)
|
||||||
b4.place(x=450, y=150)
|
b4.place(x=450, y=90)
|
||||||
buttonnewwindow.place(x=450, y=180)
|
buttonnewwindow.place(x=450, y=210)
|
||||||
pairbis.place(x=450, y=210)
|
pairbis.place(x=450, y=180)
|
||||||
|
|
||||||
versionlabel = tk.Label(root,text=ver)
|
versionlabel = tk.Label(root,text=ver)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user