I want to write a script that will print to a log file that tells a bunch of things like:
Lines in main script, and then lines in total scripts, main script+includes.
Same thing, but with number of chars.
And then stuff like total vars, total ints, strings, bools, classes, etc.
And a bunch of misc stats like that.
I also want this to work in tandom with the generate_profile function, pasting all the other stats after the info from generate_profile. But, of course, I don't want it to be deleted when generate_profile happens. Any ideas on how to write this? if it's even possible?
“Yes, sir. I am attempting to fill a silent moment with non-relevant conversation.”
“You don’t tell me how to behave; you’re not my mother!”
“Could you please continue the petty bickering? I find it most intriguing.” – Data (Star Trek: The Next Generation)