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
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"]
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.
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: | Chris Crash |
---|---|
Location: | Huntington Beach, CA. |
Users: | 578 |
Nodes: | 8 (0 / 8) |
Uptime: | 30:55:47 |
Calls: | 10,736 |
Calls today: | 1 |
Files: | 5 |
Messages: | 443,218 |
Posted today: | 1 |