Compare commits
2 Commits
4ef0291dbd
...
e82354b3ab
| Author | SHA1 | Date | |
|---|---|---|---|
| e82354b3ab | |||
| 0ce38b22fd |
@@ -155,7 +155,7 @@ print("Count of units: ", len(dictionary.keys()))
|
||||
with open('output_VFCZ_'+ext_date_from_filaname, 'w') as f:
|
||||
|
||||
writer = csv.writer(f)
|
||||
writer.writerow(["MSISDN","ICCID","IMSI","DATA-PRICE","DATA-AMOUNT","SMS-PRICE","SMS-COUNT","OTHER-PRICE","SIM-STATUS"])
|
||||
writer.writerow(["MSISDN","ICCID","IMSI","DATA-PRICE","DATA-AMOUNT","SMS-PRICE","SMS-COUNT","OTHER-PRICE","SIM-STATUS","OPERATOR"])
|
||||
for key in dictionary.keys():
|
||||
print(key)
|
||||
print(dictionary[key])
|
||||
@@ -167,7 +167,7 @@ with open('output_VFCZ_'+ext_date_from_filaname, 'w') as f:
|
||||
|
||||
|
||||
|
||||
writer.writerow([key, "N/A", "N/A", round(float(data)), round(float(dataamount), 2), sms, smscount, other, "N/A"])
|
||||
writer.writerow([key, "N/A", "N/A", round(float(data)), round(float(dataamount), 2), sms, smscount, other, "N/A", "VFCZ"])
|
||||
|
||||
|
||||
with open('output_VFCZ_'+ext_date_from_filaname, "rb") as f:
|
||||
|
||||
Reference in New Issue
Block a user