Hi, i try to parse the binkstats.ini to generate a report
I have two questions:
1) i use iniGetObjet()
example = the_file.iniGetObject("inbound success: 4:902/25@fidonet");
print (example.info.sys) result "info is undefined".
how to get "dotted" keys like, info.sys, info.loc with iniGetObject() function?
2) I found that failed_sent_files key has "[object]" value text instead
of string human readable data like received_files key.
Hi, i try to parse the binkstats.ini to generate a report
I have two questions:
1) i use iniGetObjet()
example = the_file.iniGetObject("inbound success: 4:902/25@fidonet");
print (example.info.sys) result "info is undefined".
how to get "dotted" keys like, info.sys, info.loc with iniGetObject() function?
2) I found that failed_sent_files key has "[object]" value text instead
of string human readable data like received_files key.
[inbound success: 4:902/25@fidonet]
oper = Ragnarok
AKAs = 4:902/25@fidonet
caps = MO,CM,TCP,IFC,TEL,VMP,BND,IBN,BINKD
vers = Argus/3.210/
info.sys = Dock Sud Argus Node 25
info.loc = Sarandi, BsAS, Argentina
info.phn = nt4bbs
info.time = Sat, 20 Jun 2020 05:29:05 -0300
info.freq =
localtime = Jun 20 2020 02:29:05
failed_sent_files = [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object
received_files = /sbbs/temp/0386001A.REQ
Ragnarok wrote:
Hi, i try to parse the binkstats.ini to generate a report
I have two questions:
1) i use iniGetObjet()
example = the_file.iniGetObject("inbound success: 4:902/25@fidonet");
print (example.info.sys) result "info is undefined".
how to get "dotted" keys like, info.sys, info.loc with iniGetObject()
function?
Did you try
["example.info.sys"]
2) I found that failed_sent_files key has "[object]" value text instead
of string human readable data like received_files key.
That's not a question.
Re: iniGetObject dotted keys
By: Ragnarok to DOVE-Net.Synchronet_Discussion on Mon Dec 14 2020 03:14 am
> Hi, i try to parse the binkstats.ini to generate a report
>
> I have two questions:
>
> 1) i use iniGetObjet()
>
> example = the_file.iniGetObject("inbound success: 4:902/25@fidonet");
>
> print (example.info.sys) result "info is undefined".
>
> how to get "dotted" keys like, info.sys, info.loc with iniGetObject()
> function?
example["info.sys"]
Hi, i try to parse the binkstats.ini to generate a report
Re: Re: iniGetObject dotted keys
By: Ragnarok to Digital Man on Mon Dec 14 2020 04:16 pm
> >> Hi, i try to parse the binkstats.ini to generate a report
I hope you share your program once you get it working. I'd like to be able to run stats myself.
failed_sent_files = [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object
Sysop: | Xerxes |
---|---|
Location: | Azle, Texas |
Users: | 131 |
Nodes: | 10 (0 / 10) |
Uptime: | 85:26:11 |
Calls: | 3,189 |
Calls today: | 0 |
Files: | 195 |
U/L today: |
0 files (0K bytes) |
D/L today: |
0 files (0K bytes) |
Messages: | 366,060 |
Posted today: | 0 |