Question
Write a python parsing script. The output file will look like this: First-line output: 1314-96-1^STRONTIUM SULPHIDE^STRONTIUM SULPHIDE^^ Second-line output: 55-63-0^ANGIBID^ANGININE^ANGIOLINGUAL^ANGORIN^BLASTING GELATIN^BLASTING OIL^Cardabid^CARDAMIST^(Component of) SDM No
Write a python parsing script.
The output file will look like this:
First-line output: 1314-96-1^STRONTIUM SULPHIDE^STRONTIUM SULPHIDE^^
Second-line output: 55-63-0^ANGIBID^ANGININE^ANGIOLINGUAL^ANGORIN^BLASTING GELATIN^BLASTING OIL^Cardabid^CARDAMIST^(Component of) SDM No 17^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^^STRONTIUM MONOSULFIDE[Lewis, R.J., Sr (Ed.). Hawley's Condensed Chemical Dictionary. 12th ed. New York, NY: Van Nostrand Rheinhold Co., 1993, p. 1096] **PEER REVIEWED** ^^STRONTIUM SULPHIDE[Lewis, R.J. Sax's Dangerous Properties of Industrial Materials. 9th ed. Volumes 1-3. New York, NY: Van Nostrand Reinhold, 1996., p. 3024] **PEER REVIEWED** ^^55-63-0^^ANGIBID **PEER REVIEWED** ^^ANGININE **PEER REVIEWED** ^^ANGIOLINGUAL **PEER REVIEWED** ^^ANGORIN **PEER REVIEWED** ^^BLASTING GELATIN **PEER REVIEWED** ^^BLASTING OIL **PEER REVIEWED** ^^Cardabid[American Hospital Formulary Service-Drug Information 88. Bethesda, MD: American Society 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.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started