Menu

(Solved) : Write Python Parsing Script Output File Look Like First Line Output 1314 96 1 Strontium Su Q44019727 . . .

Write a python parsing script.

The output file will look like this:

First-line output: 1314-96-1^STRONTIUMSULPHIDE^STRONTIUM SULPHIDE^^

Second-line output:55-63-0^ANGIBID^ANGININE^ANGIOLINGUAL^ANGORIN^BLASTINGGELATIN^BLASTING OIL^Cardabid^CARDAMIST^(Component of) SDM No17^Component of) SDM No 37^^

Third-line output: 3691-35-8^Caswell No 211C^Chloorfacinon^2-(2-(4-Chloor-fenyl-2-fenyl)-acetyl)-indaan-1,3-dion^Chlorfacinon^^

The record is below–

1314-96-1^^STRONTIUMMONOSULFIDE[Lewis, R.J., Sr (Ed.). Hawley’s CondensedChemical Dictionary. 12th ed. New York, NY: Van Nostrand RheinholdCo., 1993, p. 1096] **PEER REVIEWED** ^^STRONTIUMSULPHIDE[Lewis, R.J. Sax’s Dangerous Properties ofIndustrial Materials. 9th ed. Volumes 1-3. New York, NY: VanNostrand Reinhold, 1996., p. 3024] **PEER REVIEWED**^^55-63-0^^ANGIBID **PEERREVIEWED** ^^ANGININE **PEER REVIEWED**^^ANGIOLINGUAL **PEER REVIEWED**^^ANGORIN **PEER REVIEWED** ^^BLASTINGGELATIN **PEER REVIEWED** ^^BLASTING OIL**PEER REVIEWED** ^^Cardabid[American HospitalFormulary Service-Drug Information 88. Bethesda, MD: AmericanSociety of Hospital Pharmacists, 1988 (Plus supplements)., p. 958]**PEER REVIEWED** ^^CARDAMIST **PEER REVIEWED**^^(Component of) SDM No 17 **PEER REVIEWED**^^(Component of) SDM No 37 **PEER REVIEWED**

^3691-35-8^^Caswell No 211C **PEER REVIEWED** ^^Chloorfacinon (Dutch)[Lewis, R.J. Sr. (ed) Sax’s Dangerous Properties of Industrial Materials. 11th Edition. Wiley-Interscience, Wiley & Sons, Inc. Hoboken, NJ. 2004., p. 857] **PEER REVIEWED** ^^2-(2-(4-Chloor-fenyl-2-fenyl)-acetyl)-indaan-1,3-dion (Dutch)[Lewis, R.J. Sr. (ed) Sax’s Dangerous Properties of Industrial Materials. 11th Edition. Wiley-Interscience, Wiley & Sons, Inc. Hoboken, NJ. 2004., p. 857] **PEER REVIEWED** ^^Chlorfacinon (German)[Lewis, R.J. Sr. (ed) Sax’s Dangerous Properties of Industrial Materials. 11th Edition. Wiley-Interscience, Wiley & Sons, Inc. Hoboken, NJ. 2004.

Expert Answer


Answer to Write a python parsing script. The output file will look like this: First-line output: 1314-96-1^STRONTIUM SULPHIDE^STRO…

OR