Scripting - parse file

Test jython

Other than removing asterisks - * - could you specify what the requirements are -- just a bit more in detail.

I am sure the "informative" comments about libraries and objects might occur in other incarnations. You have 5 types listed.

Test python

Repeating your desired output one to one without giving more details nor answers to the questions posed doesn't really help and leaves volunteers guessing. You need to help people help you.

Why should anyone care more about your problem than you do?

Any attempts / ideas / thoughts from your side?